@technova-tech/olive-proto-lib 3.2.6 → 3.2.7
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/admin/admin.js +20 -0
- package/package.json +1 -1
- package/types/admin/admin.d.ts +5 -0
package/admin/admin.js
CHANGED
|
@@ -3428,6 +3428,9 @@ var com;
|
|
|
3428
3428
|
if ("adminId" in data && data.adminId != undefined) {
|
|
3429
3429
|
this.adminId = data.adminId;
|
|
3430
3430
|
}
|
|
3431
|
+
if ("isActive" in data && data.isActive != undefined) {
|
|
3432
|
+
this.isActive = data.isActive;
|
|
3433
|
+
}
|
|
3431
3434
|
}
|
|
3432
3435
|
}
|
|
3433
3436
|
get id() {
|
|
@@ -3478,6 +3481,12 @@ var com;
|
|
|
3478
3481
|
set adminId(value) {
|
|
3479
3482
|
pb_1.Message.setField(this, 8, value);
|
|
3480
3483
|
}
|
|
3484
|
+
get isActive() {
|
|
3485
|
+
return pb_1.Message.getFieldWithDefault(this, 9, 0);
|
|
3486
|
+
}
|
|
3487
|
+
set isActive(value) {
|
|
3488
|
+
pb_1.Message.setField(this, 9, value);
|
|
3489
|
+
}
|
|
3481
3490
|
static fromObject(data) {
|
|
3482
3491
|
const message = new GetAdminsRequest({});
|
|
3483
3492
|
if (data.id != null) {
|
|
@@ -3504,6 +3513,9 @@ var com;
|
|
|
3504
3513
|
if (data.adminId != null) {
|
|
3505
3514
|
message.adminId = data.adminId;
|
|
3506
3515
|
}
|
|
3516
|
+
if (data.isActive != null) {
|
|
3517
|
+
message.isActive = data.isActive;
|
|
3518
|
+
}
|
|
3507
3519
|
return message;
|
|
3508
3520
|
}
|
|
3509
3521
|
toObject() {
|
|
@@ -3532,6 +3544,9 @@ var com;
|
|
|
3532
3544
|
if (this.adminId != null) {
|
|
3533
3545
|
data.adminId = this.adminId;
|
|
3534
3546
|
}
|
|
3547
|
+
if (this.isActive != null) {
|
|
3548
|
+
data.isActive = this.isActive;
|
|
3549
|
+
}
|
|
3535
3550
|
return data;
|
|
3536
3551
|
}
|
|
3537
3552
|
serialize(w) {
|
|
@@ -3552,6 +3567,8 @@ var com;
|
|
|
3552
3567
|
writer.writeString(7, this.dataScope);
|
|
3553
3568
|
if (this.adminId.length)
|
|
3554
3569
|
writer.writeString(8, this.adminId);
|
|
3570
|
+
if (this.isActive != 0)
|
|
3571
|
+
writer.writeUint32(9, this.isActive);
|
|
3555
3572
|
if (!w)
|
|
3556
3573
|
return writer.getResultBuffer();
|
|
3557
3574
|
}
|
|
@@ -3585,6 +3602,9 @@ var com;
|
|
|
3585
3602
|
case 8:
|
|
3586
3603
|
message.adminId = reader.readString();
|
|
3587
3604
|
break;
|
|
3605
|
+
case 9:
|
|
3606
|
+
message.isActive = reader.readUint32();
|
|
3607
|
+
break;
|
|
3588
3608
|
default: reader.skipField();
|
|
3589
3609
|
}
|
|
3590
3610
|
}
|
package/package.json
CHANGED
package/types/admin/admin.d.ts
CHANGED
|
@@ -1100,6 +1100,7 @@ export declare namespace com.pkg.admin {
|
|
|
1100
1100
|
regionId?: string;
|
|
1101
1101
|
dataScope?: string;
|
|
1102
1102
|
adminId?: string;
|
|
1103
|
+
isActive?: number;
|
|
1103
1104
|
});
|
|
1104
1105
|
get id(): string;
|
|
1105
1106
|
set id(value: string);
|
|
@@ -1117,6 +1118,8 @@ export declare namespace com.pkg.admin {
|
|
|
1117
1118
|
set dataScope(value: string);
|
|
1118
1119
|
get adminId(): string;
|
|
1119
1120
|
set adminId(value: string);
|
|
1121
|
+
get isActive(): number;
|
|
1122
|
+
set isActive(value: number);
|
|
1120
1123
|
static fromObject(data: {
|
|
1121
1124
|
id?: string;
|
|
1122
1125
|
roleId?: string;
|
|
@@ -1126,6 +1129,7 @@ export declare namespace com.pkg.admin {
|
|
|
1126
1129
|
regionId?: string;
|
|
1127
1130
|
dataScope?: string;
|
|
1128
1131
|
adminId?: string;
|
|
1132
|
+
isActive?: number;
|
|
1129
1133
|
}): GetAdminsRequest;
|
|
1130
1134
|
toObject(): {
|
|
1131
1135
|
id?: string | undefined;
|
|
@@ -1136,6 +1140,7 @@ export declare namespace com.pkg.admin {
|
|
|
1136
1140
|
regionId?: string | undefined;
|
|
1137
1141
|
dataScope?: string | undefined;
|
|
1138
1142
|
adminId?: string | undefined;
|
|
1143
|
+
isActive?: number | undefined;
|
|
1139
1144
|
};
|
|
1140
1145
|
serialize(): Uint8Array;
|
|
1141
1146
|
serialize(w: pb_1.BinaryWriter): void;
|