Skip to content

@sourceloop/feature-toggle-service / Exports / FeatureToggleServiceComponent

Class: FeatureToggleServiceComponent

Implements

  • Component

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new FeatureToggleServiceComponent(application, config?)

Parameters

Name Type
application RestApplication
config? IToggleServiceConfig

Defined in

services/feature-toggle-service/src/component.ts:44

Properties

application

Private Readonly application: RestApplication

Defined in

services/feature-toggle-service/src/component.ts:46


bindings

Optional bindings: Binding<any>[] = []

Implementation of

Component.bindings

Defined in

services/feature-toggle-service/src/component.ts:88


config

Private Optional Readonly config: IToggleServiceConfig

Defined in

services/feature-toggle-service/src/component.ts:48


controllers

Optional controllers: ControllerClass<any>[]

An array of controller classes

Implementation of

Component.controllers

Defined in

services/feature-toggle-service/src/component.ts:104


models

Optional models: Class<Model>[]

An optional list of Model classes to bind for dependency injection via app.model() API.

Defined in

services/feature-toggle-service/src/component.ts:99


providers

Optional providers: ProviderMap = {}

Implementation of

Component.providers

Defined in

services/feature-toggle-service/src/component.ts:86


repositories

Optional repositories: Class<Repository<Model>>[]

An optional list of Repository classes to bind for dependency injection via app.repository() API.

Defined in

services/feature-toggle-service/src/component.ts:93

Methods

setupSequence

setupSequence(): void

Returns

void

Defined in

services/feature-toggle-service/src/component.ts:105