discord-protos 1.2.228 → 1.2.229
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 +8 -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
|
@@ -691,6 +691,7 @@ message PremiumMarketingComponentProperties {
|
|
|
691
691
|
DISMISSIBLE_CONTENT_BOUNTIES_SWIPE_UP_NUX = 766;
|
|
692
692
|
DISMISSIBLE_CONTENT_IN_APP_NOTIFICATION_EXPAND_NUX = 767;
|
|
693
693
|
DISMISSIBLE_CONTENT_PREMIUM_OFFER_TAB_BADGE_POPOVER = 768;
|
|
694
|
+
DISMISSIBLE_CONTENT_HOME_DRAWER_SWIPE_PEEK_NUX = 769;
|
|
694
695
|
}
|
|
695
696
|
|
|
696
697
|
message MobileBottomSheet {
|
|
@@ -1187,6 +1187,10 @@ export interface PreloadedUserSettings_FavoriteChannel {
|
|
|
1187
1187
|
* @generated from protobuf field: fixed64 parent_id = 4
|
|
1188
1188
|
*/
|
|
1189
1189
|
parentId: bigint;
|
|
1190
|
+
/**
|
|
1191
|
+
* @generated from protobuf field: optional google.protobuf.UInt32Value channel_type = 5
|
|
1192
|
+
*/
|
|
1193
|
+
channelType?: UInt32Value;
|
|
1190
1194
|
}
|
|
1191
1195
|
/**
|
|
1192
1196
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.Favorites
|
|
@@ -3757,7 +3757,8 @@ class PreloadedUserSettings_FavoriteChannel$Type extends runtime_4.MessageType {
|
|
|
3757
3757
|
{ no: 1, name: "nickname", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
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
|
-
{ no: 4, name: "parent_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ }
|
|
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
3762
|
]);
|
|
3762
3763
|
}
|
|
3763
3764
|
create(value) {
|
|
@@ -3787,6 +3788,9 @@ class PreloadedUserSettings_FavoriteChannel$Type extends runtime_4.MessageType {
|
|
|
3787
3788
|
case /* fixed64 parent_id */ 4:
|
|
3788
3789
|
message.parentId = reader.fixed64().toBigInt();
|
|
3789
3790
|
break;
|
|
3791
|
+
case /* optional google.protobuf.UInt32Value channel_type */ 5:
|
|
3792
|
+
message.channelType = wrappers_4.UInt32Value.internalBinaryRead(reader, reader.uint32(), options, message.channelType);
|
|
3793
|
+
break;
|
|
3790
3794
|
default:
|
|
3791
3795
|
let u = options.readUnknownField;
|
|
3792
3796
|
if (u === "throw")
|
|
@@ -3811,6 +3815,9 @@ class PreloadedUserSettings_FavoriteChannel$Type extends runtime_4.MessageType {
|
|
|
3811
3815
|
/* fixed64 parent_id = 4; */
|
|
3812
3816
|
if (message.parentId !== 0n)
|
|
3813
3817
|
writer.tag(4, runtime_1.WireType.Bit64).fixed64(message.parentId);
|
|
3818
|
+
/* optional google.protobuf.UInt32Value channel_type = 5; */
|
|
3819
|
+
if (message.channelType)
|
|
3820
|
+
wrappers_4.UInt32Value.internalBinaryWrite(message.channelType, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3814
3821
|
let u = options.writeUnknownFields;
|
|
3815
3822
|
if (u !== false)
|
|
3816
3823
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3234,7 +3234,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
3234
3234
|
/**
|
|
3235
3235
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_PREMIUM_OFFER_TAB_BADGE_POPOVER = 768;
|
|
3236
3236
|
*/
|
|
3237
|
-
PREMIUM_OFFER_TAB_BADGE_POPOVER = 768
|
|
3237
|
+
PREMIUM_OFFER_TAB_BADGE_POPOVER = 768,
|
|
3238
|
+
/**
|
|
3239
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_HOME_DRAWER_SWIPE_PEEK_NUX = 769;
|
|
3240
|
+
*/
|
|
3241
|
+
HOME_DRAWER_SWIPE_PEEK_NUX = 769
|
|
3238
3242
|
}
|
|
3239
3243
|
/**
|
|
3240
3244
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|
|
@@ -2304,6 +2304,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2304
2304
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_PREMIUM_OFFER_TAB_BADGE_POPOVER = 768;
|
|
2305
2305
|
*/
|
|
2306
2306
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["PREMIUM_OFFER_TAB_BADGE_POPOVER"] = 768] = "PREMIUM_OFFER_TAB_BADGE_POPOVER";
|
|
2307
|
+
/**
|
|
2308
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_HOME_DRAWER_SWIPE_PEEK_NUX = 769;
|
|
2309
|
+
*/
|
|
2310
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["HOME_DRAWER_SWIPE_PEEK_NUX"] = 769] = "HOME_DRAWER_SWIPE_PEEK_NUX";
|
|
2307
2311
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2308
2312
|
/**
|
|
2309
2313
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.AssetVariant
|