mongodb-dynamic-api
Version:
Auto generated CRUD API for MongoDB using NestJS
5 lines (4 loc) • 395 B
TypeScript
import { DynamicApiDecoratorBuilder } from '../interfaces';
import { BaseEntity } from '../models';
declare function RouteDecoratorsHelper<Entity extends BaseEntity>(routeDecorators: DynamicApiDecoratorBuilder<Entity>): <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void;
export { RouteDecoratorsHelper };