zibri
    Preparing search index...

    Class GlobalRegistryAbstract

    A registry for handling global state.

    Index

    Constructors

    Properties

    bodyParsers: Newable<BodyParserInterface>[] = []

    All body parsers registered with @BodyParser.

    controllerClasses: Newable<unknown>[] = []

    All controllers registered with @Controller.

    dataSourceClasses: Newable<BaseDataSource>[] = []

    All datasources registered with @DataSource.

    entityClasses: Newable<BaseEntity>[] = []

    All entities registered with @Entity.

    injectables: DiProvider<unknown>[] = []

    All injectables registered eg. Via @Injectable.

    userRepositories: UserRepositories = []

    All user repositories registered with @UserRepo.

    Methods

    • Checks if the app is created.

      Returns boolean

      True when the app has the state of created, false otherwise.

    • Checks if the app is initialized.

      Returns boolean

      True when the app has the state of initialized, false otherwise.

    • Checks if the app is running.

      Returns boolean

      True when the app has the state of running, false otherwise.