Page Contents

Home > @loopback/rest-crud

rest-crud package

@loopback/rest-crud

Classes

Class Description
CrudRestApiBuilder  
CrudRestComponent  

Functions

Function Description
defineCrudRepositoryClass(entityClass) Create (define) a repository class for the given model.
defineCrudRestController(modelCtor, options) Create (define) a CRUD Controller class for the given model.

Interfaces

Interface Description
CrudRestController This interface describes prototype members of the controller class returned by defineCrudRestController.
CrudRestControllerCtor Constructor of the controller class returned by defineCrudRestController.
CrudRestControllerOptions Options to configure different aspects of a CRUD REST Controller.
ModelCrudRestApiConfig  
RepositoryClass