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