From d31520ed310108e34ce43ba25480a856ab72d0a1 Mon Sep 17 00:00:00 2001 From: The Static Mage <199814801+TheStaticMage@users.noreply.github.com> Date: Tue, 3 Jun 2025 01:12:12 -0500 Subject: [PATCH] Properly support enum and multiselect settings in game manager --- types/modules/game-manager.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/types/modules/game-manager.d.ts b/types/modules/game-manager.d.ts index 6357c34..373956c 100644 --- a/types/modules/game-manager.d.ts +++ b/types/modules/game-manager.d.ts @@ -3,6 +3,7 @@ type SettingType = | "number" | "boolean" | "enum" + | "multiselect" | "filepath" | "currency-select" | "chatter-select" @@ -19,6 +20,14 @@ export type SettingDefinition = { */ tip: string; default: any; + /** + * Options for the "enum" type. + */ + options?: string[]; + /** + * Settings for the "multiselect" type. + */ + settings?: Record; /** * A rank to tell the UI how to order settings. */