Skip to content

index.StandardSchemaV1.Interface.Props

github-actions[bot] edited this page Nov 30, 2026 · 10 revisions

Interface: Props<Input, Output>

Defined in: packages/graphql-casl/src/validateArgs.ts:34

The Standard Schema properties interface.

Type Parameters

Input

Input = unknown

Output

Output = Input

Properties

types?

readonly optional types?: Types<Input, Output>;

Defined in: packages/graphql-casl/src/validateArgs.ts:42

Inferred types associated with the schema.


validate

readonly validate: (value) => 
  | Result<Output>
| Promise<Result<Output>>;

Defined in: packages/graphql-casl/src/validateArgs.ts:40

Validates unknown input values.

Parameters

value

unknown

Returns

| Result<Output> | Promise<Result<Output>>


vendor

readonly vendor: string;

Defined in: packages/graphql-casl/src/validateArgs.ts:38

The vendor name of the schema library.


version

readonly version: 1;

Defined in: packages/graphql-casl/src/validateArgs.ts:36

The version number of the standard.

API Reference

Clone this wiki locally