Home > @johndavisdev/discord-emcee > sb > MCSchema
Signature:
declare class MCSchema<TShape extends MCRawShape> extends Schema<TShape, TShape, MCStateDefinition<MCRawShape>>
Extends: Schema<TShape, TShape, MCStateDefinition<MCRawShape>>
Property | Modifiers | Type | Description |
---|---|---|---|
toStateDefinition | () => MCStateDefinition<MCRawShape> | ||
validator | (validator: SchemaValidator<ObjectOutput<TShape>>) => this |
Method | Modifiers | Description |
---|---|---|
setCustomStateFactory(schema, customStateFactory) | static |