vtils

Home > vae > VaeSchemaCheckPayload

VaeSchemaCheckPayload type

Signature:

export declare type VaeSchemaCheckPayload<T> = {
    fn: ((value: T) => boolean | void) | VaeSchema;
    message: VaeLocaleMessage;
    messageParams?: Record<string, any>;
    path?: VaeSchemaPath;
    tag?: string;
};

References: VaeSchema, VaeLocaleMessage, VaeSchemaPath