UNPKG

@mee4dy/crud

Version:

Create a backend and frontend in 5 minutes! With our powerful full stack crud system, customize it to suit you.

17 lines (16 loc) 395 B
import { applyDecorators as d } from "@nestjs/common"; import { UseMiddleware as a } from "./use-middleware.decorator.js"; const s = (o) => { const t = a((r) => { const c = o(r); r.crudCtx || (r.crudCtx = {}), r.crudCtx.params = { ...r.crudCtx.params, ...c }; }); return d(t); }; export { s as UseCrudScope }; //# sourceMappingURL=use-crud-scope.decorator.js.map