discord-protos 1.2.188 → 1.2.190
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 +2 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +2 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +8 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +18 -2
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +9 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +8 -0
- package/package.json +1 -1
|
@@ -51,6 +51,7 @@ message Experiment {
|
|
|
51
51
|
int32 start = 1;
|
|
52
52
|
int32 stop = 2;
|
|
53
53
|
Type type = 3;
|
|
54
|
+
fixed64 owning_experiment_id = 4;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
message Variation {
|
|
@@ -417,4 +418,5 @@ message Experiment {
|
|
|
417
418
|
repeated string growthbook_tags = 37 [packed = false];
|
|
418
419
|
bool allocate_right_to_left = 38;
|
|
419
420
|
bool is_managed = 39;
|
|
421
|
+
fixed64 number_line_id = 41;
|
|
420
422
|
}
|
|
@@ -653,6 +653,8 @@ message PremiumMarketingComponentProperties {
|
|
|
653
653
|
DISMISSIBLE_CONTENT_BOUNTIES_NUX_PROMO_SHEET = 751;
|
|
654
654
|
DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_ORBS_PURCHASE_COACHMARK = 752;
|
|
655
655
|
DISMISSIBLE_CONTENT_CLIPS_PRIMARY_ENTRY_POINT_COACHMARK = 753;
|
|
656
|
+
DISMISSIBLE_CONTENT_GUILD_THEME_NUX = 754;
|
|
657
|
+
DISMISSIBLE_CONTENT_GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755;
|
|
656
658
|
}
|
|
657
659
|
|
|
658
660
|
message MobileBottomSheet {
|
|
@@ -165,6 +165,10 @@ export interface Experiment {
|
|
|
165
165
|
* @generated from protobuf field: bool is_managed = 39
|
|
166
166
|
*/
|
|
167
167
|
isManaged: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* @generated from protobuf field: fixed64 number_line_id = 41
|
|
170
|
+
*/
|
|
171
|
+
numberLineId: bigint;
|
|
168
172
|
}
|
|
169
173
|
/**
|
|
170
174
|
* @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Bucket
|
|
@@ -182,6 +186,10 @@ export interface Experiment_Bucket {
|
|
|
182
186
|
* @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.Type type = 3
|
|
183
187
|
*/
|
|
184
188
|
type: Experiment_Type;
|
|
189
|
+
/**
|
|
190
|
+
* @generated from protobuf field: fixed64 owning_experiment_id = 4
|
|
191
|
+
*/
|
|
192
|
+
owningExperimentId: bigint;
|
|
185
193
|
}
|
|
186
194
|
/**
|
|
187
195
|
* @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Variation
|
|
@@ -280,7 +280,8 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
280
280
|
{ no: 36, name: "custom_unit_prefix", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.CustomUnitPrefix", Experiment_CustomUnitPrefix, "CUSTOM_UNIT_PREFIX_"] },
|
|
281
281
|
{ no: 37, name: "growthbook_tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
282
282
|
{ no: 38, name: "allocate_right_to_left", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
283
|
-
{ no: 39, name: "is_managed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
283
|
+
{ no: 39, name: "is_managed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
284
|
+
{ no: 41, name: "number_line_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ }
|
|
284
285
|
]);
|
|
285
286
|
}
|
|
286
287
|
create(value) {
|
|
@@ -315,6 +316,7 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
315
316
|
message.growthbookTags = [];
|
|
316
317
|
message.allocateRightToLeft = false;
|
|
317
318
|
message.isManaged = false;
|
|
319
|
+
message.numberLineId = 0n;
|
|
318
320
|
if (value !== undefined)
|
|
319
321
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
320
322
|
return message;
|
|
@@ -446,6 +448,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
446
448
|
case /* bool is_managed */ 39:
|
|
447
449
|
message.isManaged = reader.bool();
|
|
448
450
|
break;
|
|
451
|
+
case /* fixed64 number_line_id */ 41:
|
|
452
|
+
message.numberLineId = reader.fixed64().toBigInt();
|
|
453
|
+
break;
|
|
449
454
|
default:
|
|
450
455
|
let u = options.readUnknownField;
|
|
451
456
|
if (u === "throw")
|
|
@@ -580,6 +585,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
580
585
|
/* bool is_managed = 39; */
|
|
581
586
|
if (message.isManaged !== false)
|
|
582
587
|
writer.tag(39, runtime_2.WireType.Varint).bool(message.isManaged);
|
|
588
|
+
/* fixed64 number_line_id = 41; */
|
|
589
|
+
if (message.numberLineId !== 0n)
|
|
590
|
+
writer.tag(41, runtime_2.WireType.Bit64).fixed64(message.numberLineId);
|
|
583
591
|
let u = options.writeUnknownFields;
|
|
584
592
|
if (u !== false)
|
|
585
593
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -596,7 +604,8 @@ class Experiment_Bucket$Type extends runtime_4.MessageType {
|
|
|
596
604
|
super("discord_protos.discord_experimentation.v1.Experiment.Bucket", [
|
|
597
605
|
{ no: 1, name: "start", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
598
606
|
{ no: 2, name: "stop", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
599
|
-
{ no: 3, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] }
|
|
607
|
+
{ no: 3, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] },
|
|
608
|
+
{ no: 4, name: "owning_experiment_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ }
|
|
600
609
|
]);
|
|
601
610
|
}
|
|
602
611
|
create(value) {
|
|
@@ -604,6 +613,7 @@ class Experiment_Bucket$Type extends runtime_4.MessageType {
|
|
|
604
613
|
message.start = 0;
|
|
605
614
|
message.stop = 0;
|
|
606
615
|
message.type = 0;
|
|
616
|
+
message.owningExperimentId = 0n;
|
|
607
617
|
if (value !== undefined)
|
|
608
618
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
609
619
|
return message;
|
|
@@ -622,6 +632,9 @@ class Experiment_Bucket$Type extends runtime_4.MessageType {
|
|
|
622
632
|
case /* discord_protos.discord_experimentation.v1.Experiment.Type type */ 3:
|
|
623
633
|
message.type = reader.int32();
|
|
624
634
|
break;
|
|
635
|
+
case /* fixed64 owning_experiment_id */ 4:
|
|
636
|
+
message.owningExperimentId = reader.fixed64().toBigInt();
|
|
637
|
+
break;
|
|
625
638
|
default:
|
|
626
639
|
let u = options.readUnknownField;
|
|
627
640
|
if (u === "throw")
|
|
@@ -643,6 +656,9 @@ class Experiment_Bucket$Type extends runtime_4.MessageType {
|
|
|
643
656
|
/* discord_protos.discord_experimentation.v1.Experiment.Type type = 3; */
|
|
644
657
|
if (message.type !== 0)
|
|
645
658
|
writer.tag(3, runtime_2.WireType.Varint).int32(message.type);
|
|
659
|
+
/* fixed64 owning_experiment_id = 4; */
|
|
660
|
+
if (message.owningExperimentId !== 0n)
|
|
661
|
+
writer.tag(4, runtime_2.WireType.Bit64).fixed64(message.owningExperimentId);
|
|
646
662
|
let u = options.writeUnknownFields;
|
|
647
663
|
if (u !== false)
|
|
648
664
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2983,7 +2983,15 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
2983
2983
|
/**
|
|
2984
2984
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CLIPS_PRIMARY_ENTRY_POINT_COACHMARK = 753;
|
|
2985
2985
|
*/
|
|
2986
|
-
CLIPS_PRIMARY_ENTRY_POINT_COACHMARK = 753
|
|
2986
|
+
CLIPS_PRIMARY_ENTRY_POINT_COACHMARK = 753,
|
|
2987
|
+
/**
|
|
2988
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_THEME_NUX = 754;
|
|
2989
|
+
*/
|
|
2990
|
+
GUILD_THEME_NUX = 754,
|
|
2991
|
+
/**
|
|
2992
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755;
|
|
2993
|
+
*/
|
|
2994
|
+
GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755
|
|
2987
2995
|
}
|
|
2988
2996
|
declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
|
|
2989
2997
|
constructor();
|
|
@@ -2244,6 +2244,14 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2244
2244
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CLIPS_PRIMARY_ENTRY_POINT_COACHMARK = 753;
|
|
2245
2245
|
*/
|
|
2246
2246
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["CLIPS_PRIMARY_ENTRY_POINT_COACHMARK"] = 753] = "CLIPS_PRIMARY_ENTRY_POINT_COACHMARK";
|
|
2247
|
+
/**
|
|
2248
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_THEME_NUX = 754;
|
|
2249
|
+
*/
|
|
2250
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GUILD_THEME_NUX"] = 754] = "GUILD_THEME_NUX";
|
|
2251
|
+
/**
|
|
2252
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_GUILD_SETTINGS_GUILD_THEME_NEW_BADGE = 755;
|
|
2253
|
+
*/
|
|
2254
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["GUILD_SETTINGS_GUILD_THEME_NEW_BADGE"] = 755] = "GUILD_SETTINGS_GUILD_THEME_NEW_BADGE";
|
|
2247
2255
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2248
2256
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2249
2257
|
class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|