mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
fix: polish pages and validate data (#46)
This commit is contained in:
@@ -28,13 +28,12 @@ export interface LayoutConfig {
|
||||
w: number;
|
||||
h: number;
|
||||
i: string;
|
||||
widget: WidgetConfig;
|
||||
graph: GraphConfig;
|
||||
standard: StandardConfig;
|
||||
metrics: string[];
|
||||
widget?: WidgetConfig;
|
||||
graph?: GraphConfig;
|
||||
metrics?: string[];
|
||||
type: string;
|
||||
metricTypes: string[];
|
||||
children?: any;
|
||||
metricTypes?: string[];
|
||||
children?: { name: string; children: LayoutConfig[] }[];
|
||||
activedTabIndex?: number;
|
||||
metricConfig?: MetricConfigOpt[];
|
||||
}
|
||||
@@ -53,20 +52,6 @@ export interface WidgetConfig {
|
||||
tips?: string;
|
||||
}
|
||||
|
||||
export interface StandardConfig {
|
||||
sortOrder?: string;
|
||||
unit?: string;
|
||||
labelsIndex?: string;
|
||||
metricLabels?: string;
|
||||
plus?: string;
|
||||
minus?: string;
|
||||
multiply?: string;
|
||||
divide?: string;
|
||||
milliseconds?: string;
|
||||
seconds?: string;
|
||||
maxItemNum?: number;
|
||||
}
|
||||
|
||||
export type GraphConfig =
|
||||
| BarConfig
|
||||
| LineConfig
|
||||
|
Reference in New Issue
Block a user