@daocloud-proto/ghippo 0.6.23 → 0.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version":"0.6.23",
3
+ "version":"0.6.24",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -94,26 +94,26 @@ export type Group = {
94
94
  export type ListUserGroupsRequest = {
95
95
  id?: string
96
96
  search?: string
97
- offset?: number
98
- size?: number
97
+ page?: number
98
+ page_size?: number
99
99
  }
100
100
 
101
101
  export type ListUserGroupsResponse = {
102
- total?: number
102
+ pagination?: Pagination
103
103
  data?: Group[]
104
104
  }
105
105
 
106
106
  export type ListUserRolesRequest = {
107
107
  id?: string
108
108
  search?: string
109
- offset?: number
110
- size?: number
109
+ page?: number
110
+ page_size?: number
111
111
  type?: string
112
112
  authorized?: boolean
113
113
  }
114
114
 
115
115
  export type ListUserRolesResponse = {
116
- total?: number
116
+ pagination?: Pagination
117
117
  authorized_count?: number
118
118
  roles?: RoleInfo[]
119
119
  }
@@ -132,12 +132,12 @@ export type RoleInfo = {
132
132
  export type ListUserSubjectRequest = {
133
133
  id?: string
134
134
  search?: string
135
- offset?: number
136
- size?: number
135
+ page?: number
136
+ page_size?: number
137
137
  }
138
138
 
139
139
  export type ListUserSubjectResponse = {
140
- total?: number
140
+ pagination?: Pagination
141
141
  subjects?: UserSubject[]
142
142
  }
143
143