OCA_Backend/api/node_modules/sequelize/dist/lib/instance-validator.d.ts

13 lines
330 B
TypeScript
Raw Normal View History

2022-01-22 13:36:44 +00:00
import { Hookable } from "./model";
export interface ValidationOptions extends Hookable {
/**
* 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[];
}