@daocloud-proto/skoala 0.6.1-22 → 0.6.1-28
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.
|
@@ -22,12 +22,32 @@ export enum NacosStatus {
|
|
|
22
22
|
Scaling = "Scaling",
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
export enum NacosConditionType {
|
|
26
|
+
TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
|
|
27
|
+
FOLLOWER = "FOLLOWER",
|
|
28
|
+
LEADER = "LEADER",
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export enum NacosConditionStatus {
|
|
32
|
+
STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
|
|
33
|
+
UNKNOWN = "UNKNOWN",
|
|
34
|
+
TRUE = "TRUE",
|
|
35
|
+
FALSE = "FALSE",
|
|
36
|
+
}
|
|
37
|
+
|
|
25
38
|
export enum NacosConfigType {
|
|
26
39
|
TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
|
|
27
40
|
standalone = "standalone",
|
|
28
41
|
cluster = "cluster",
|
|
29
42
|
}
|
|
30
43
|
|
|
44
|
+
export enum CreateNacosConfigReqPolicy {
|
|
45
|
+
POLICY_TYPE_UNSPECIFIED = "POLICY_TYPE_UNSPECIFIED",
|
|
46
|
+
ABORT = "ABORT",
|
|
47
|
+
SKIP = "SKIP",
|
|
48
|
+
OVERWRITE = "OVERWRITE",
|
|
49
|
+
}
|
|
50
|
+
|
|
31
51
|
export type ListNacosReq = {
|
|
32
52
|
workspaceId?: string
|
|
33
53
|
clusterName?: string
|
|
@@ -73,8 +93,8 @@ export type NacosDatabase = {
|
|
|
73
93
|
}
|
|
74
94
|
|
|
75
95
|
export type NacosCondition = {
|
|
76
|
-
type?:
|
|
77
|
-
status?:
|
|
96
|
+
type?: NacosConditionType
|
|
97
|
+
status?: NacosConditionStatus
|
|
78
98
|
reason?: string
|
|
79
99
|
message?: string
|
|
80
100
|
instance?: string
|
|
@@ -200,6 +220,9 @@ export type ListNacosServiceReq = {
|
|
|
200
220
|
nacosName?: string
|
|
201
221
|
namespaceName?: string
|
|
202
222
|
nacosNamespace?: string
|
|
223
|
+
serviceName?: string
|
|
224
|
+
groupName?: string
|
|
225
|
+
isEmpty?: boolean
|
|
203
226
|
page?: number
|
|
204
227
|
pageSize?: number
|
|
205
228
|
}
|
|
@@ -657,9 +680,18 @@ export type ListNacosConfigListenerReq = {
|
|
|
657
680
|
nacosNamespace?: string
|
|
658
681
|
dataId?: string
|
|
659
682
|
group?: string
|
|
683
|
+
ip?: string
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export type ListNacosConfigListenerBrief = {
|
|
687
|
+
dataId?: string
|
|
688
|
+
group?: string
|
|
689
|
+
ip?: string
|
|
690
|
+
md5?: string
|
|
660
691
|
}
|
|
661
692
|
|
|
662
693
|
export type ListNacosConfigListenerRes = {
|
|
694
|
+
items?: ListNacosConfigListenerBrief[]
|
|
663
695
|
}
|
|
664
696
|
|
|
665
697
|
export type CreateNacosConfigReq = {
|
|
@@ -675,6 +707,9 @@ export type CreateNacosConfigReq = {
|
|
|
675
707
|
configTags?: string
|
|
676
708
|
type?: string
|
|
677
709
|
appName?: string
|
|
710
|
+
import?: boolean
|
|
711
|
+
policy?: CreateNacosConfigReqPolicy
|
|
712
|
+
file?: Uint8Array
|
|
678
713
|
}
|
|
679
714
|
|
|
680
715
|
export type CreateNacosConfigRes = {
|