feat: add admin shortcuts for convenience

This commit is contained in:
Paul Makles
2023-08-01 23:09:50 +01:00
parent 14312224f1
commit 50070be7fd
2 changed files with 38 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ import Store from "../interfaces/Store";
/**
* Union type of available experiments.
*/
export type Experiment = "dummy" | "offline_users" | "plugins";
export type Experiment = "dummy" | "offline_users" | "plugins" | "admin_beta";
/**
* Currently active experiments.
@@ -19,6 +19,7 @@ export const AVAILABLE_EXPERIMENTS: Experiment[] = [
"dummy",
"offline_users",
"plugins",
"admin_beta",
];
/**
@@ -41,6 +42,11 @@ export const EXPERIMENTS: {
description:
"This will enable the experimental plugin API. Only touch this if you know what you're doing.",
},
admin_beta: {
title: "Admin Panel Shortcuts",
description:
"Adds context menu entries to quickly jump to Revolt Admin Panel. This is intended for use by the team.",
},
};
export interface Data {