@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) • 377 B
JavaScript
import { applyDecorators as d } from "@nestjs/common";
import { UseMiddleware as u } from "./use-middleware.decorator.js";
const e = (t) => {
const o = u((r) => {
const c = t(r);
r.crudCtx || (r.crudCtx = {}), r.crudCtx = {
...r.crudCtx,
...c
};
});
return d(o);
};
export {
e as UseCrudCtx
};
//# sourceMappingURL=use-crud-ctx.decorator.js.map