@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
15 lines (14 loc) • 1.04 kB
TypeScript
import { IApiBaseEntity } from '../../../interface/api-base-entity.interface';
import { IApiControllerIdentityPlan } from '../../../interface/class/api/controller/identity-plan.interface';
import { IApiControllerReadPlan } from '../../../interface/class/api/controller/read';
import { IApiEntity } from '../../../interface/entity';
import { Type } from '@nestjs/common';
import { TApiControllerPropertiesRoute } from '../../../type/decorator/api/controller';
import { EApiRouteType } from '../../../enum/decorator/api';
export declare class ApiControllerIdentityPlanCompiler {
static compile<E extends IApiBaseEntity, R extends EApiRouteType>(controller: Type<unknown>, controllerPath: string | undefined, entityMetadata: IApiEntity<E>, method: R, routeConfig: TApiControllerPropertiesRoute<E, R>, readPlan?: IApiControllerReadPlan): IApiControllerIdentityPlan | undefined;
private static collectPathParameters;
private static extractPathParameters;
private static readParameter;
private static readTopLevelIdentity;
}