A platform for community discussion. Free, open, simple.
DEV: Reuse the shared SelectableTheme typedef in theme site settings (#44659)
Sérgio Saquetim7de16debcb14
diff --git a/frontend/discourse/admin/components/theme-site-settings.gjs b/frontend/discourse/admin/components/theme-site-settings.gjsindex 72cee788f7a..ebec23460fa 100644--- a/frontend/discourse/admin/components/theme-site-settings.gjs+++ b/frontend/discourse/admin/components/theme-site-settings.gjs@@ -14,15 +14,7 @@ import DPageSubheader from "discourse/ui-kit/d-page-subheader";import dBasePath from "discourse/ui-kit/helpers/d-base-path";import { i18n } from "discourse-i18n";-/**- * @typedef {{- * name: string,- * id: number | null,- * color_scheme_id?: number | null,- * dark_color_scheme_id?: number | null,- * only_theme_color_schemes?: boolean- * }} SelectableTheme- */+/** @typedef {import("discourse/lib/theme-selector").SelectableTheme} SelectableTheme *//*** @typedef {{* setting: string,