UNPKG

mongodb-dynamic-api

Version:

Auto generated CRUD API for MongoDB using NestJS

7 lines (6 loc) 560 B
import { Type } from '@nestjs/common'; import { DynamicApiControllerOptions, DynamicAPIRouteConfig } from '../../interfaces'; import { BaseEntity } from '../../models'; import { ReplaceOneGatewayConstructor } from './replace-one-gateway.interface'; declare function ReplaceOneGatewayMixin<Entity extends BaseEntity>(entity: Type<Entity>, controllerOptions: DynamicApiControllerOptions<Entity>, { dTOs, useInterceptors, ...routeConfig }: DynamicAPIRouteConfig<Entity>, version?: string): ReplaceOneGatewayConstructor<Entity>; export { ReplaceOneGatewayMixin };