API Reference
Rockets Core API
nestjs-crud
functions
CrudAction

Function: CrudAction()

CrudAction(action): <TFunction, Y>(target, propertyKey?, descriptor?) => void

CRUD action route decorator

Parameters

ParameterType
actionCrudActions

Returns

Function

Type Parameters

Type Parameter
TFunction extends Function
Y

Parameters

ParameterType
targetobject | 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)