API ReferenceGlobalsGlobalInitData

# Class: GlobalInitData

# Hierarchy

  • GlobalInitData

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new GlobalInitData(creator: string): GlobalInitData

Defined in packages/common-core/src/utils/global-init-data.ts:17

Parameters:

Name Type
creator string

Returns: GlobalInitData

# Properties

# creator

creator: string

_Implementation of Context.creator_

Defined in packages/common-core/src/utils/global-init-data.ts:9


# Optional alwaysUseCache

alwaysUseCache? : boolean

Implementation of GlobalInitDataDefinition.alwaysUseCache

Defined in packages/common-core/src/utils/global-init-data.ts:16


# Optional configuratorId

configuratorId? : string

Implementation of GlobalInitDataDefinition.configuratorId

Defined in packages/common-core/src/utils/global-init-data.ts:14


# Optional customApiUrl

customApiUrl? : string

Implementation of GlobalInitDataDefinition.customApiUrl

Defined in packages/common-core/src/utils/global-init-data.ts:17


# Optional locale

locale? : string = getLanguage() || 'en'

Implementation of GlobalInitDataDefinition.locale

Defined in packages/common-core/src/utils/global-init-data.ts:11


# Optional overrideCountry

overrideCountry? : string = null

Implementation of GlobalInitDataDefinition.overrideCountry

Defined in packages/common-core/src/utils/global-init-data.ts:13


# Optional overrideRapi

overrideRapi? : RapiServerUrlType

Implementation of GlobalInitDataDefinition.overrideRapi

Defined in packages/common-core/src/utils/global-init-data.ts:15


# Optional overrideTenant

overrideTenant? : number

Implementation of GlobalInitDataDefinition.overrideTenant

Defined in packages/common-core/src/utils/global-init-data.ts:12

# Methods

# setOverrides

setOverrides(globalInitData: GlobalInitDataDefinition): void

Defined in packages/common-core/src/utils/global-init-data.ts:23

Parameters:

Name Type
globalInitData GlobalInitDataDefinition

Returns: void