@vttforge/core / PayloadSchema
Type Alias: PayloadSchema<S> ​
PayloadSchema<
S> = () =>S
A schema, as a function: fields() reads a global that has to exist first.
Type Parameters ​
S ​
S extends Record<string, FieldInstance> = Record<string, FieldInstance>
Returns ​
S