@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:58
Properties¶
application¶
• Private
Readonly
application: RestApplication
Defined in¶
services/chat-service/src/component.ts:60
bindings¶
• Optional
bindings: Binding
<any
>[] = []
Implementation of¶
Component.bindings
Defined in¶
services/chat-service/src/component.ts:119
chatConfig¶
• Private
Optional
Readonly
chatConfig: IChatServiceConfig
Defined in¶
services/chat-service/src/component.ts:62
controllers¶
• Optional
controllers: ControllerClass
<any
>[]
An array of controller classes
Implementation of¶
Component.controllers
Defined in¶
services/chat-service/src/component.ts:136
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:131
providers¶
• Optional
providers: ProviderMap
= {}
Implementation of¶
Component.providers
Defined in¶
services/chat-service/src/component.ts:118
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:125
Methods¶
setupSequence¶
▸ setupSequence(): void
Setup ServiceSequence by default if no other sequnce provided
Returns¶
void