Skip to content

@sourceloop/ctrl-plane-subscription-service / Exports / SubscriptionServiceComponent

Class: SubscriptionServiceComponent

Implements

  • Component

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SubscriptionServiceComponent(application, subscriptionConfig?)

Parameters

Name Type
application RestApplication
subscriptionConfig? ISubscriptionServiceConfig

Defined in

services/subscription-service/src/component.ts:69

Properties

application

Private Readonly application: RestApplication

Defined in

services/subscription-service/src/component.ts:71


bindings

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

Implementation of

Component.bindings

Defined in

services/subscription-service/src/component.ts:141


controllers

Optional controllers: ControllerClass<any>[]

An array of controller classes

Implementation of

Component.controllers

Defined in

services/subscription-service/src/component.ts:160


models

Optional models: Class<Model>[]

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

Defined in

services/subscription-service/src/component.ts:155


providers

Optional providers: ProviderMap = {}

Implementation of

Component.providers

Defined in

services/subscription-service/src/component.ts:139


repositories

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

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

Defined in

services/subscription-service/src/component.ts:149


services

Optional services: ServiceOrProviderClass<any>[]

Implementation of

Component.services

Defined in

services/subscription-service/src/component.ts:143


subscriptionConfig

Private Optional Readonly subscriptionConfig: ISubscriptionServiceConfig

Defined in

services/subscription-service/src/component.ts:73

Methods

setupSequence

setupSequence(): void

Setup ServiceSequence by default if no other sequnce provided

Returns

void

Defined in

services/subscription-service/src/component.ts:166