@sourceloop/chat-service / Exports / ChatServiceComponent
Class: ChatServiceComponent¶
Implements¶
Component
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new ChatServiceComponent(application, chatConfig?)
Parameters¶
| Name | Type |
|---|---|
application |
RestApplication |
chatConfig? |
IChatServiceConfig |
Defined in¶
services/chat-service/src/component.ts:59
Properties¶
application¶
• Private Readonly application: RestApplication
Defined in¶
services/chat-service/src/component.ts:61
bindings¶
• Optional bindings: Binding<any>[] = []
Implementation of¶
Component.bindings
Defined in¶
services/chat-service/src/component.ts:122
chatConfig¶
• Private Optional Readonly chatConfig: IChatServiceConfig
Defined in¶
services/chat-service/src/component.ts:63
controllers¶
• Optional controllers: ControllerClass<any>[]
An array of controller classes
Implementation of¶
Component.controllers
Defined in¶
services/chat-service/src/component.ts:139
models¶
• Optional models: Class<Model>[]
An optional list of Model classes to bind for dependency injection
via app.model() API.
Defined in¶
services/chat-service/src/component.ts:134
providers¶
• Optional providers: ProviderMap = {}
Implementation of¶
Component.providers
Defined in¶
services/chat-service/src/component.ts:121
repositories¶
• Optional repositories: Class<Repository<Model>>[]
An optional list of Repository classes to bind for dependency injection
via app.repository() API.
Defined in¶
services/chat-service/src/component.ts:128
Methods¶
setupSequence¶
▸ setupSequence(): void
Setup ServiceSequence by default if no other sequnce provided
Returns¶
void