@sourceloop/survey-service / Exports / SurveyServiceComponent
Class: SurveyServiceComponent¶
Implements¶
Component
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new SurveyServiceComponent(application
, surveyConfig?
)
Parameters¶
Name | Type |
---|---|
application |
RestApplication |
surveyConfig? |
ISurveyServiceConfig |
Defined in¶
services/survey-service/src/component.ts:99
Properties¶
application¶
• Readonly
application: RestApplication
Defined in¶
services/survey-service/src/component.ts:101
bindings¶
• Optional
bindings: Binding
<any
>[] = []
Implementation of¶
Component.bindings
Defined in¶
services/survey-service/src/component.ts:206
controllers¶
• Optional
controllers: ControllerClass
<any
>[]
An array of controller classes
Implementation of¶
Component.controllers
Defined in¶
services/survey-service/src/component.ts:224
models¶
• Optional
models: Class
<Model
>[]
An optional list of Model classes to bind for dependency injection
via app.model()
API.
Defined in¶
services/survey-service/src/component.ts:219
providers¶
• Optional
providers: ProviderMap
= {}
Implementation of¶
Component.providers
Defined in¶
services/survey-service/src/component.ts:205
repositories¶
• Optional
repositories: Class
<Repository
<Model
>>[]
An optional list of Repository classes to bind for dependency injection
via app.repository()
API.
Defined in¶
services/survey-service/src/component.ts:212
services¶
• Optional
services: ServiceOrProviderClass
<any
>[]
Implementation of¶
Component.services
Defined in¶
services/survey-service/src/component.ts:213
surveyConfig¶
• Optional
Readonly
surveyConfig: ISurveyServiceConfig
Defined in¶
services/survey-service/src/component.ts:103
Methods¶
setupSequence¶
▸ setupSequence(): void
Setup ServiceSequence by default if no other sequnce provided
Returns¶
void