discord-protos 1.2.225 → 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;
@@ -616,6 +616,7 @@ message User {
616
616
  DISPLAY_NAME_FONT_RIBES = 9;
617
617
  DISPLAY_NAME_FONT_SINISTRE = 10;
618
618
  DISPLAY_NAME_FONT_ZILLA_SLAB = 12;
619
+ DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
619
620
  }
620
621
 
621
622
  enum DisplayNameEffect {
@@ -682,6 +682,7 @@ message UserData {
682
682
  DISPLAY_NAME_FONT_RIBES = 9;
683
683
  DISPLAY_NAME_FONT_SINISTRE = 10;
684
684
  DISPLAY_NAME_FONT_ZILLA_SLAB = 12;
685
+ DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
685
686
  }
686
687
 
687
688
  enum DisplayNameEffect {
@@ -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);
@@ -2435,7 +2435,11 @@ export declare enum User_DisplayNameFont {
2435
2435
  /**
2436
2436
  * @generated from protobuf enum value: DISPLAY_NAME_FONT_ZILLA_SLAB = 12;
2437
2437
  */
2438
- ZILLA_SLAB = 12
2438
+ ZILLA_SLAB = 12,
2439
+ /**
2440
+ * @generated from protobuf enum value: DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
2441
+ */
2442
+ PLAYPEN_SANS = 13
2439
2443
  }
2440
2444
  /**
2441
2445
  * @generated from protobuf enum discord_protos.users.v1.User.DisplayNameEffect
@@ -2189,6 +2189,10 @@ var User_DisplayNameFont;
2189
2189
  * @generated from protobuf enum value: DISPLAY_NAME_FONT_ZILLA_SLAB = 12;
2190
2190
  */
2191
2191
  User_DisplayNameFont[User_DisplayNameFont["ZILLA_SLAB"] = 12] = "ZILLA_SLAB";
2192
+ /**
2193
+ * @generated from protobuf enum value: DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
2194
+ */
2195
+ User_DisplayNameFont[User_DisplayNameFont["PLAYPEN_SANS"] = 13] = "PLAYPEN_SANS";
2192
2196
  })(User_DisplayNameFont || (exports.User_DisplayNameFont = User_DisplayNameFont = {}));
2193
2197
  /**
2194
2198
  * @generated from protobuf enum discord_protos.users.v1.User.DisplayNameEffect
@@ -2897,7 +2897,11 @@ export declare enum UserData_DisplayNameFont {
2897
2897
  /**
2898
2898
  * @generated from protobuf enum value: DISPLAY_NAME_FONT_ZILLA_SLAB = 12;
2899
2899
  */
2900
- ZILLA_SLAB = 12
2900
+ ZILLA_SLAB = 12,
2901
+ /**
2902
+ * @generated from protobuf enum value: DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
2903
+ */
2904
+ PLAYPEN_SANS = 13
2901
2905
  }
2902
2906
  /**
2903
2907
  * @generated from protobuf enum discord_protos.users.v1.UserData.DisplayNameEffect
@@ -2302,6 +2302,10 @@ var UserData_DisplayNameFont;
2302
2302
  * @generated from protobuf enum value: DISPLAY_NAME_FONT_ZILLA_SLAB = 12;
2303
2303
  */
2304
2304
  UserData_DisplayNameFont[UserData_DisplayNameFont["ZILLA_SLAB"] = 12] = "ZILLA_SLAB";
2305
+ /**
2306
+ * @generated from protobuf enum value: DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
2307
+ */
2308
+ UserData_DisplayNameFont[UserData_DisplayNameFont["PLAYPEN_SANS"] = 13] = "PLAYPEN_SANS";
2305
2309
  })(UserData_DisplayNameFont || (exports.UserData_DisplayNameFont = UserData_DisplayNameFont = {}));
2306
2310
  /**
2307
2311
  * @generated from protobuf enum discord_protos.users.v1.UserData.DisplayNameEffect
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.225",
3
+ "version": "1.2.227",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",