Configuration
Last modified by Manuel Leduc on 2025/01/28 09:41
Contents
Description
Provides operations to access the available configurations generically.
This allows to implement specific configuration access for the web and for electron.
User
N/A
Admin
N/A
Developer
import { Primitive } from "utility-types";
/**
* A single configuration entry.
*
* @since 0.14
*/
type Configuration = {
configType: string;
[key: string]: Primitive;
};
/**
* The set of available configurations.
*
* @since 0.14
*/
type Configurations = { [key: string]: Configuration };
/**
* Signature of the configuration loader.
*
* @since 0.14
*/
type ConfigurationLoader = () => Promise<Configurations>;

This project is being financed by the French State as part of the France 2030 program
Ce projet est financé par l’État Français dans le cadre de France 2030