Function: CrudAction()
CrudAction(
action
): <TFunction
,Y
>(target
,propertyKey
?,descriptor
?) =>void
CRUD action route decorator
Parameters
Parameter | Type |
---|---|
action | CrudActions |
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/routes/crud-action.decorator.ts:9 (opens in a new tab)