Skip to main content

SchemaRegister

@rotorsoft/act-root


@rotorsoft/act-root / act/src / SchemaRegister

Type Alias: SchemaRegister<TSchemaReg>

SchemaRegister<TSchemaReg> = { [TKey in keyof TSchemaReg]: Schema }

Defined in: libs/act/src/types/registry.ts:44

Type-level constraint: every key in the action map must point at a Zod schema. Used as a constraint on the registry's action half so downstream types can infer payloads safely.

Type Parameters

TSchemaReg

TSchemaReg

Schema register for actions