Function: CrudController()
CrudController(
options
): <TFunction
,Y
>(target
,propertyKey
?,descriptor
?) =>void
CRUD controller decorator
This decorator is a helper for calling the most common controller level decorators.
Parameters
Parameter | Type |
---|---|
options | CrudControllerOptionsInterface |
Returns
Function
Type Parameters
Type Parameter |
---|
TFunction extends Function |
Y |
Parameters
Parameter | Type |
---|---|
target | object | TFunction |
propertyKey ? | string | symbol |
descriptor ? | TypedPropertyDescriptor <Y > |
Returns
void
Defined in
packages/nestjs-crud/src/decorators/controller/crud-controller.decorator.ts:20 (opens in a new tab)