jr-common-micro 1.1.108 → 1.1.109
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.
|
@@ -283,6 +283,7 @@ export interface AdminTopReferrer {
|
|
|
283
283
|
referrals: number;
|
|
284
284
|
active_rate: string;
|
|
285
285
|
earned: string;
|
|
286
|
+
avatar_id: string;
|
|
286
287
|
}
|
|
287
288
|
export interface AdminOverviewResponse {
|
|
288
289
|
status: ResponseStatus | undefined;
|
|
@@ -351,6 +352,7 @@ export interface AdminUserItem {
|
|
|
351
352
|
risk_score: number;
|
|
352
353
|
referred_by_username: string;
|
|
353
354
|
status_at: string;
|
|
355
|
+
avatar_id: string;
|
|
354
356
|
}
|
|
355
357
|
export interface AdminUsersResponse {
|
|
356
358
|
status: ResponseStatus | undefined;
|
|
@@ -572,6 +572,7 @@ export declare class AdminTopReferrer extends Message<AdminTopReferrer> {
|
|
|
572
572
|
referrals: number;
|
|
573
573
|
activeRate: string;
|
|
574
574
|
earned: string;
|
|
575
|
+
avatarId: string;
|
|
575
576
|
constructor(data?: PartialMessage<AdminTopReferrer>);
|
|
576
577
|
static readonly runtime: typeof proto3;
|
|
577
578
|
static readonly typeName = "micro.v1.mining.AdminTopReferrer";
|
|
@@ -704,6 +705,7 @@ export declare class AdminUserItem extends Message<AdminUserItem> {
|
|
|
704
705
|
riskScore: number;
|
|
705
706
|
referredByUsername: string;
|
|
706
707
|
statusAt: string;
|
|
708
|
+
avatarId: string;
|
|
707
709
|
constructor(data?: PartialMessage<AdminUserItem>);
|
|
708
710
|
static readonly runtime: typeof proto3;
|
|
709
711
|
static readonly typeName = "micro.v1.mining.AdminUserItem";
|
|
@@ -1248,6 +1248,7 @@ class AdminTopReferrer extends protobuf_1.Message {
|
|
|
1248
1248
|
referrals = 0;
|
|
1249
1249
|
activeRate = "";
|
|
1250
1250
|
earned = "";
|
|
1251
|
+
avatarId = "";
|
|
1251
1252
|
constructor(data) {
|
|
1252
1253
|
super();
|
|
1253
1254
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1260,6 +1261,7 @@ class AdminTopReferrer extends protobuf_1.Message {
|
|
|
1260
1261
|
{ no: 3, name: "referrals", kind: "scalar", T: 5 },
|
|
1261
1262
|
{ no: 4, name: "active_rate", kind: "scalar", T: 9 },
|
|
1262
1263
|
{ no: 5, name: "earned", kind: "scalar", T: 9 },
|
|
1264
|
+
{ no: 6, name: "avatar_id", kind: "scalar", T: 9 },
|
|
1263
1265
|
]);
|
|
1264
1266
|
static fromBinary(bytes, options) {
|
|
1265
1267
|
return new AdminTopReferrer().fromBinary(bytes, options);
|
|
@@ -1520,6 +1522,7 @@ class AdminUserItem extends protobuf_1.Message {
|
|
|
1520
1522
|
riskScore = 0;
|
|
1521
1523
|
referredByUsername = "";
|
|
1522
1524
|
statusAt = "";
|
|
1525
|
+
avatarId = "";
|
|
1523
1526
|
constructor(data) {
|
|
1524
1527
|
super();
|
|
1525
1528
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1548,6 +1551,7 @@ class AdminUserItem extends protobuf_1.Message {
|
|
|
1548
1551
|
{ no: 20, name: "risk_score", kind: "scalar", T: 5 },
|
|
1549
1552
|
{ no: 19, name: "referred_by_username", kind: "scalar", T: 9 },
|
|
1550
1553
|
{ no: 21, name: "status_at", kind: "scalar", T: 9 },
|
|
1554
|
+
{ no: 22, name: "avatar_id", kind: "scalar", T: 9 },
|
|
1551
1555
|
]);
|
|
1552
1556
|
static fromBinary(bytes, options) {
|
|
1553
1557
|
return new AdminUserItem().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -409,6 +409,8 @@ message AdminTopReferrer {
|
|
|
409
409
|
int32 referrals = 3;
|
|
410
410
|
string active_rate = 4;
|
|
411
411
|
string earned = 5;
|
|
412
|
+
// As on AdminUserItem.
|
|
413
|
+
string avatar_id = 6;
|
|
412
414
|
}
|
|
413
415
|
|
|
414
416
|
message AdminOverviewResponse {
|
|
@@ -506,6 +508,9 @@ message AdminUserItem {
|
|
|
506
508
|
// restrict, ban, unban); empty = nobody has decided on it yet. Tells a
|
|
507
509
|
// "normal" that was checked and cleared from one never looked at.
|
|
508
510
|
string status_at = 21;
|
|
511
|
+
// The person's profile avatar: a preset id the apps draw as an emoji on
|
|
512
|
+
// a colour (user_profiles.avatar_id); empty = the default one.
|
|
513
|
+
string avatar_id = 22;
|
|
509
514
|
}
|
|
510
515
|
|
|
511
516
|
message AdminUsersResponse {
|