Configuration

Last modified by Manuel Leduc on 2025/01/28 09:41

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>;
France 2030 Logo

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

  • Powered by XWiki 17.10.9-node1. Hosted and managed by XWiki SAS

Get Connected