Page Contents

Home > @loopback/rest-crud > CrudRestControllerCtor

CrudRestControllerCtor interface

Constructor of the controller class returned by defineCrudRestController.

Signature:

export interface CrudRestControllerCtor<T extends Entity, IdType, IdName extends keyof T, Relations extends object = {}> 

Methods

Method Description
(new)(repository)