discord-protos 1.2.226 → 1.2.227
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.
|
@@ -441,6 +441,7 @@ message Experiment {
|
|
|
441
441
|
optional DebugConfig debug_config = 30;
|
|
442
442
|
optional google.protobuf.Timestamp expected_end_date = 31;
|
|
443
443
|
bool is_automated_change = 32;
|
|
444
|
+
bool suppress_editor_mention = 44;
|
|
444
445
|
optional google.protobuf.Timestamp archive_at = 33;
|
|
445
446
|
optional google.protobuf.Int32Value guild_experiment_version = 35;
|
|
446
447
|
CustomUnitPrefix custom_unit_prefix = 36;
|
|
@@ -141,6 +141,10 @@ export interface Experiment {
|
|
|
141
141
|
* @generated from protobuf field: bool is_automated_change = 32
|
|
142
142
|
*/
|
|
143
143
|
isAutomatedChange: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* @generated from protobuf field: bool suppress_editor_mention = 44
|
|
146
|
+
*/
|
|
147
|
+
suppressEditorMention: boolean;
|
|
144
148
|
/**
|
|
145
149
|
* @generated from protobuf field: optional google.protobuf.Timestamp archive_at = 33
|
|
146
150
|
*/
|
|
@@ -315,6 +315,7 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
315
315
|
{ no: 30, name: "debug_config", kind: "message", T: () => exports.Experiment_DebugConfig },
|
|
316
316
|
{ no: 31, name: "expected_end_date", kind: "message", T: () => timestamp_1.Timestamp },
|
|
317
317
|
{ no: 32, name: "is_automated_change", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
318
|
+
{ no: 44, name: "suppress_editor_mention", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
318
319
|
{ no: 33, name: "archive_at", kind: "message", T: () => timestamp_1.Timestamp },
|
|
319
320
|
{ no: 35, name: "guild_experiment_version", kind: "message", T: () => wrappers_3.Int32Value },
|
|
320
321
|
{ no: 36, name: "custom_unit_prefix", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.CustomUnitPrefix", Experiment_CustomUnitPrefix, "CUSTOM_UNIT_PREFIX_"] },
|
|
@@ -353,6 +354,7 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
353
354
|
message.fieldNumbersToCopy = [];
|
|
354
355
|
message.engineFeatureFlags = [];
|
|
355
356
|
message.isAutomatedChange = false;
|
|
357
|
+
message.suppressEditorMention = false;
|
|
356
358
|
message.customUnitPrefix = 0;
|
|
357
359
|
message.growthbookTags = [];
|
|
358
360
|
message.allocateRightToLeft = false;
|
|
@@ -471,6 +473,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
471
473
|
case /* bool is_automated_change */ 32:
|
|
472
474
|
message.isAutomatedChange = reader.bool();
|
|
473
475
|
break;
|
|
476
|
+
case /* bool suppress_editor_mention */ 44:
|
|
477
|
+
message.suppressEditorMention = reader.bool();
|
|
478
|
+
break;
|
|
474
479
|
case /* optional google.protobuf.Timestamp archive_at */ 33:
|
|
475
480
|
message.archiveAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.archiveAt);
|
|
476
481
|
break;
|
|
@@ -635,6 +640,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
635
640
|
/* optional discord_protos.discord_experimentation.v1.Experiment.NumberLineSettings number_line_settings = 43; */
|
|
636
641
|
if (message.numberLineSettings)
|
|
637
642
|
exports.Experiment_NumberLineSettings.internalBinaryWrite(message.numberLineSettings, writer.tag(43, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
643
|
+
/* bool suppress_editor_mention = 44; */
|
|
644
|
+
if (message.suppressEditorMention !== false)
|
|
645
|
+
writer.tag(44, runtime_2.WireType.Varint).bool(message.suppressEditorMention);
|
|
638
646
|
let u = options.writeUnknownFields;
|
|
639
647
|
if (u !== false)
|
|
640
648
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|