mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
feat: shell controller, TabStage, layout and theme plugins with repair view
This commit is contained in:
1 parent
aff29a9581
commit
86161d66e2
120 files changed
+23693
-3381
No files matched your search
@@ -78,6 +78,22 @@ export interface PluginViewContribution {
|
||||
icon?: string;
|
||||
}
|
||||
|
||||
export interface PluginLayoutContribution {
|
||||
id: string;
|
||||
label: string;
|
||||
description?: string;
|
||||
defaultTheme?: string;
|
||||
default?: boolean;
|
||||
}
|
||||
|
||||
export interface PluginThemeContribution {
|
||||
id: string;
|
||||
label: string;
|
||||
mode: "light" | "dark";
|
||||
css: string;
|
||||
swatch?: { background: string; panel: string; text: string };
|
||||
}
|
||||
|
||||
export interface PluginContributions {
|
||||
tabs?: PluginTabContribution[];
|
||||
panels?: PluginViewContribution[];
|
||||
@@ -87,6 +103,8 @@ export interface PluginContributions {
|
||||
settings?: PluginSettingsContribution;
|
||||
permissions?: { name: string; titleKey: string; descriptionKey: string }[];
|
||||
uiPresets?: PluginUiPresets;
|
||||
layouts?: PluginLayoutContribution[];
|
||||
themes?: PluginThemeContribution[];
|
||||
}
|
||||
|
||||
export {
|
||||
@@ -236,6 +254,10 @@ export interface PluginSummary {
|
||||
assetVersion?: string | null;
|
||||
/** "en" plus the xx_YY names of shipped translations. */
|
||||
locales?: string[];
|
||||
/** Cache key for the theme CSS files; null without themes. */
|
||||
themeVersion?: string | null;
|
||||
/** The app is drawn with this plugin by default; it cannot be uninstalled. */
|
||||
defaultLook?: boolean;
|
||||
|
||||
tier?: string;
|
||||
source?: string;
|
||||
|
||||
Reference in new issue
Block a user