@aepstore-dev/contracts 1.90.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 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;
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.90.0",
3
+ "version": "1.91.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
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 {