@opengis/fastify-table
Version:
core-plugins
39 lines • 1.29 kB
TypeScript
export declare function onListen1(): Promise<void>;
export declare function onListen2(): Promise<void>;
export declare function preTemplate({ name, type, user, }: {
name?: string;
type?: string;
user: Record<string, any>;
}): Promise<{
name: any;
} | undefined>;
export declare function preForm({ form, user }: {
form: string;
user: any;
}): Promise<any>;
export declare function afterTable({ table, res, payload: rows, user, }: {
table: string;
res: Record<string, any>;
payload: any[];
user: Record<string, any>;
}): Promise<void>;
export declare function afterTemplate({ name, type, payload: data, user, }: {
name?: string;
type: string;
payload: Record<string, any>;
user?: Record<string, any>;
}): Promise<null | undefined>;
export declare function afterUpdate({ table, body, payload: res, user, }: {
table: string;
body: Record<string, any>;
payload: Record<string, any>;
user: Record<string, any>;
}): Promise<any>;
export declare function afterInsert({ table, body, payload: res, user, }: {
table: string;
body: Record<string, any>;
payload: Record<string, any>;
user: Record<string, any>;
}): Promise<any>;
export declare function onReady(): Promise<void>;
//# sourceMappingURL=functions.d.ts.map