allow for plugin badges
This commit is contained in:
@@ -352,10 +352,26 @@ export type PluginManifest = {
|
||||
label?: string;
|
||||
icon?: string;
|
||||
};
|
||||
dashboard?: PluginDashboardIntegration;
|
||||
build?: PluginBuildIntegration;
|
||||
hasServer?: boolean;
|
||||
};
|
||||
|
||||
export type PluginDashboardIntegration = {
|
||||
clientBadges?: PluginDashboardBadgeDefinition[];
|
||||
};
|
||||
|
||||
export type PluginDashboardBadgeDefinition = {
|
||||
id: string;
|
||||
label?: string;
|
||||
title?: string;
|
||||
icon?: string;
|
||||
imageUrl?: string;
|
||||
href?: string;
|
||||
tone?: "info" | "good" | "warn" | "danger" | string;
|
||||
priority?: number;
|
||||
};
|
||||
|
||||
export type PluginBuildIntegration = {
|
||||
enabledByDefault?: boolean;
|
||||
label?: string;
|
||||
|
||||
Reference in New Issue
Block a user