@daocloud-proto/skoala 0.22.1-6 → 0.22.2

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.
@@ -139,6 +139,7 @@ export type GetSentinelRes = {
139
139
  nodePort?: number
140
140
  phase?: GetSentinelResPhase
141
141
  visitAddress?: string
142
+ createAt?: string
142
143
  }
143
144
 
144
145
  export type GetMeshRes = {
@@ -28,6 +28,11 @@ export enum MachineType {
28
28
  EMBEDDED = "EMBEDDED",
29
29
  }
30
30
 
31
+ export enum ThresholdType {
32
+ SHARED = "SHARED",
33
+ OVERALL = "OVERALL",
34
+ }
35
+
31
36
  export enum HostedQuery {
32
37
  ALL = "ALL",
33
38
  NOT_HOSTED = "NOT_HOSTED",
@@ -255,6 +260,12 @@ export type FlowRule = {
255
260
  warmUpPeriodSec?: number
256
261
  maxQueueingTimeMs?: number
257
262
  clusterMode?: boolean
263
+ clusterConfig?: ClusterFlowConfig
264
+ }
265
+
266
+ export type ClusterFlowConfig = {
267
+ thresholdType?: ThresholdType
268
+ fallbackToLocalWhenFail?: boolean
258
269
  }
259
270
 
260
271
  export type CreateFlowRuleReq = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.22.1-6",
3
+ "version": "0.22.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {