@daocloud-proto/insight 0.9.10 → 0.9.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -79,6 +79,7 @@ export type Graph = {
79
79
  nodes?: Node[]
80
80
  edges?: Edge[]
81
81
  layer?: Layer
82
+ graphType?: GraphType
82
83
  }
83
84
 
84
85
  export type BaseGraphQuery = {
@@ -89,6 +90,7 @@ export type BaseGraphQuery = {
89
90
  start?: string
90
91
  end?: string
91
92
  extensionFilters?: string
93
+ graphType?: GraphType
92
94
  }
93
95
 
94
96
  export type BaseMetricsQuery = {
@@ -73,7 +73,7 @@ export type RuleSummary = {
73
73
  source?: RuleSource
74
74
  expr?: string
75
75
  thresholdSymbol?: string
76
- thresholdNum?: string
76
+ thresholdNum?: number
77
77
  duration?: number
78
78
  status?: RuleStatus
79
79
  builtin?: boolean
@@ -95,7 +95,7 @@ export type Rule = {
95
95
  targetNames?: string[]
96
96
  expr?: string
97
97
  thresholdSymbol?: string
98
- thresholdNum?: string
98
+ thresholdNum?: number
99
99
  duration?: number
100
100
  severity?: Severity
101
101
  status?: RuleStatus
@@ -127,7 +127,7 @@ export type CreateRuleRequest = {
127
127
  targetNames?: string[]
128
128
  expr?: string
129
129
  thresholdSymbol?: string
130
- thresholdNum?: string
130
+ thresholdNum?: number
131
131
  duration?: number
132
132
  severity?: Severity
133
133
  notificationTemplate?: string
@@ -139,7 +139,7 @@ export type UpdateRuleRequest = {
139
139
  description?: string
140
140
  expr?: string
141
141
  thresholdSymbol?: string
142
- thresholdNum?: string
142
+ thresholdNum?: number
143
143
  duration?: number
144
144
  severity?: Severity
145
145
  notificationTemplate?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/insight",
3
- "version":"0.9.10",
3
+ "version":"0.9.12",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {