@aepstore-dev/contracts 1.89.0 → 1.91.0
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/gen/users.d.ts +5 -0
- package/gen/users.ts +5 -0
- package/package.json +1 -1
- package/proto/users.proto +14 -10
package/gen/users.d.ts
CHANGED
|
@@ -41,6 +41,10 @@ export interface User {
|
|
|
41
41
|
banReason: string;
|
|
42
42
|
fullName: string;
|
|
43
43
|
avatarBorder: string;
|
|
44
|
+
/** Decimal as string */
|
|
45
|
+
rating: string;
|
|
46
|
+
subscribersCount: number;
|
|
47
|
+
productsCount: number;
|
|
44
48
|
}
|
|
45
49
|
export interface BanUserRequest {
|
|
46
50
|
adminId: string;
|
|
@@ -245,6 +249,7 @@ export interface GetUsersRequest {
|
|
|
245
249
|
limit: string;
|
|
246
250
|
search: string;
|
|
247
251
|
roleName: string;
|
|
252
|
+
fullName: string;
|
|
248
253
|
}
|
|
249
254
|
export interface GetUsersResponse {
|
|
250
255
|
items: User[];
|
package/gen/users.ts
CHANGED
|
@@ -55,6 +55,10 @@ export interface User {
|
|
|
55
55
|
banReason: string;
|
|
56
56
|
fullName: string;
|
|
57
57
|
avatarBorder: string;
|
|
58
|
+
/** Decimal as string */
|
|
59
|
+
rating: string;
|
|
60
|
+
subscribersCount: number;
|
|
61
|
+
productsCount: number;
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
export interface BanUserRequest {
|
|
@@ -282,6 +286,7 @@ export interface GetUsersRequest {
|
|
|
282
286
|
limit: string;
|
|
283
287
|
search: string;
|
|
284
288
|
roleName: string;
|
|
289
|
+
fullName: string;
|
|
285
290
|
}
|
|
286
291
|
|
|
287
292
|
export interface GetUsersResponse {
|
package/package.json
CHANGED
package/proto/users.proto
CHANGED
|
@@ -74,10 +74,10 @@ message Ok { bool ok = 1; }
|
|
|
74
74
|
// Common types
|
|
75
75
|
// =================================================================
|
|
76
76
|
|
|
77
|
-
message User {
|
|
78
|
-
string id = 1;
|
|
79
|
-
string email = 2;
|
|
80
|
-
string username = 3;
|
|
77
|
+
message User {
|
|
78
|
+
string id = 1;
|
|
79
|
+
string email = 2;
|
|
80
|
+
string username = 3;
|
|
81
81
|
string avatar_url = 4;
|
|
82
82
|
repeated string roles = 5;
|
|
83
83
|
reserved 6;
|
|
@@ -89,6 +89,9 @@ message User {
|
|
|
89
89
|
string ban_reason = 11;
|
|
90
90
|
string full_name = 12;
|
|
91
91
|
string avatar_border = 13;
|
|
92
|
+
string rating = 14; // Decimal as string
|
|
93
|
+
int32 subscribers_count = 15;
|
|
94
|
+
int32 products_count = 16;
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
message BanUserRequest {
|
|
@@ -302,12 +305,13 @@ message UpdateUserRoleRequest {
|
|
|
302
305
|
// GetUsers (paginated)
|
|
303
306
|
// =================================================================
|
|
304
307
|
|
|
305
|
-
message GetUsersRequest {
|
|
306
|
-
string page = 1;
|
|
307
|
-
string limit = 2;
|
|
308
|
-
string search = 3;
|
|
309
|
-
string role_name = 4;
|
|
310
|
-
|
|
308
|
+
message GetUsersRequest {
|
|
309
|
+
string page = 1;
|
|
310
|
+
string limit = 2;
|
|
311
|
+
string search = 3;
|
|
312
|
+
string role_name = 4;
|
|
313
|
+
string full_name = 5;
|
|
314
|
+
}
|
|
311
315
|
|
|
312
316
|
message GetUsersResponse {
|
|
313
317
|
repeated User items = 1;
|