2020-07-29 01:37:59 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2020-07-29 01:37:59 +08:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 21:57:16 +08:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2020-07-29 01:37:59 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Represents the various setting levels supported by the SettingsStore.
|
|
|
|
*/
|
|
|
|
export enum SettingLevel {
|
|
|
|
// TODO: [TS] Follow naming convention
|
|
|
|
DEVICE = "device",
|
|
|
|
ROOM_DEVICE = "room-device",
|
|
|
|
ROOM_ACCOUNT = "room-account",
|
|
|
|
ACCOUNT = "account",
|
|
|
|
ROOM = "room",
|
2022-06-11 05:38:50 +08:00
|
|
|
PLATFORM = "platform",
|
2020-07-29 01:37:59 +08:00
|
|
|
CONFIG = "config",
|
|
|
|
DEFAULT = "default",
|
|
|
|
}
|