@sourceloop/core / Exports / CoreComponent
Class: CoreComponent¶
Implements¶
Component
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new CoreComponent(application
, coreConfig
, expressMiddlewares
)
Parameters¶
Name | Type |
---|---|
application |
RestApplication |
coreConfig |
CoreConfig |
expressMiddlewares |
ExpressRequestHandler [] |
Defined in¶
packages/core/src/component.ts:30
Properties¶
application¶
• Private
Readonly
application: RestApplication
Defined in¶
packages/core/src/component.ts:32
bindings¶
• bindings: Binding
<any
>[] = []
Implementation of¶
Component.bindings
Defined in¶
packages/core/src/component.ts:143
coreConfig¶
• Private
Readonly
coreConfig: CoreConfig
Defined in¶
packages/core/src/component.ts:34
expressMiddlewares¶
• Private
Readonly
expressMiddlewares: ExpressRequestHandler
[]
Defined in¶
packages/core/src/component.ts:36
localeObj¶
• localeObj: i18nAPI
Defined in¶
packages/core/src/component.ts:139
providers¶
• Optional
providers: ProviderMap
= {}
Implementation of¶
Component.providers
Defined in¶
packages/core/src/component.ts:141
Methods¶
_setupSwaggerStats¶
▸ Private
_setupSwaggerStats(): undefined
| ExpressRequestHandler
Returns¶
undefined
| ExpressRequestHandler