Skip to main content

StateSchemas

@rotorsoft/act-root


@rotorsoft/act-root / act/src / StateSchemas

Type Alias: StateSchemas<S, E, A>

StateSchemas<S, E, A> = object

Defined in: libs/act/src/types/action.ts:132

Bundles the Zod types for state, events, and actions.

Type Parameters

S

S extends Schema

State schema.

E

E extends Schemas

Event schemas.

A

A extends Schemas

Action schemas.

Properties

actions

readonly actions: ZodTypes<A>

Defined in: libs/act/src/types/action.ts:138


events

readonly events: ZodTypes<E>

Defined in: libs/act/src/types/action.ts:137


state

readonly state: ZodType<S>

Defined in: libs/act/src/types/action.ts:139