@daocloud-proto/ghippo 0.15.0-dev-5 → 0.15.0-dev-7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version":"0.15.0-dev-5",
3
+ "version":"0.15.0-dev-7",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -7,16 +7,27 @@
7
7
  import * as fm from "../fetch.pb"
8
8
 
9
9
  export enum AuthScope {
10
- unknown_auth_scope = "unknown_auth_scope",
11
10
  platform = "platform",
12
11
  folder = "folder",
13
12
  workspace = "workspace",
14
13
  }
15
14
 
15
+ export enum QueryAuthScope {
16
+ query_all_auth_scope = "query_all_auth_scope",
17
+ query_platform = "query_platform",
18
+ query_folder = "query_folder",
19
+ query_workspace = "query_workspace",
20
+ }
21
+
16
22
  export enum globalRoleType {
17
23
  system = "system",
18
24
  custom = "custom",
19
- unknown = "unknown",
25
+ }
26
+
27
+ export enum QueryRoleType {
28
+ query_all_role_type = "query_all_role_type",
29
+ query_system = "query_system",
30
+ query_custom = "query_custom",
20
31
  }
21
32
 
22
33
  export type ListAllPermissionsRequest = {
@@ -91,8 +102,8 @@ export type ListRolesRequest = {
91
102
  search?: string
92
103
  pageSize?: number
93
104
  page?: number
94
- roleType?: globalRoleType
95
- scope?: AuthScope
105
+ roleType?: QueryRoleType
106
+ scope?: QueryAuthScope
96
107
  }
97
108
 
98
109
  export type ListRolesResponse = {
@@ -239,6 +250,7 @@ export type MemberFolder = {
239
250
  memberType?: string
240
251
  folderId?: number
241
252
  folderAlias?: string
253
+ memberId?: string
242
254
  }
243
255
 
244
256
  export type ListMembersWorkspacesByWorkspaceRoleRequest = {
@@ -258,6 +270,7 @@ export type MemberWorkspace = {
258
270
  memberType?: string
259
271
  workspaceId?: number
260
272
  workspaceAlias?: string
273
+ memberId?: string
261
274
  }
262
275
 
263
276
  export type GlobalRoleInfo = {