discord-protos 1.2.135 → 1.2.136
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.
|
@@ -157,6 +157,10 @@ export interface Experiment {
|
|
|
157
157
|
* @generated from protobuf field: repeated string growthbook_tags = 37 [packed = false]
|
|
158
158
|
*/
|
|
159
159
|
growthbookTags: string[];
|
|
160
|
+
/**
|
|
161
|
+
* @generated from protobuf field: bool allocate_right_to_left = 38
|
|
162
|
+
*/
|
|
163
|
+
allocateRightToLeft: boolean;
|
|
160
164
|
}
|
|
161
165
|
/**
|
|
162
166
|
* @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Bucket
|
|
@@ -260,7 +260,8 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
260
260
|
{ no: 33, name: "archive_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
261
261
|
{ no: 35, name: "guild_experiment_version", kind: "message", T: () => wrappers_3.Int32Value },
|
|
262
262
|
{ no: 36, name: "custom_unit_prefix", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.CustomUnitPrefix", Experiment_CustomUnitPrefix, "CUSTOM_UNIT_PREFIX_"] },
|
|
263
|
-
{ no: 37, name: "growthbook_tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
263
|
+
{ no: 37, name: "growthbook_tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
264
|
+
{ no: 38, name: "allocate_right_to_left", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
264
265
|
]);
|
|
265
266
|
}
|
|
266
267
|
create(value) {
|
|
@@ -293,6 +294,7 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
293
294
|
message.isAutomatedChange = false;
|
|
294
295
|
message.customUnitPrefix = 0;
|
|
295
296
|
message.growthbookTags = [];
|
|
297
|
+
message.allocateRightToLeft = false;
|
|
296
298
|
if (value !== undefined)
|
|
297
299
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
298
300
|
return message;
|
|
@@ -418,6 +420,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
418
420
|
case /* repeated string growthbook_tags = 37 [packed = false] */ 37:
|
|
419
421
|
message.growthbookTags.push(reader.string());
|
|
420
422
|
break;
|
|
423
|
+
case /* bool allocate_right_to_left */ 38:
|
|
424
|
+
message.allocateRightToLeft = reader.bool();
|
|
425
|
+
break;
|
|
421
426
|
default:
|
|
422
427
|
let u = options.readUnknownField;
|
|
423
428
|
if (u === "throw")
|
|
@@ -546,6 +551,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
546
551
|
/* repeated string growthbook_tags = 37 [packed = false]; */
|
|
547
552
|
for (let i = 0; i < message.growthbookTags.length; i++)
|
|
548
553
|
writer.tag(37, runtime_2.WireType.LengthDelimited).string(message.growthbookTags[i]);
|
|
554
|
+
/* bool allocate_right_to_left = 38; */
|
|
555
|
+
if (message.allocateRightToLeft !== false)
|
|
556
|
+
writer.tag(38, runtime_2.WireType.Varint).bool(message.allocateRightToLeft);
|
|
549
557
|
let u = options.writeUnknownFields;
|
|
550
558
|
if (u !== false)
|
|
551
559
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|