UNPKG

gypsum

Version:

Simple and easy lightweight typescript server side framework on Node.js.

4 lines (3 loc) 244 B
import { Context } from '../context'; import { MongoModel } from '../models'; export declare const hooks: (((ctx: Context, model: MongoModel, field: string) => void) | ((ctx: Context, fields: string | string[], source?: string) => void))[];