style(widgets): apply formatter to widget runtime files
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user