discord-protos 1.2.260 → 1.2.262
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_users/v1/PreloadedUserSettings.proto +1 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +1 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.d.ts +4 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.js +9 -1
- 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
|
@@ -731,6 +731,7 @@ message PremiumMarketingComponentProperties {
|
|
|
731
731
|
DISMISSIBLE_CONTENT_BADGE_DIRECTORY_NEW_BADGE_INDICATOR = 793;
|
|
732
732
|
DISMISSIBLE_CONTENT_NITRO_GDM_CAP_COACHMARK = 794;
|
|
733
733
|
DISMISSIBLE_CONTENT_BOUNTIES_RECURRING_SWIPE_UP_NUX = 795;
|
|
734
|
+
DISMISSIBLE_CONTENT_SHOP_THIS_LOOK_WEB_MARKETING = 796;
|
|
734
735
|
}
|
|
735
736
|
|
|
736
737
|
message MobileBottomSheet {
|
|
@@ -1191,6 +1191,10 @@ export interface PreloadedUserSettings_FavoriteChannel {
|
|
|
1191
1191
|
* @generated from protobuf field: optional google.protobuf.UInt32Value channel_type = 5
|
|
1192
1192
|
*/
|
|
1193
1193
|
channelType?: UInt32Value;
|
|
1194
|
+
/**
|
|
1195
|
+
* @generated from protobuf field: bool collapsed = 6
|
|
1196
|
+
*/
|
|
1197
|
+
collapsed: boolean;
|
|
1194
1198
|
}
|
|
1195
1199
|
/**
|
|
1196
1200
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.Favorites
|
|
@@ -3758,7 +3758,8 @@ class PreloadedUserSettings_FavoriteChannel$Type extends runtime_4.MessageType {
|
|
|
3758
3758
|
{ no: 2, name: "type", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.FavoriteChannelType", PreloadedUserSettings_FavoriteChannelType, "FAVORITE_CHANNEL_TYPE_"] },
|
|
3759
3759
|
{ no: 3, name: "position", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3760
3760
|
{ no: 4, name: "parent_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ },
|
|
3761
|
-
{ no: 5, name: "channel_type", kind: "message", T: () => wrappers_4.UInt32Value }
|
|
3761
|
+
{ no: 5, name: "channel_type", kind: "message", T: () => wrappers_4.UInt32Value },
|
|
3762
|
+
{ no: 6, name: "collapsed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3762
3763
|
]);
|
|
3763
3764
|
}
|
|
3764
3765
|
create(value) {
|
|
@@ -3767,6 +3768,7 @@ class PreloadedUserSettings_FavoriteChannel$Type extends runtime_4.MessageType {
|
|
|
3767
3768
|
message.type = 0;
|
|
3768
3769
|
message.position = 0;
|
|
3769
3770
|
message.parentId = 0n;
|
|
3771
|
+
message.collapsed = false;
|
|
3770
3772
|
if (value !== undefined)
|
|
3771
3773
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3772
3774
|
return message;
|
|
@@ -3791,6 +3793,9 @@ class PreloadedUserSettings_FavoriteChannel$Type extends runtime_4.MessageType {
|
|
|
3791
3793
|
case /* optional google.protobuf.UInt32Value channel_type */ 5:
|
|
3792
3794
|
message.channelType = wrappers_4.UInt32Value.internalBinaryRead(reader, reader.uint32(), options, message.channelType);
|
|
3793
3795
|
break;
|
|
3796
|
+
case /* bool collapsed */ 6:
|
|
3797
|
+
message.collapsed = reader.bool();
|
|
3798
|
+
break;
|
|
3794
3799
|
default:
|
|
3795
3800
|
let u = options.readUnknownField;
|
|
3796
3801
|
if (u === "throw")
|
|
@@ -3818,6 +3823,9 @@ class PreloadedUserSettings_FavoriteChannel$Type extends runtime_4.MessageType {
|
|
|
3818
3823
|
/* optional google.protobuf.UInt32Value channel_type = 5; */
|
|
3819
3824
|
if (message.channelType)
|
|
3820
3825
|
wrappers_4.UInt32Value.internalBinaryWrite(message.channelType, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3826
|
+
/* bool collapsed = 6; */
|
|
3827
|
+
if (message.collapsed !== false)
|
|
3828
|
+
writer.tag(6, runtime_1.WireType.Varint).bool(message.collapsed);
|
|
3821
3829
|
let u = options.writeUnknownFields;
|
|
3822
3830
|
if (u !== false)
|
|
3823
3831
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3475,7 +3475,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3475
3475
|
/**
|
|
3476
3476
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_BOUNTIES_RECURRING_SWIPE_UP_NUX = 795;
|
|
3477
3477
|
*/
|
|
3478
|
-
BOUNTIES_RECURRING_SWIPE_UP_NUX = 795
|
|
3478
|
+
BOUNTIES_RECURRING_SWIPE_UP_NUX = 795,
|
|
3479
|
+
/**
|
|
3480
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SHOP_THIS_LOOK_WEB_MARKETING = 796;
|
|
3481
|
+
*/
|
|
3482
|
+
SHOP_THIS_LOOK_WEB_MARKETING = 796
|
|
3479
3483
|
}
|
|
3480
3484
|
/**
|
|
3481
3485
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2435,6 +2435,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2435
2435
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_BOUNTIES_RECURRING_SWIPE_UP_NUX = 795;
|
|
2436
2436
|
*/
|
|
2437
2437
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["BOUNTIES_RECURRING_SWIPE_UP_NUX"] = 795] = "BOUNTIES_RECURRING_SWIPE_UP_NUX";
|
|
2438
|
+
/**
|
|
2439
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_SHOP_THIS_LOOK_WEB_MARKETING = 796;
|
|
2440
|
+
*/
|
|
2441
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["SHOP_THIS_LOOK_WEB_MARKETING"] = 796] = "SHOP_THIS_LOOK_WEB_MARKETING";
|
|
2438
2442
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2439
2443
|
/**
|
|
2440
2444
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|