style(widgets): apply formatter to widget runtime files

This commit is contained in:
Developer
2026-06-21 16:55:12 +00:00
parent e1356b20f1
commit 2557185fb7
4 changed files with 9 additions and 15 deletions
+2 -6
View File
@@ -84,9 +84,7 @@ export const WIDGET_REGISTRY: Record<string, WidgetDefinition> = {
sourceType: "prometheus",
refreshInterval: 30_000,
defaultConfig: { promql: "" },
configFields: [
{ key: "promql", label: "PromQL query", type: "string" },
],
configFields: [{ key: "promql", label: "PromQL query", type: "string" }],
component: PrometheusMetricWidget,
},
"ssh-task": {
@@ -97,9 +95,7 @@ export const WIDGET_REGISTRY: Record<string, WidgetDefinition> = {
sourceType: "ssh_task",
refreshInterval: 0,
defaultConfig: { task_id: "" },
configFields: [
{ key: "task_id", label: "Saved task ID", type: "string" },
],
configFields: [{ key: "task_id", label: "Saved task ID", type: "string" }],
component: SshTaskWidget,
},
static: {