Home > vae > VaeSchemaOptions
Signature:
export declare type VaeSchemaOptions<T, S> = {
type: VaeSchemaType;
label?: string;
default?: T | (() => T);
required?: boolean;
requiredMessage?: VaeLocaleMessage;
objectKeys?: string[];
stringTrim?: boolean;
stringEmptyable?: boolean;
processors?: Array<VaeSchemaCheckPayload<T> | VaeSchemaTransformPayload<T>>;
runtime?: VaeSchemaRuntimeFn<T, S>;
metadata?: VaeSchemaMetadata;
};
References: VaeSchemaType, VaeLocaleMessage, VaeSchemaCheckPayload, VaeSchemaTransformPayload, VaeSchemaRuntimeFn, VaeSchemaMetadata