(instance: M, options: ValidationOptions)
| 25 | */ |
| 26 | export interface ModelHooks<M extends Model = Model, TAttributes = any> { |
| 27 | beforeValidate(instance: M, options: ValidationOptions): HookReturn; |
| 28 | afterValidate(instance: M, options: ValidationOptions): HookReturn; |
| 29 | beforeCreate(attributes: M, options: CreateOptions<TAttributes>): HookReturn; |
| 30 | afterCreate(attributes: M, options: CreateOptions<TAttributes>): HookReturn; |
no outgoing calls
no test coverage detected