Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Protected baseUrl

baseUrl: string

Protected express

express: Express.Application

Protected modelInstances

modelInstances: BaseModel<any>[]

Protected protonApplication

protonApplication: ProtonApplication

Protected routeConfgs

routeConfgs: RouteConfig[]

Protected router

router: Express.Router

Protected routerMiddlewares

routerMiddlewares: ProtonMiddleware[]

Methods

addRouteConfig

create

customRouter

destroy

findAll

findOne

getBaseUrl

  • getBaseUrl(): string

getModel

  • getModel<T>(modelName: string): T

getModelInstances

getRouteConfigs

getRouter

  • getRouter(): Express.Router

getRouterMiddlewares

init

routeDelete

routeHead

routeList

routeOptions

routePatch

routePost

routePut

routeTest

sendErrorMessage

  • sendErrorMessage(res: any, error: any): void

update

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc