Skip to content

API Reference / @gtkx/config / @gtkx/config / LoadedConfig

Type Alias: LoadedConfig ​

LoadedConfig = object

Defined in: packages/config/src/loader.ts:25

Result of loading a project's gtkx.config.ts file.

Properties ​

config ​

config: ApplicationConfig

Defined in: packages/config/src/loader.ts:27

The parsed and validated configuration, with the default application ID filled in when one stood in.


configFile ​

configFile: string

Defined in: packages/config/src/loader.ts:34

Absolute path of the configuration file that was loaded, or of gtkx.config.ts in the project root when a default application ID stood in for a missing file.


isApplication ​

isApplication: boolean

Defined in: packages/config/src/loader.ts:29

Whether the configuration names its own applicationId, rather than a default standing in for it.


root ​

root: string

Defined in: packages/config/src/loader.ts:36

Absolute path of the project root the configuration was resolved against.


translationDomain ​

translationDomain: string

Defined in: packages/config/src/loader.ts:41

The gettext domain: the applicationId production builds use, so a $development application ID shares the production catalogs.