API reference › @evolu/common › StandardSchema › StandardSchemaV1 › Props
Defined in: packages/common/src/StandardSchema.ts:84
The Standard Schema properties interface.
Extends
Props<Input,Output>
Properties
types?
readonly optional types?: Types<Input, Output>;
Defined in: packages/common/src/StandardSchema.ts:54
Inferred types associated with the schema.
Inherited from
validate
readonly validate: (value: unknown, options?: Options) =>
| Result<Output>
| Promise<Result<Output>>;
Defined in: packages/common/src/StandardSchema.ts:89
Validates unknown input values.
vendor
readonly vendor: string;
Defined in: packages/common/src/StandardSchema.ts:52
The vendor name of the schema library.
Inherited from
version
readonly version: 1;
Defined in: packages/common/src/StandardSchema.ts:50
The version number of the standard.