Class ConfigurationBaseAbstract

A configuration. Defines settings and setting groups.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

all: Record<string, Record<string, Setting<any, any>>>
type: "user" | "wiki"

Methods

  • Deserializes a JSON configuration into this configuration. This WILL overwrite past settings.

    Parameters

    • serializedData: any

    Returns void

  • Returns any

    the serialized version of the configuration. All undefined values are stripped from output. If a category remains unchanged from defaults, it is skipped. If the entire configuration remains unchanged, null is returned.