@daocloud-proto/skoala 0.2.0-22 → 0.2.0-24
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.
|
@@ -36,8 +36,8 @@ export type UpdateRegistryReq = {
|
|
|
36
36
|
registryId?: string
|
|
37
37
|
name?: string
|
|
38
38
|
type?: string
|
|
39
|
-
addresses?: string
|
|
40
|
-
namespaces?:
|
|
39
|
+
addresses?: string[]
|
|
40
|
+
namespaces?: Namespace[]
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export type UpdateRegistryRes = {
|
|
@@ -47,8 +47,8 @@ export type UpdateRegistryRes = {
|
|
|
47
47
|
export type CreateRegistryReq = {
|
|
48
48
|
name?: string
|
|
49
49
|
type?: string
|
|
50
|
-
addresses?: string
|
|
51
|
-
namespaces?:
|
|
50
|
+
addresses?: string[]
|
|
51
|
+
namespaces?: Namespace[]
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export type CreateRegistryRes = {
|
|
@@ -61,8 +61,7 @@ export type DeleteRegistryReq = {
|
|
|
61
61
|
|
|
62
62
|
export type PingRegistryReq = {
|
|
63
63
|
type?: string
|
|
64
|
-
addresses?: string
|
|
65
|
-
namespaces?: string
|
|
64
|
+
addresses?: string[]
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
export type PingRegistryRes = {
|
|
@@ -73,5 +72,4 @@ export type PingRegistryRes = {
|
|
|
73
72
|
export type Namespace = {
|
|
74
73
|
id?: string
|
|
75
74
|
name?: string
|
|
76
|
-
group?: string
|
|
77
75
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import * as SkoalaApiIntegratedV1alpha1Registry from "./registry.pb"
|
|
8
8
|
export type Service = {
|
|
9
9
|
name?: string
|
|
10
|
-
namespace?:
|
|
10
|
+
namespace?: NamespaceWithGroup
|
|
11
11
|
instanceCount?: number
|
|
12
12
|
registry?: SkoalaApiIntegratedV1alpha1Registry.Registry
|
|
13
13
|
detail?: {[key: string]: string}
|
|
@@ -40,4 +40,10 @@ export type GetServiceReq = {
|
|
|
40
40
|
|
|
41
41
|
export type GetServiceRes = {
|
|
42
42
|
service?: Service
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type NamespaceWithGroup = {
|
|
46
|
+
id?: string
|
|
47
|
+
name?: string
|
|
48
|
+
group?: string
|
|
43
49
|
}
|