Skip to content

ApiContractSchemaBuilders

The schema builders of this module with the Standard Schema vendor already bound, as createApiContractSchemaBuilders returns them.

Import:

import type { ApiContractSchemaBuilders } from '@mnaoumov/typescript-lib/api-contract';

Signature:

export interface ApiContractSchemaBuilders

Properties

PropertyTypeDescription
createArgumentsSchema<const TParameters extends readonly unknown[]>(
parameters: ArgumentTypeGuards<TParameters>
) => StandardSchemaV1<unknown, MutableTuple<TParameters>>
createArgumentsSchema, reporting the bound vendor.
createTypeGuardSchema<T>(guard: ExpectedTypeGuard<T>) => StandardSchemaV1<unknown, T>createTypeGuardSchema, reporting the bound vendor.

Links to this page: