N

common

namespace common

Types

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

V

Assets: any

React Native's asset registry, with registerAsset; found on first access.

V

Clipboard: any

Discord's clipboard module, which reads and writes strings and images; found on first access.

V

Clyde: any

Discord's module with createBotMessage, which builds a local message from Clyde; found on first access.

V

Commands: any

Discord's slash command module, with getBuiltInCommands; found on first access.

V

Constants: any

Discord's constants module, with Fonts, Endpoints and more; found on first access.

V

Gestures: any

Discord's copy of react-native-gesture-handler; found on first access.

V

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.

V

Moment: any

Discord's copy of Moment.js; found on first access.

V

Radius: any

Discord's module exporting its Radius corner radius tokens; found on first access.

V

ReactNative: react-native

The React Native instance Discord bundles, read from window.ReactNative.

Discord's copy of react-native-reanimated; found on first access.

V

REST: any

Discord's HTTP client for its API, with getAPIBaseURL; found on first access.

V

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.

V

SVG: any

Discord's copy of react-native-svg, with Svg and Path; found on first access.

V

Theme: any

Discord's design tokens, with colors and internal; found on first access.

V

Util: any

Discord's util module, with inspect for printing values; found on first access.