@daocloud-proto/ghippo 0.6.21 → 0.6.22
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 +1 -1
- package/v1alpha1/group.pb.ts +17 -11
- package/v1alpha1/message.pb.ts +9 -3
- package/v1alpha1/user.pb.ts +9 -3
- package/v1alpha1/workspace.pb.ts +30 -25
package/package.json
CHANGED
package/v1alpha1/group.pb.ts
CHANGED
|
@@ -16,13 +16,19 @@ export type CreateGroupResponse = {
|
|
|
16
16
|
|
|
17
17
|
export type ListGroupsRequest = {
|
|
18
18
|
search?: string
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
page?: number
|
|
20
|
+
page_size?: number
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export type ListGroupsResponse = {
|
|
24
|
+
pagination?: Pagination
|
|
25
|
+
items?: GroupInfo[]
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type Pagination = {
|
|
29
|
+
page?: number
|
|
30
|
+
page_size?: number
|
|
24
31
|
total?: number
|
|
25
|
-
groups?: GroupInfo[]
|
|
26
32
|
}
|
|
27
33
|
|
|
28
34
|
export type GroupInfo = {
|
|
@@ -93,28 +99,28 @@ export type UpdateGroupResponse = {
|
|
|
93
99
|
export type ListGroupRolesRequest = {
|
|
94
100
|
id?: string
|
|
95
101
|
search?: string
|
|
96
|
-
|
|
97
|
-
|
|
102
|
+
page?: number
|
|
103
|
+
page_size?: number
|
|
98
104
|
type?: string
|
|
99
105
|
authorized?: boolean
|
|
100
106
|
}
|
|
101
107
|
|
|
102
108
|
export type ListGroupRolesResponse = {
|
|
103
|
-
|
|
109
|
+
pagination?: Pagination
|
|
104
110
|
authorized_count?: number
|
|
105
|
-
|
|
111
|
+
items?: RoleInfo[]
|
|
106
112
|
}
|
|
107
113
|
|
|
108
114
|
export type ListGroupSubjectRequest = {
|
|
109
115
|
id?: string
|
|
110
116
|
search?: string
|
|
111
|
-
|
|
112
|
-
|
|
117
|
+
page?: number
|
|
118
|
+
page_size?: number
|
|
113
119
|
}
|
|
114
120
|
|
|
115
121
|
export type ListGroupSubjectResponse = {
|
|
116
|
-
|
|
117
|
-
|
|
122
|
+
pagination?: Pagination
|
|
123
|
+
items?: GroupSubject[]
|
|
118
124
|
}
|
|
119
125
|
|
|
120
126
|
export type GroupSubject = {
|
package/v1alpha1/message.pb.ts
CHANGED
|
@@ -16,13 +16,19 @@ export type ListMessagesRequest = {
|
|
|
16
16
|
unreadCount?: boolean
|
|
17
17
|
search?: string
|
|
18
18
|
read?: ReadType
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
page?: number
|
|
20
|
+
page_size?: number
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export type ListMessagesResponse = {
|
|
24
|
+
items?: MessageInfo[]
|
|
25
|
+
pagination?: Pagination
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type Pagination = {
|
|
24
29
|
total?: number
|
|
25
|
-
|
|
30
|
+
page?: number
|
|
31
|
+
page_size?: number
|
|
26
32
|
}
|
|
27
33
|
|
|
28
34
|
export type MessageInfo = {
|
package/v1alpha1/user.pb.ts
CHANGED
|
@@ -7,13 +7,19 @@
|
|
|
7
7
|
import * as fm from "../fetch.pb"
|
|
8
8
|
export type ListUsersRequest = {
|
|
9
9
|
search?: string
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
page_size?: number
|
|
11
|
+
page?: number
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export type ListUsersResponse = {
|
|
15
|
+
items?: GetUserResponse[]
|
|
16
|
+
pagination?: Pagination
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export type Pagination = {
|
|
20
|
+
page?: number
|
|
21
|
+
page_size?: number
|
|
15
22
|
total?: number
|
|
16
|
-
data?: GetUserResponse[]
|
|
17
23
|
}
|
|
18
24
|
|
|
19
25
|
export type CheckUserRequest = {
|
package/v1alpha1/workspace.pb.ts
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as fm from "../fetch.pb"
|
|
8
|
+
export type Pagination = {
|
|
9
|
+
total?: number
|
|
10
|
+
page?: number
|
|
11
|
+
page_size?: number
|
|
12
|
+
}
|
|
13
|
+
|
|
8
14
|
export type WorkspaceInfo = {
|
|
9
15
|
id?: number
|
|
10
16
|
name?: string
|
|
@@ -12,14 +18,13 @@ export type WorkspaceInfo = {
|
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
export type ListWorkspacesRequest = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
all?: boolean
|
|
21
|
+
page?: number
|
|
22
|
+
page_size?: number
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
export type ListWorkspacesResponse = {
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
items?: WorkspaceInfo[]
|
|
27
|
+
pagination?: Pagination
|
|
23
28
|
}
|
|
24
29
|
|
|
25
30
|
export type ResourceInfo = {
|
|
@@ -31,15 +36,15 @@ export type ResourceInfo = {
|
|
|
31
36
|
}
|
|
32
37
|
|
|
33
38
|
export type ListResourcesRequest = {
|
|
39
|
+
page?: number
|
|
40
|
+
page_size?: number
|
|
34
41
|
workspace_id?: number
|
|
35
42
|
gproduct?: string
|
|
36
|
-
size?: number
|
|
37
|
-
offset?: number
|
|
38
43
|
}
|
|
39
44
|
|
|
40
45
|
export type ListResourcesResponse = {
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
items?: ResourceInfo[]
|
|
47
|
+
pagination?: Pagination
|
|
43
48
|
}
|
|
44
49
|
|
|
45
50
|
export type BindResourceToWorkspaceRequest = {
|
|
@@ -96,14 +101,14 @@ export type MemberRoleWorkspaceInfo = {
|
|
|
96
101
|
}
|
|
97
102
|
|
|
98
103
|
export type ListMembersRolesByWorkspaceRequest = {
|
|
104
|
+
page?: number
|
|
105
|
+
page_size?: number
|
|
99
106
|
workspace_id?: number
|
|
100
|
-
offset?: number
|
|
101
|
-
size?: number
|
|
102
107
|
}
|
|
103
108
|
|
|
104
109
|
export type ListMembersRolesByWorkspaceResponse = {
|
|
105
|
-
|
|
106
|
-
|
|
110
|
+
items?: MemberRoleWorkspaceInfo[]
|
|
111
|
+
pagination?: Pagination
|
|
107
112
|
}
|
|
108
113
|
|
|
109
114
|
export type FolderInfo = {
|
|
@@ -113,13 +118,13 @@ export type FolderInfo = {
|
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
export type ListFoldersRequest = {
|
|
116
|
-
|
|
117
|
-
|
|
121
|
+
page?: number
|
|
122
|
+
page_size?: number
|
|
118
123
|
}
|
|
119
124
|
|
|
120
125
|
export type ListFoldersResponse = {
|
|
121
|
-
|
|
122
|
-
|
|
126
|
+
items?: FolderInfo[]
|
|
127
|
+
pagination?: Pagination
|
|
123
128
|
}
|
|
124
129
|
|
|
125
130
|
export type CreateFolderRequest = {
|
|
@@ -182,27 +187,27 @@ export type MemberRoleFolderInfo = {
|
|
|
182
187
|
}
|
|
183
188
|
|
|
184
189
|
export type ListMembersRolesRequest = {
|
|
190
|
+
page?: number
|
|
191
|
+
page_size?: number
|
|
185
192
|
folder_id?: number
|
|
186
193
|
member_name?: string
|
|
187
194
|
member_type?: string
|
|
188
195
|
role_name?: string
|
|
189
|
-
offset?: number
|
|
190
|
-
size?: number
|
|
191
196
|
}
|
|
192
197
|
|
|
193
198
|
export type ListMembersRolesResponse = {
|
|
194
|
-
|
|
195
|
-
|
|
199
|
+
items?: MemberRoleFolderInfo[]
|
|
200
|
+
pagination?: Pagination
|
|
196
201
|
}
|
|
197
202
|
|
|
198
203
|
export type ListMembersRolesResourcesRequest = {
|
|
199
|
-
|
|
200
|
-
|
|
204
|
+
page?: number
|
|
205
|
+
page_size?: number
|
|
201
206
|
}
|
|
202
207
|
|
|
203
208
|
export type ListMembersRolesResourcesResponse = {
|
|
204
|
-
|
|
205
|
-
|
|
209
|
+
items?: MemberRoleWorkspaceInfo[]
|
|
210
|
+
pagination?: Pagination
|
|
206
211
|
}
|
|
207
212
|
|
|
208
213
|
export class Workspace {
|