Function: CrudCreateOne()
CrudCreateOne(
options): <TFunction,Y>(target,propertyKey?,descriptor?) =>void
CRUD Create One route decorator
Parameters
| Parameter | Type | 
|---|---|
| options | CrudCreateOneOptionsInterface | 
Returns
Function
Type Parameters
| Type Parameter | 
|---|
| TFunctionextendsFunction | 
| Y | 
Parameters
| Parameter | Type | 
|---|---|
| target | object|TFunction | 
| propertyKey? | string|symbol | 
| descriptor? | TypedPropertyDescriptor<Y> | 
Returns
void
Defined in
packages/nestjs-crud/src/decorators/actions/crud-create-one.decorator.ts:14 (opens in a new tab)