File

src/app/core/setup/base-config.ts

Description

Describes a base configuration that can be used with the SetupService to initialize a system with predefined settings.

Index

Properties

Properties

description
description: string
Type : string

Description of the scenario of this base configuration (can contain Markdown formatting).

entitiesToImport
entitiesToImport: string[]
Type : 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

id
id: string
Type : string

ID of the base configuration.

locale
locale: string
Type : string
Optional

The locale (language) of this configuration.

name
name: string
Type : string

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;
}

results matching ""

    No results matching ""