common
namespace commonTypes
React Native's ImageSourceUtils, which every Image render resolves its source through.
Discord's Markdown module (MarkupUtils), found by parse, parseToAST and reactParserFor.
The simple-markdown library Discord bundles, found by parserFor, outputFor and defaultRules.
Variables
Assets: any
React Native's asset registry, with registerAsset; found on first access.
Clipboard: any
Discord's clipboard module, which reads and writes strings and images; found on first access.
Clyde: any
Discord's module with createBotMessage, which builds a local message from Clyde; found on first access.
Commands: any
Discord's slash command module, with getBuiltInCommands; found on first access.
Constants: any
Discord's constants module, with Fonts, Endpoints and more; found on first access.
Gestures: any
Discord's copy of react-native-gesture-handler; found on first access.
i18n: any
Discord's localisation module, with getLanguages, getSystemLocale and intl; found on first access.
React Native's image source resolver; patching it changes the source every Image renders.
Discord's markdown parser, which turns message text into an AST or React nodes; found on first access.
Moment: any
Discord's copy of Moment.js; found on first access.
Radius: any
Discord's module exporting its Radius corner radius tokens; found on first access.
ReactNative: react-native
The React Native instance Discord bundles, read from window.ReactNative.
Reanimated: any
Discord's copy of react-native-reanimated; found on first access.
REST: any
Discord's HTTP client for its API, with getAPIBaseURL; found on first access.
Screens: any
Discord's copy of react-native-screens, with FullWindowOverlay; found on first access.
Discord's copy of simple-markdown, whose block rules parse whole documents; found on first access.
SVG: any
Discord's copy of react-native-svg, with Svg and Path; found on first access.
Theme: any
Discord's design tokens, with colors and internal; found on first access.
Util: any
Discord's util module, with inspect for printing values; found on first access.