src/app/core/setup/base-config.ts
Describes a base configuration that can be used with the SetupService to initialize a system with predefined settings.
Properties |
|
| baseUrl |
baseUrl:
|
Type : string
|
| Optional |
|
Defined in src/app/core/setup/base-config.ts:39
|
|
Base URL from which |
| description |
description:
|
Type : string
|
|
Defined in src/app/core/setup/base-config.ts:20
|
|
Description of the scenario of this base configuration (can contain Markdown formatting). |
| entitiesToImport |
entitiesToImport:
|
Type : string[]
|
|
Defined in src/app/core/setup/base-config.ts:27
|
|
Names of json files that should be imported during the setup process.
Files have to be located in the |
| id |
id:
|
Type : string
|
|
Defined in src/app/core/setup/base-config.ts:9
|
|
ID of the base configuration. |
| locale |
locale:
|
Type : string
|
| Optional |
|
Defined in src/app/core/setup/base-config.ts:32
|
|
The locale (language) of this configuration. |
| name |
name:
|
Type : string
|
|
Defined in src/app/core/setup/base-config.ts:14
|
|
Human-readable name |
export interface BaseConfig {
/**
* ID of the base configuration.
*/
id: string;
/**
* Human-readable name
*/
name: string;
/**
* Description of the scenario of this base configuration
* (can contain Markdown formatting).
*/
description: string;
/**
* Names of json files that should be imported during the setup process.
* Files have to be located in the `assets/base-configs/${id}/` folder
* and match
*/
entitiesToImport: string[];
/**
* The locale (language) of this configuration.
*/
locale?: string;
/**
* Base URL from which `entitiesToImport` paths are resolved.
* When set (e.g. for externally loaded configs), file paths are fetched
* relative to this URL instead of the local `assets/base-configs/` folder.
*/
baseUrl?: string;
}