API reference / @evolu/common / Type / StandardSchemaV1 / Props
Interface: Props<Input, Output>
Defined in: packages/common/src/Type.ts:4222
The Standard Schema properties interface.
Type Parameters
| Type Parameter | Default type |
|---|---|
Input | unknown |
Output | Input |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
types? | readonly | Types<Input, Output> | Inferred types associated with the schema. | packages/common/src/Type.ts:4232 |
validate | readonly | (value) => | Result<Output> | Promise<Result<Output>> | Validates unknown input values. | packages/common/src/Type.ts:4228 |
vendor | readonly | string | The vendor name of the schema library. | packages/common/src/Type.ts:4226 |
version | readonly | 1 | The version number of the standard. | packages/common/src/Type.ts:4224 |