UNPKG

@nestjsx/crud

Version:

NestJs CRUD for RESTful APIs

13 lines (12 loc) 360 B
import { SwaggerEnumType } from '@nestjs/swagger/dist/types/swagger-enum.type'; import { ParamOptionType } from '@nestjsx/crud-request'; export interface ParamsOptions { [key: string]: ParamOption; } export interface ParamOption { field?: string; type?: ParamOptionType; enum?: SwaggerEnumType; primary?: boolean; disabled?: boolean; }