jr-common-micro 1.1.118 → 1.1.119
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.
|
@@ -890,6 +890,7 @@ export declare class AdminModerateRequest extends Message<AdminModerateRequest>
|
|
|
890
890
|
reason: string;
|
|
891
891
|
note: string;
|
|
892
892
|
cascadeInvitees: boolean;
|
|
893
|
+
referrerCode?: string;
|
|
893
894
|
constructor(data?: PartialMessage<AdminModerateRequest>);
|
|
894
895
|
static readonly runtime: typeof proto3;
|
|
895
896
|
static readonly typeName = "micro.v1.mining.AdminModerateRequest";
|
|
@@ -1940,6 +1940,7 @@ class AdminModerateRequest extends protobuf_1.Message {
|
|
|
1940
1940
|
reason = "";
|
|
1941
1941
|
note = "";
|
|
1942
1942
|
cascadeInvitees = false;
|
|
1943
|
+
referrerCode;
|
|
1943
1944
|
constructor(data) {
|
|
1944
1945
|
super();
|
|
1945
1946
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1952,6 +1953,7 @@ class AdminModerateRequest extends protobuf_1.Message {
|
|
|
1952
1953
|
{ no: 3, name: "reason", kind: "scalar", T: 9 },
|
|
1953
1954
|
{ no: 4, name: "note", kind: "scalar", T: 9 },
|
|
1954
1955
|
{ no: 5, name: "cascade_invitees", kind: "scalar", T: 8 },
|
|
1956
|
+
{ no: 6, name: "referrer_code", kind: "scalar", T: 9, opt: true },
|
|
1955
1957
|
]);
|
|
1956
1958
|
static fromBinary(bytes, options) {
|
|
1957
1959
|
return new AdminModerateRequest().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -540,7 +540,7 @@ message AdminUsersResponse {
|
|
|
540
540
|
// A past review decision on a person.
|
|
541
541
|
message AdminActionItem {
|
|
542
542
|
string id = 1;
|
|
543
|
-
// clear | restrict | ban | unban
|
|
543
|
+
// clear | restrict | ban | unban | attach_referrer
|
|
544
544
|
string action = 2;
|
|
545
545
|
string reason = 3;
|
|
546
546
|
string note = 4;
|
|
@@ -638,6 +638,8 @@ message AdminModerateRequest {
|
|
|
638
638
|
// ban only: also ban this person's invitees that look like ghosts
|
|
639
639
|
// (never activated or on the same device), each with its own reversal.
|
|
640
640
|
bool cascade_invitees = 5;
|
|
641
|
+
// attach_referrer only: the invite code of the person to attach as referrer.
|
|
642
|
+
optional string referrer_code = 6;
|
|
641
643
|
}
|
|
642
644
|
|
|
643
645
|
// Devices with more than one mining account, a page at a time.
|