discord-protos 1.2.227 → 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/discord_protos/users/v1/User.proto +3 -0
- package/discord_protos/users/v1/UserData.proto +3 -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/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
|
@@ -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 {
|
|
@@ -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 {
|
|
@@ -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
|
|
@@ -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
|