discord-protos 1.2.226 → 1.2.228
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/discord_protos/discord_experimentation/v1/Experiment.proto +1 -0
- package/discord_protos/users/v1/User.proto +3 -0
- package/discord_protos/users/v1/UserData.proto +3 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +4 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +8 -0
- package/dist/discord_protos/users/v1/User.d.ts +13 -1
- package/dist/discord_protos/users/v1/User.js +12 -0
- package/dist/discord_protos/users/v1/UserData.d.ts +13 -1
- package/dist/discord_protos/users/v1/UserData.js +12 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -617,6 +617,9 @@ message User {
|
|
|
617
617
|
DISPLAY_NAME_FONT_SINISTRE = 10;
|
|
618
618
|
DISPLAY_NAME_FONT_ZILLA_SLAB = 12;
|
|
619
619
|
DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
|
|
620
|
+
DISPLAY_NAME_FONT_ORBITRON = 14;
|
|
621
|
+
DISPLAY_NAME_FONT_NEW_ROCKER = 15;
|
|
622
|
+
DISPLAY_NAME_FONT_KALAM = 16;
|
|
620
623
|
}
|
|
621
624
|
|
|
622
625
|
enum DisplayNameEffect {
|
|
@@ -683,6 +683,9 @@ message UserData {
|
|
|
683
683
|
DISPLAY_NAME_FONT_SINISTRE = 10;
|
|
684
684
|
DISPLAY_NAME_FONT_ZILLA_SLAB = 12;
|
|
685
685
|
DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
|
|
686
|
+
DISPLAY_NAME_FONT_ORBITRON = 14;
|
|
687
|
+
DISPLAY_NAME_FONT_NEW_ROCKER = 15;
|
|
688
|
+
DISPLAY_NAME_FONT_KALAM = 16;
|
|
686
689
|
}
|
|
687
690
|
|
|
688
691
|
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);
|
|
@@ -2439,7 +2439,19 @@ export declare enum User_DisplayNameFont {
|
|
|
2439
2439
|
/**
|
|
2440
2440
|
* @generated from protobuf enum value: DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
|
|
2441
2441
|
*/
|
|
2442
|
-
PLAYPEN_SANS = 13
|
|
2442
|
+
PLAYPEN_SANS = 13,
|
|
2443
|
+
/**
|
|
2444
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_ORBITRON = 14;
|
|
2445
|
+
*/
|
|
2446
|
+
ORBITRON = 14,
|
|
2447
|
+
/**
|
|
2448
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_NEW_ROCKER = 15;
|
|
2449
|
+
*/
|
|
2450
|
+
NEW_ROCKER = 15,
|
|
2451
|
+
/**
|
|
2452
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_KALAM = 16;
|
|
2453
|
+
*/
|
|
2454
|
+
KALAM = 16
|
|
2443
2455
|
}
|
|
2444
2456
|
/**
|
|
2445
2457
|
* @generated from protobuf enum discord_protos.users.v1.User.DisplayNameEffect
|
|
@@ -2193,6 +2193,18 @@ var User_DisplayNameFont;
|
|
|
2193
2193
|
* @generated from protobuf enum value: DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
|
|
2194
2194
|
*/
|
|
2195
2195
|
User_DisplayNameFont[User_DisplayNameFont["PLAYPEN_SANS"] = 13] = "PLAYPEN_SANS";
|
|
2196
|
+
/**
|
|
2197
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_ORBITRON = 14;
|
|
2198
|
+
*/
|
|
2199
|
+
User_DisplayNameFont[User_DisplayNameFont["ORBITRON"] = 14] = "ORBITRON";
|
|
2200
|
+
/**
|
|
2201
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_NEW_ROCKER = 15;
|
|
2202
|
+
*/
|
|
2203
|
+
User_DisplayNameFont[User_DisplayNameFont["NEW_ROCKER"] = 15] = "NEW_ROCKER";
|
|
2204
|
+
/**
|
|
2205
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_KALAM = 16;
|
|
2206
|
+
*/
|
|
2207
|
+
User_DisplayNameFont[User_DisplayNameFont["KALAM"] = 16] = "KALAM";
|
|
2196
2208
|
})(User_DisplayNameFont || (exports.User_DisplayNameFont = User_DisplayNameFont = {}));
|
|
2197
2209
|
/**
|
|
2198
2210
|
* @generated from protobuf enum discord_protos.users.v1.User.DisplayNameEffect
|
|
@@ -2901,7 +2901,19 @@ export declare enum UserData_DisplayNameFont {
|
|
|
2901
2901
|
/**
|
|
2902
2902
|
* @generated from protobuf enum value: DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
|
|
2903
2903
|
*/
|
|
2904
|
-
PLAYPEN_SANS = 13
|
|
2904
|
+
PLAYPEN_SANS = 13,
|
|
2905
|
+
/**
|
|
2906
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_ORBITRON = 14;
|
|
2907
|
+
*/
|
|
2908
|
+
ORBITRON = 14,
|
|
2909
|
+
/**
|
|
2910
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_NEW_ROCKER = 15;
|
|
2911
|
+
*/
|
|
2912
|
+
NEW_ROCKER = 15,
|
|
2913
|
+
/**
|
|
2914
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_KALAM = 16;
|
|
2915
|
+
*/
|
|
2916
|
+
KALAM = 16
|
|
2905
2917
|
}
|
|
2906
2918
|
/**
|
|
2907
2919
|
* @generated from protobuf enum discord_protos.users.v1.UserData.DisplayNameEffect
|
|
@@ -2306,6 +2306,18 @@ var UserData_DisplayNameFont;
|
|
|
2306
2306
|
* @generated from protobuf enum value: DISPLAY_NAME_FONT_PLAYPEN_SANS = 13;
|
|
2307
2307
|
*/
|
|
2308
2308
|
UserData_DisplayNameFont[UserData_DisplayNameFont["PLAYPEN_SANS"] = 13] = "PLAYPEN_SANS";
|
|
2309
|
+
/**
|
|
2310
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_ORBITRON = 14;
|
|
2311
|
+
*/
|
|
2312
|
+
UserData_DisplayNameFont[UserData_DisplayNameFont["ORBITRON"] = 14] = "ORBITRON";
|
|
2313
|
+
/**
|
|
2314
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_NEW_ROCKER = 15;
|
|
2315
|
+
*/
|
|
2316
|
+
UserData_DisplayNameFont[UserData_DisplayNameFont["NEW_ROCKER"] = 15] = "NEW_ROCKER";
|
|
2317
|
+
/**
|
|
2318
|
+
* @generated from protobuf enum value: DISPLAY_NAME_FONT_KALAM = 16;
|
|
2319
|
+
*/
|
|
2320
|
+
UserData_DisplayNameFont[UserData_DisplayNameFont["KALAM"] = 16] = "KALAM";
|
|
2309
2321
|
})(UserData_DisplayNameFont || (exports.UserData_DisplayNameFont = UserData_DisplayNameFont = {}));
|
|
2310
2322
|
/**
|
|
2311
2323
|
* @generated from protobuf enum discord_protos.users.v1.UserData.DisplayNameEffect
|