payload
Version:
Node, React and MongoDB Headless CMS and Application Framework
7 lines • 468 B
TypeScript
import type { NextFunction, Request, Response } from 'express';
import type { Collection } from './config/types';
declare const bindCollectionMiddleware: (collection: Collection) => (req: Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>> & {
collection: Collection;
}, res: Response, next: NextFunction) => void;
export default bindCollectionMiddleware;
//# sourceMappingURL=bindCollection.d.ts.map