Interface: Config
Configuration object with additional methods for configuration, includes yaml and internal medatada.
Interface
Config
Hierarchy
Omit
<ConfigYaml
,"packages"
|"security"
|"configPath"
>↳
Config
Indexable
▪ [key: string
]: any
Properties
_debug
• Optional
_debug: boolean
Inherited from
Omit._debug
Defined in
packages/core/types/src/configuration.ts:258
auth
• Optional
auth: any
Inherited from
Omit.auth
Defined in
packages/core/types/src/configuration.ts:266
configPath
• configPath: string
Defined in
packages/core/types/src/configuration.ts:303
experiments
• Optional
experiments: FlagsConfig
Inherited from
Omit.experiments
Defined in
packages/core/types/src/configuration.ts:286
filters
• Optional
filters: any
Inherited from
Omit.filters
Defined in
packages/core/types/src/configuration.ts:281
flags
• Optional
flags: FlagsConfig
Inherited from
Omit.flags
Defined in
packages/core/types/src/configuration.ts:284
http_proxy
• Optional
http_proxy: string
Inherited from
Omit.http_proxy
Defined in
packages/core/types/src/configuration.ts:273
https
• Optional
https: HttpsConf
Inherited from
Omit.https
Defined in
packages/core/types/src/configuration.ts:271
https_proxy
• Optional
https_proxy: string
Inherited from
Omit.https_proxy
Defined in
packages/core/types/src/configuration.ts:275
i18n
• Optional
i18n: Object
Type declaration
Name | Type |
---|---|
web | string |
Inherited from
Omit.i18n
Defined in
packages/core/types/src/configuration.ts:291
listen
• Optional
listen: ListenAddress
Inherited from
Omit.listen
Defined in
packages/core/types/src/configuration.ts:270
log
• Optional
log: LoggerConfItem
Inherited from
Omit.log
Defined in
packages/core/types/src/configuration.ts:262
logs
• Optional
logs: LoggerConfItem
Inherited from
Omit.logs
Defined in
packages/core/types/src/configuration.ts:264
max_body_size
• Optional
max_body_size: string
Inherited from
Omit.max_body_size
Defined in
packages/core/types/src/configuration.ts:277
middlewares
• Optional
middlewares: any
Inherited from
Omit.middlewares
Defined in
packages/core/types/src/configuration.ts:280
no_proxy
• Optional
no_proxy: string
Inherited from
Omit.no_proxy
Defined in
packages/core/types/src/configuration.ts:276
notifications
• Optional
notifications: Notifications
Inherited from
Omit.notifications
Defined in
packages/core/types/src/configuration.ts:278
notify
• Optional
notify: Notifications
| Notifications
[]
Inherited from
Omit.notify
Defined in
packages/core/types/src/configuration.ts:279
packages
• packages: PackageList
Defined in
packages/core/types/src/configuration.ts:307
plugins
• Optional
plugins: null
| string
| void
Inherited from
Omit.plugins
Defined in
packages/core/types/src/configuration.ts:274
publish
• Optional
publish: PublishOptions
Inherited from
Omit.publish
Defined in
packages/core/types/src/configuration.ts:268
secret
• secret: string
Defined in
packages/core/types/src/configuration.ts:301
security
• security: Security
Defined in
packages/core/types/src/configuration.ts:309
self_path
• Optional
self_path: string
Defined in
packages/core/types/src/configuration.ts:305
server
• Optional
server: ServerSettingsConf
Inherited from
Omit.server
Defined in
packages/core/types/src/configuration.ts:283
server_id
• server_id: string
Defined in
packages/core/types/src/configuration.ts:300
storage
• Optional
storage: string
| void
Inherited from
Omit.storage
Defined in
packages/core/types/src/configuration.ts:259
store
• Optional
store: any
Inherited from
Omit.store
Defined in
packages/core/types/src/configuration.ts:269
uplinks
• uplinks: UpLinksConfList
Inherited from
Omit.uplinks
Defined in
packages/core/types/src/configuration.ts:261
url_prefix
• Optional
url_prefix: string
Inherited from
Omit.url_prefix
Defined in
packages/core/types/src/configuration.ts:282
userRateLimit
• Optional
userRateLimit: RateLimit
Inherited from
Omit.userRateLimit
Defined in
packages/core/types/src/configuration.ts:287
user_agent
• Optional
user_agent: string
Inherited from
Omit.user_agent
Defined in
packages/core/types/src/configuration.ts:272
web
• Optional
web: WebConf
Inherited from
Omit.web
Defined in
packages/core/types/src/configuration.ts:265
Methods
checkSecretKey
▸ checkSecretKey(token
): string
Parameters
Name | Type |
---|---|
token | string | void |
Returns
string
Defined in
packages/core/types/src/configuration.ts:311
getMatchedPackagesSpec
▸ getMatchedPackagesSpec(storage
): void
| PackageAccess
Parameters
Name | Type |
---|---|
storage | string |
Returns
void
| PackageAccess