SETTINGS OVERHAUL

This commit is contained in:
Mirco Wittrien 2023-11-02 10:05:16 +01:00
parent dad50a4852
commit 6b43318e1a
1 changed files with 20 additions and 60 deletions

View File

@ -112,96 +112,56 @@
"GuildBoostUtils": {"props": ["getNextTier", "getAppliedGuildBoostMonths"]}, "GuildBoostUtils": {"props": ["getNextTier", "getAppliedGuildBoostMonths"]},
"GuildNotificationsUtils": {"props": ["updateChannelOverrideSettings", "updateGuildNotificationSettings"]}, "GuildNotificationsUtils": {"props": ["updateChannelOverrideSettings", "updateGuildNotificationSettings"]},
"GuildUtils": {"props": ["selectGuild", "transitionToGuildSync"]}, "GuildUtils": {"props": ["selectGuild", "transitionToGuildSync"]},
"HistoryUtils": {"strings": ["transitionTo - Transitioning to "], "exported": false, "value": "exports", "map": { "HistoryUtils": {"props": ["transitionTo", "transitionToGuild"]},
"transitionTo": ["transitionTo - Transitioning to "]
}},
"IconUtils": {"props": ["getGuildIconURL", "getGuildBannerURL"]}, "IconUtils": {"props": ["getGuildIconURL", "getGuildBannerURL"]},
"InviteUtils": {"props": ["acceptInvite", "createInvite"]}, "InviteUtils": {"props": ["acceptInvite", "createInvite"]},
"InternalReactUtils": {"props": ["jsx", "jsxs", "Fragment"]}, "InternalReactUtils": {"props": ["jsx", "jsxs", "Fragment"]},
"KeyCodeUtils": {"props": ["codeToKey", "keyToCode"]}, "KeyCodeUtils": {"props": ["codeToKey", "keyToCode"]},
"KeyEvents": {"props": ["aliases", "code", "codes"]}, "KeyEvents": {"props": ["aliases", "code", "codes"]},
"LoginUtils": {"props": ["login", "logout"]}, "LoginUtils": {"props": ["login", "logout"]},
"MediaComponentUtils": {"strings": ["renderAdjacentContent", "imageContent"], "exported": false, "value": "exports", "map": { "MediaComponentUtils": {"props": ["renderImageComponent", "renderVideoComponent"]},
"renderImageComponent": ["renderAdjacentContent", "imageContent"]
}},
"MediaEngineUtils": {"props": ["setOutputDevice", "setInputDevice"]}, "MediaEngineUtils": {"props": ["setOutputDevice", "setInputDevice"]},
"MemberDisplayUtils": {"strings": ["getUserProfile", "getGuildMemberProfile", ".getUser("], "exported": false, "value": "exports", "map": { "MemberDisplayUtils": {"props": ["getDisplayProfile", "default"], "exported": false, "value": "exports", "map": {
"getDisplayProfile": ["getDisplayProfile"],
"getUserProfile": ["default"] "getUserProfile": ["default"]
}}, }},
"MentionUtils": {"strings": ["rawMessage", "mention_everyone", "mentionUsers"], "exported": false, "value": "exports", "map": { "MentionUtils": {"props": ["isRawMessageMentioned", "isMentioned"]},
"isRawMessageMentioned": ["rawMessage", "mention_everyone", "mentionUsers"] "MessageAuthorUtils": {"props": ["getMessageAuthor", "getUserAuthor"], "exported": false, "value": "exports", "map": {
}}, "getAuthor": ["default"]
"MessageAuthorUtils": {"strings": [".friendNickname", "colorRoleName:null"], "exported": false, "value": "exports", "map": {
"getAuthor": ["Result cannot be null because the message is not null"],
"getMessageAuthor": [".getChannel(e.channel_id)", "(e.author"]
}},
"MessageComponentUtils": {"strings": ["ANIMATE_CHAT_AVATAR", "interactionUsernameProfile"], "exported": false, "value": "exports", "map": {
"useHoveredMessage": ["ANIMATE_CHAT_AVATAR"]
}},
"MessageManageUtils": {"strings": ["showMentionToggle", "SEND_FAILED", "shouldMention"], "exported": false, "value": "exports", "map": {
"copyLink": [".guild_id"],
"replyToMessage": ["showMentionToggle", "shouldMention"]
}}, }},
"MessageComponentUtils": {"props": ["useClickReply", "useHoveredMessage"]},
"MessageManageUtils": {"props": ["copyLink", "replyToMessage"]},
"MessageParser": {"props": ["parseEmbedTitle", "defaultRules"]}, "MessageParser": {"props": ["parseEmbedTitle", "defaultRules"]},
"MessagePinUtils": {"props": ["pinMessage", "unpinMessage"]}, "MessagePinUtils": {"props": ["pinMessage", "unpinMessage"]},
"MessageUtils": {"props": ["receiveMessage", "editMessage"]}, "MessageUtils": {"props": ["receiveMessage", "editMessage"]},
"ModalUtils": {"strings": ["modalKey", "instant", "contextKey"], "nonStrings": ["LOGIN_REQUIRED_ACTIONS_MODAL_KEY"], "exported": false, "value": "exports", "map": { "ModalUtils": {"props": ["openModal", "hasModalOpen", "useHasAnyModalOpen"]},
"openModal": [".modalKey", ".instant", ".Layer", ".onCloseRequest"]
}},
"NitroUtils": {"props": ["canUseIncreasedMessageLength", "canUsePremiumGuildMemberProfile"]}, "NitroUtils": {"props": ["canUseIncreasedMessageLength", "canUsePremiumGuildMemberProfile"]},
"NotificationSettingsUtils": {"props": ["setDesktopType", "setTTSType"]}, "NotificationSettingsUtils": {"props": ["setDesktopType", "setTTSType"]},
"PlatformUtils": {"props": ["isAndroid", "isWindows"]}, "PlatformUtils": {"props": ["isAndroid", "isWindows"]},
"PermissionRoleUtils": {"props": ["can", "ALLOW", "DENY"]}, "PermissionRoleUtils": {"props": ["can", "ALLOW", "DENY"]},
"PreferencesContext": {"strings": ["reducedMotion", "forcedColors", "alwaysShowLinkDecorations", "createContext"], "exported": false, "value": "exports", "map": { "PreferencesContext": {"strings": ["reducedMotion", "forcedColors", "alwaysShowLinkDecorations", "createContext"]},
"AccessibilityPreferencesContext": ["object Object"]
}},
"PrivateChannelUtils": {"props": ["addRecipient", "openPrivateChannel"]}, "PrivateChannelUtils": {"props": ["addRecipient", "openPrivateChannel"]},
"QuerySearchUtils": {"props": ["queryGuilds", "queryGroupDMs"]}, "QuerySearchUtils": {"props": ["queryGuilds", "queryGroupDMs"]},
"ReactionEmojiUtils": {"strings": ["optionallyDiverseSequence,animated", "convertSurrogateToName"], "exported": false, "value": "exports", "map": { "ReactionEmojiUtils": {"props": ["getReactionEmojiName", "getAccessibleEmojiDisplayName"]},
"getReactionEmojiName": ["convertSurrogateToName"]
}},
"RecentMentionUtils": {"props": ["deleteRecentMention", "fetchRecentMentions"]}, "RecentMentionUtils": {"props": ["deleteRecentMention", "fetchRecentMentions"]},
"RelationshipUtils": {"props": ["addRelationship", "removeRelationship"]}, "RelationshipUtils": {"props": ["addRelationship", "removeRelationship"]},
"RoleIconUtils": {"strings": [".ROLE_ICONS", "convertSurrogateToName", "customIconSrc"], "exported": false, "value": "exports", "map": { "RoleIconUtils": {"props": ["canGuildUseRoleIcon", "getRoleIconData"]},
"canGuildUseRoleIcons": [".ROLE_ICONS"],
"getRoleIconData": ["convertSurrogateToName", "customIconSrc"]
}},
"RTCConnectionUtils": {"props": ["getChannelId", "getGuildId", "getRTCConnectionId"]}, "RTCConnectionUtils": {"props": ["getChannelId", "getGuildId", "getRTCConnectionId"]},
"SearchPageUtils": {"strings": ["searchId", "sort_by", "sort_order"], "exported": false, "value": "exports", "map": { "SearchPageUtils": {"props": ["changePage", "search", "clearHistory"]},
"changePage": ["*"]
}},
"SettingsUtils": {"strings": ["ON_FOR_LARGE_GUILDS", "updateSetting", "useSetting"], "exported": false, "value": "exports"},
"SimpleMarkdownComponents": {"strings": ["customEmoji", "emojiTooltipPosition", "timestampTooltip"]},
"SimpleMarkdownParser": {"props": ["parseBlock", "parseInline", "defaultOutput"]}, "SimpleMarkdownParser": {"props": ["parseBlock", "parseInline", "defaultOutput"]},
"SlateRichUtils": {"strings": ["textValue", "richValue", "text:\"\""], "nonStrings": [".jsx)"], "exported": false, "value": "exports", "map": { "SlateRichUtils": {"props": ["createState", "toRichValue"]},
"toRichValue": [".split(\"\\n\")"] "SlateTextUtils": {"props": ["serializeDescendant", "toTextValue"]},
}},
"SlateTextUtils": {"strings": ["ignoreTrailingEmptyNodes", "preventEmojiSurrogates"], "nonStrings": [".jsx)"], "exported": false, "value": "exports", "map": {
"toTextValue": ["ignoreTrailingEmptyNodes"]
}},
"SoundParser": {"strings": ["discodo", "ddr-down", "mute"]}, "SoundParser": {"strings": ["discodo", "ddr-down", "mute"]},
"SoundUtils": {"props": ["createSound", "createSoundpackSound", "playSound"]}, "SoundUtils": {"props": ["createSound", "createSoundForPack", "playSound"]},
"SpotifyUtils": {"strings": ["\"SPOTIFY_SET_ACTIVE_DEVICE\"", "deviceId", "accountId"], "exported": false, "value": "exports", "map": { "SpotifyUtils": {"props": ["getAccessToken", "pause", "play"]},
"getAccessToken": ["SPOTIFY_ACCOUNT_ACCESS_TOKEN_REVOKE", "CONNECTION_ACCESS_TOKEN"],
"pause": ["SPOTIFY_PLAYER_PAUSE"],
"play": ["SPOTIFY_PLAYER_PLAY"]
}},
"StateStoreUtils": {"strings": ["this._currentDispatchActionType"], "exported": false, "value": "exports"},
"StoreChangeUtils": {"props": ["get", "set", "clear", "remove"]}, "StoreChangeUtils": {"props": ["get", "set", "clear", "remove"]},
"TimeoutUtils": {"strings": ["_timeout.isStarted()"]}, "TimeoutUtils": {"strings": ["_timeout.isStarted()"]},
"TimestampUtils": {"props": ["fromTimestamp", "extractTimestamp"]}, "TimestampUtils": {"props": ["fromTimestamp", "extractTimestamp"]},
"UploadUtils": {"props": ["upload", "instantBatchUpload"]}, "UploadUtils": {"props": ["upload", "instantBatchUpload"]},
"URLParser": {"props": ["parse", "resolveObject"]}, "URLParser": {"props": ["parse", "resolveObject"]},
"UserNameUtils": {"props": ["getNickname", "getName", "useName"]}, "UserNameUtils": {"props": ["getNickname", "getName", "useName"]},
"UserPopoutUtils": {"strings": ["Cannot moderate", "user:", "showMute"], "exported": false, "value": "exports", "map": { "UserPopoutUtils": {"props": ["openUserContextMenu", "openModerateRoleContextMenu"]},
"openUserContextMenu": ["showMute"] "UserProfileUtils": {"props": ["fetchProfile", "getUser"]},
}}, "UserSettingsProtoUtils": {"props": ["addDismissedContent", "updateUserChannelSettings"]},
"UserProfileUtils": {"strings": ["USER_AGREEMENTS", "user cannot be undefined"], "exported": false, "value": "exports", "map": {
"fetchProfile": [".apply("],
"getUser": ["\"USER_UPDATE\""]
}},
"UserSettingsProtoUtils": {"strings": ["UserSettingsProtoLastWriteTimes"], "exported": false, "value": "exports"},
"UserSettingsUtils": {"props": ["open", "updateAccount"]}, "UserSettingsUtils": {"props": ["open", "updateAccount"]},
"Utilities": {"props": ["flatMap", "cloneDeep"]}, "Utilities": {"props": ["flatMap", "cloneDeep"]},
"WindowUtils": {"props": ["minimize", "maximize", "close"]} "WindowUtils": {"props": ["minimize", "maximize", "close"]}