Function: CrudModel()
CrudModel(
options
):CustomDecorator
<string
>
CRUD Model route decorator.
Set the CRUD model, or override the model set by the @CrudController
decorator.
Parameters
Parameter | Type |
---|---|
options | CrudModelOptionsInterface |
Returns
CustomDecorator
<string
>
Defined in
packages/nestjs-crud/src/decorators/routes/crud-model.decorator.ts:10 (opens in a new tab)