Page Contents
Home > @loopback/rest-crud > CrudRestController
CrudRestController interface
This interface describes prototype members of the controller class returned by defineCrudRestController.
Signature:
export interface CrudRestController<T extends Entity, IdType, IdName extends keyof T, Relations extends object = {}>
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
|
EntityCrudRepository<T, IdType> |
The backing repository used to access & modify model data. |
Methods
| Method | Description |
|---|---|
|
Implementation of the endpoint |