sequelize
Version:
Multi dialect ORM for Node.JS
16 lines (15 loc) • 369 B
TypeScript
export interface ValidationOptions {
/**
* An array of strings. All properties that are in this array will not be validated
*/
skip?: string[];
/**
* An array of strings. Only the properties that are in this array will be validated
*/
fields?: string[];
/**
* Run before and after validate hooks.
* @default true.
*/
hooks?: boolean;
}