Skip to content

Create Validator

Allows to run any of your POST custom validators with the Codedraw Generic implementation template.

typescript
export declare const CreateValidatorMiddleware: (context: Context<{
    Bindings: Env;
    Variables: Variables;
}>, next: Function) => Promise<any>;