Skip to main content
Version: 6.x

Interface: Config

Configuration object with additional methods for configuration, includes yaml and internal medatada.

Interface

Config

Hierarchy

Indexable

[key: string]: any

Properties

_debug

Optional _debug: boolean

Inherited from

Omit._debug

Defined in

packages/core/types/src/configuration.ts:234


auth

Optional auth: any

Inherited from

Omit.auth

Defined in

packages/core/types/src/configuration.ts:242


configPath

configPath: string

Defined in

packages/core/types/src/configuration.ts:279


experiments

Optional experiments: FlagsConfig

Inherited from

Omit.experiments

Defined in

packages/core/types/src/configuration.ts:262


filters

Optional filters: any

Inherited from

Omit.filters

Defined in

packages/core/types/src/configuration.ts:257


flags

Optional flags: FlagsConfig

Inherited from

Omit.flags

Defined in

packages/core/types/src/configuration.ts:260


http_proxy

Optional http_proxy: string

Inherited from

Omit.http_proxy

Defined in

packages/core/types/src/configuration.ts:249


https

Optional https: HttpsConf

Inherited from

Omit.https

Defined in

packages/core/types/src/configuration.ts:247


https_proxy

Optional https_proxy: string

Inherited from

Omit.https_proxy

Defined in

packages/core/types/src/configuration.ts:251


i18n

Optional i18n: Object

Type declaration

NameType
webstring

Inherited from

Omit.i18n

Defined in

packages/core/types/src/configuration.ts:267


listen

Optional listen: ListenAddress

Inherited from

Omit.listen

Defined in

packages/core/types/src/configuration.ts:246


log

Optional log: LoggerConfItem

Inherited from

Omit.log

Defined in

packages/core/types/src/configuration.ts:238


logs

Optional logs: LoggerConfItem

Inherited from

Omit.logs

Defined in

packages/core/types/src/configuration.ts:240


max_body_size

Optional max_body_size: string

Inherited from

Omit.max_body_size

Defined in

packages/core/types/src/configuration.ts:253


middlewares

Optional middlewares: any

Inherited from

Omit.middlewares

Defined in

packages/core/types/src/configuration.ts:256


no_proxy

Optional no_proxy: string

Inherited from

Omit.no_proxy

Defined in

packages/core/types/src/configuration.ts:252


notifications

Optional notifications: Notifications

Inherited from

Omit.notifications

Defined in

packages/core/types/src/configuration.ts:254


notify

Optional notify: Notifications | Notifications[]

Inherited from

Omit.notify

Defined in

packages/core/types/src/configuration.ts:255


packages

packages: PackageList

Defined in

packages/core/types/src/configuration.ts:283


plugins

Optional plugins: null | string | void

Inherited from

Omit.plugins

Defined in

packages/core/types/src/configuration.ts:250


publish

Optional publish: PublishOptions

Inherited from

Omit.publish

Defined in

packages/core/types/src/configuration.ts:244


secret

secret: string

Defined in

packages/core/types/src/configuration.ts:277


security

security: Security

Defined in

packages/core/types/src/configuration.ts:285


self_path

Optional self_path: string

Defined in

packages/core/types/src/configuration.ts:281


server

Optional server: ServerSettingsConf

Inherited from

Omit.server

Defined in

packages/core/types/src/configuration.ts:259


server_id

server_id: string

Defined in

packages/core/types/src/configuration.ts:276


storage

Optional storage: string | void

Inherited from

Omit.storage

Defined in

packages/core/types/src/configuration.ts:235


store

Optional store: any

Inherited from

Omit.store

Defined in

packages/core/types/src/configuration.ts:245


uplinks: UpLinksConfList

Inherited from

Omit.uplinks

Defined in

packages/core/types/src/configuration.ts:237


url_prefix

Optional url_prefix: string

Inherited from

Omit.url_prefix

Defined in

packages/core/types/src/configuration.ts:258


userRateLimit

Optional userRateLimit: RateLimit

Inherited from

Omit.userRateLimit

Defined in

packages/core/types/src/configuration.ts:263


user_agent

Optional user_agent: string

Inherited from

Omit.user_agent

Defined in

packages/core/types/src/configuration.ts:248


web

Optional web: WebConf

Inherited from

Omit.web

Defined in

packages/core/types/src/configuration.ts:241

Methods

checkSecretKey

checkSecretKey(token): string

Parameters

NameType
tokenstring

Returns

string

Defined in

packages/core/types/src/configuration.ts:287


getMatchedPackagesSpec

getMatchedPackagesSpec(storage): void | PackageAccess

Parameters

NameType
storagestring

Returns

void | PackageAccess

Defined in

packages/core/types/src/configuration.ts:288