Class ModelsRepository

Creates a central Models repository, with provided Models, in order to be used inside other admin management Components.

The Models Repository is used to register and process all needed models and their relationships. Using a central repository, we can delegate to a second moment the process of binding relationships.

Hierarchy

  • ModelsRepository

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

lookup

lookup: object

Type declaration

Methods

find

  • find(modelName: string): object & Model

prepareModels

Protected register

  • register(modelName: string, modelClass: any): void

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