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