mongodb-dynamic-api
Version:
Auto generated CRUD API for MongoDB using NestJS
7 lines (6 loc) • 575 B
TypeScript
import { Type } from '@nestjs/common';
import { DynamicApiControllerOptions, DynamicAPIRouteConfig } from '../../interfaces';
import { BaseEntity } from '../../models';
import { ReplaceOneControllerConstructor } from './replace-one-controller.interface';
declare function ReplaceOneControllerMixin<Entity extends BaseEntity>(entity: Type<Entity>, controllerOptions: DynamicApiControllerOptions<Entity>, { dTOs, useInterceptors, ...routeConfig }: DynamicAPIRouteConfig<Entity>, version?: string): ReplaceOneControllerConstructor<Entity>;
export { ReplaceOneControllerMixin };