@daocloud-proto/skoala 0.3.3-30 → 0.3.3-36

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.
@@ -6,7 +6,7 @@
6
6
 
7
7
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
8
8
 
9
- export enum InstanceInstanceStatus {
9
+ export enum InstanceStatus {
10
10
  STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
11
11
  RUNNING = "RUNNING",
12
12
  FAILED = "FAILED",
@@ -18,11 +18,11 @@ export type Instance = {
18
18
  frameworkType?: string
19
19
  host?: string
20
20
  ports?: number[]
21
- instanceStatus?: InstanceInstanceStatus
21
+ instanceStatus?: InstanceStatus
22
22
  enabled?: boolean
23
23
  metadata?: {[key: string]: string}
24
24
  detail?: {[key: string]: string}
25
- lastUpdatedTimestamp?: string
25
+ updateAt?: string
26
26
  }
27
27
 
28
28
  export type ListInstanceReq = {
@@ -31,6 +31,7 @@ export type ListInstanceReq = {
31
31
  namespaceId?: string
32
32
  groupName?: string
33
33
  serviceName?: string
34
+ instanceId?: string
34
35
  page?: number
35
36
  pageSize?: number
36
37
  }
@@ -6,13 +6,13 @@
6
6
 
7
7
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
8
8
 
9
- export enum RegistryRegistryStatus {
9
+ export enum RegistryStatus {
10
10
  STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
11
11
  RUNNING = "RUNNING",
12
12
  ANOMALY = "ANOMALY",
13
13
  }
14
14
 
15
- export enum RegistryRegistryType {
15
+ export enum RegistryType {
16
16
  TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
17
17
  NACOS = "NACOS",
18
18
  EUREKA = "EUREKA",
@@ -25,8 +25,8 @@ export type Registry = {
25
25
  workspaceId?: string
26
26
  registryId?: string
27
27
  name?: string
28
- type?: RegistryRegistryType
29
- status?: RegistryRegistryStatus
28
+ type?: RegistryType
29
+ status?: RegistryStatus
30
30
  addresses?: string[]
31
31
  namespaces?: Namespace[]
32
32
  isHosted?: boolean
@@ -20,6 +20,7 @@ export type Service = {
20
20
  export type ListServiceReq = {
21
21
  workspaceId?: string
22
22
  registryId?: string
23
+ serviceName?: string
23
24
  page?: number
24
25
  pageSize?: number
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.3.3-30",
3
+ "version": "0.3.3-36",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {