@daocloud-proto/mcamel-rabbitmq 0.12.1 → 0.12.2-1

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.
Files changed (2) hide show
  1. package/cluster.pb.ts +26 -1
  2. package/package.json +1 -1
package/cluster.pb.ts CHANGED
@@ -7,6 +7,26 @@
7
7
  import * as CommonCommon from "./common.pb"
8
8
  import * as fm from "./fetch.pb"
9
9
 
10
+ export enum PermissionsType {
11
+ None = "None",
12
+ GetInstance = "GetInstance",
13
+ CreateInstance = "CreateInstance",
14
+ UpdateInstance = "UpdateInstance",
15
+ DeleteInstance = "DeleteInstance",
16
+ GetMetric = "GetMetric",
17
+ GetInstanceLog = "GetInstanceLog",
18
+ GetConfig = "GetConfig",
19
+ UpdateConfig = "UpdateConfig",
20
+ GetBackup = "GetBackup",
21
+ CreateBackup = "CreateBackup",
22
+ UpdateBackup = "UpdateBackup",
23
+ DeleteBackup = "DeleteBackup",
24
+ GetBackupConf = "GetBackupConf",
25
+ CreateBackupConf = "CreateBackupConf",
26
+ UpdateBackupConf = "UpdateBackupConf",
27
+ DeleteBackupConf = "DeleteBackupConf",
28
+ }
29
+
10
30
  export enum EventType {
11
31
  EVENT_TYPE_UNSPECIFIED = "EVENT_TYPE_UNSPECIFIED",
12
32
  Normal = "Normal",
@@ -37,7 +57,7 @@ export type GetPermissionsListReq = {
37
57
  workspaceId?: number
38
58
  }
39
59
 
40
- export type GetPermissionsListResp = {
60
+ export type GetPermissionsListRespPermissions = {
41
61
  getInstance?: boolean
42
62
  createInstance?: boolean
43
63
  updateInstance?: boolean
@@ -56,6 +76,11 @@ export type GetPermissionsListResp = {
56
76
  deleteBackupConf?: boolean
57
77
  }
58
78
 
79
+ export type GetPermissionsListResp = {
80
+ permissionsBool?: GetPermissionsListRespPermissions
81
+ permissions?: PermissionsType[]
82
+ }
83
+
59
84
  export type GetAllEventKindsListResp = {
60
85
  data?: string[]
61
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-rabbitmq",
3
- "version":"0.12.1",
3
+ "version":"0.12.2-1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {