discord-protos 1.2.273 → 1.2.274
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/premium_marketing/v1/PremiumMarketingComponentProperties.proto +1 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.d.ts +4 -0
- package/dist/discord_protos/discord_experimentation/v1/Experiment.js +7 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +5 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +4 -0
- package/package.json +1 -1
|
@@ -438,6 +438,7 @@ message Experiment {
|
|
|
438
438
|
ExposureTracking exposure_tracking = 22;
|
|
439
439
|
AssignmentMode assignment_mode = 25;
|
|
440
440
|
bool enable_edit_raw_json_ui = 23;
|
|
441
|
+
optional google.protobuf.Int32Value dynamic_config_size_limit_override = 46;
|
|
441
442
|
int32 winning_variation_id = 24;
|
|
442
443
|
string extra_outcome_context = 34;
|
|
443
444
|
Type type = 26;
|
|
@@ -721,6 +721,7 @@ message PremiumMarketingComponentProperties {
|
|
|
721
721
|
DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_NEW_BADGE_PROFILE_PAGE = 799;
|
|
722
722
|
DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_PROFILE_COACHMARK = 800;
|
|
723
723
|
DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_COACHMARK = 801;
|
|
724
|
+
DISMISSIBLE_CONTENT_COD_3PP_POPOVER = 802;
|
|
724
725
|
}
|
|
725
726
|
|
|
726
727
|
message MobileBottomSheet {
|
|
@@ -105,6 +105,10 @@ export interface Experiment {
|
|
|
105
105
|
* @generated from protobuf field: bool enable_edit_raw_json_ui = 23
|
|
106
106
|
*/
|
|
107
107
|
enableEditRawJsonUi: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from protobuf field: optional google.protobuf.Int32Value dynamic_config_size_limit_override = 46
|
|
110
|
+
*/
|
|
111
|
+
dynamicConfigSizeLimitOverride?: Int32Value;
|
|
108
112
|
/**
|
|
109
113
|
* @generated from protobuf field: int32 winning_variation_id = 24
|
|
110
114
|
*/
|
|
@@ -324,6 +324,7 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
324
324
|
{ no: 22, name: "exposure_tracking", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.ExposureTracking", Experiment_ExposureTracking, "EXPOSURE_TRACKING_"] },
|
|
325
325
|
{ no: 25, name: "assignment_mode", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.AssignmentMode", Experiment_AssignmentMode, "ASSIGNMENT_MODE_"] },
|
|
326
326
|
{ no: 23, name: "enable_edit_raw_json_ui", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
327
|
+
{ no: 46, name: "dynamic_config_size_limit_override", kind: "message", T: () => wrappers_3.Int32Value },
|
|
327
328
|
{ no: 24, name: "winning_variation_id", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
328
329
|
{ no: 34, name: "extra_outcome_context", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
329
330
|
{ no: 26, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] },
|
|
@@ -462,6 +463,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
462
463
|
case /* bool enable_edit_raw_json_ui */ 23:
|
|
463
464
|
message.enableEditRawJsonUi = reader.bool();
|
|
464
465
|
break;
|
|
466
|
+
case /* optional google.protobuf.Int32Value dynamic_config_size_limit_override */ 46:
|
|
467
|
+
message.dynamicConfigSizeLimitOverride = wrappers_3.Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.dynamicConfigSizeLimitOverride);
|
|
468
|
+
break;
|
|
465
469
|
case /* int32 winning_variation_id */ 24:
|
|
466
470
|
message.winningVariationId = reader.int32();
|
|
467
471
|
break;
|
|
@@ -677,6 +681,9 @@ class Experiment$Type extends runtime_4.MessageType {
|
|
|
677
681
|
writer.int32(message.exposurePoints[i]);
|
|
678
682
|
writer.join();
|
|
679
683
|
}
|
|
684
|
+
/* optional google.protobuf.Int32Value dynamic_config_size_limit_override = 46; */
|
|
685
|
+
if (message.dynamicConfigSizeLimitOverride)
|
|
686
|
+
wrappers_3.Int32Value.internalBinaryWrite(message.dynamicConfigSizeLimitOverride, writer.tag(46, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
680
687
|
let u = options.writeUnknownFields;
|
|
681
688
|
if (u !== false)
|
|
682
689
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3446,7 +3446,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3446
3446
|
/**
|
|
3447
3447
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_COACHMARK = 801;
|
|
3448
3448
|
*/
|
|
3449
|
-
CUSTOM_TYPING_INDICATOR_MOBILE_COACHMARK = 801
|
|
3449
|
+
CUSTOM_TYPING_INDICATOR_MOBILE_COACHMARK = 801,
|
|
3450
|
+
/**
|
|
3451
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_COD_3PP_POPOVER = 802;
|
|
3452
|
+
*/
|
|
3453
|
+
COD_3PP_POPOVER = 802
|
|
3450
3454
|
}
|
|
3451
3455
|
/**
|
|
3452
3456
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2459,6 +2459,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2459
2459
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_CUSTOM_TYPING_INDICATOR_MOBILE_COACHMARK = 801;
|
|
2460
2460
|
*/
|
|
2461
2461
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["CUSTOM_TYPING_INDICATOR_MOBILE_COACHMARK"] = 801] = "CUSTOM_TYPING_INDICATOR_MOBILE_COACHMARK";
|
|
2462
|
+
/**
|
|
2463
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_COD_3PP_POPOVER = 802;
|
|
2464
|
+
*/
|
|
2465
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["COD_3PP_POPOVER"] = 802] = "COD_3PP_POPOVER";
|
|
2462
2466
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2463
2467
|
/**
|
|
2464
2468
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|