API reference › @evolu/common › Type › StandardSchemaV1 › Props
Defined in: packages/common/src/Type.ts:4884
The Standard Schema properties interface.
Properties
types?
readonly optional types?: Types<Input, Output>;
Defined in: packages/common/src/Type.ts:4894
Inferred types associated with the schema.
validate
readonly validate: (value: unknown) =>
| Result<Output>
| Promise<Result<Output>>;
Defined in: packages/common/src/Type.ts:4890
Validates unknown input values.
vendor
readonly vendor: string;
Defined in: packages/common/src/Type.ts:4888
The vendor name of the schema library.
version
readonly version: 1;
Defined in: packages/common/src/Type.ts:4886
The version number of the standard.