Properties
Assets
Assets: { getAssetByID: any; registerAsset: any }
Type declaration
getAssetByID:function
registerAsset:function
Avatars
Avatars: { BOT_AVATARS: { ENMITY: string; clyde: number }; DEFAULT_AVATARS: number[]; DEFAULT_CHANNEL_ICON: number; DEFAULT_GROUP_DM_AVATARS: number[]; canUseWebp: any; ensureAvatarSource: any; getDefaultUserAvatarURL: any }
Type declaration
BOT_AVATARS: { ENMITY: string; clyde: number }
ENMITY: string
clyde: number
DEFAULT_AVATARS: number[]
DEFAULT_CHANNEL_ICON: number
DEFAULT_GROUP_DM_AVATARS: number[]
canUseWebp:function
ensureAvatarSource:function
- ensureAvatarSource(): boolean
getDefaultUserAvatarURL:function
- getDefaultUserAvatarURL(...args: any): string
Clipboard
Clipboard: { getString: any; setString: any }
Type declaration
getString:function
setString:function
Clyde
Clyde: { createBotMessage: any; default: any; userRecordToServer: any }
Type declaration
createBotMessage:function
- createBotMessage(...args: any): Message
default:function
userRecordToServer:function
- userRecordToServer(...args: any): { avatar: string; bot: any; discriminator: string | number; id: number; username: string }
Parameters
Returns { avatar: string; bot: any; discriminator: string | number; id: number; username: string }
avatar: string
bot: any
discriminator: string | number
id: number
username: string
ColorMap
ColorMap: Record<string, any>
Components
Components: { Forms: { AutoCapitalizeModes: ComponentType<{}>; ClearButtonVisibility: ComponentType<{}>; Form: ComponentType<{}>; FormArrow: ComponentType<{}>; FormCTA: ComponentType<{}>; FormCTAButton: ComponentType<{}>; FormCardSection: ComponentType<{}>; FormCheckbox: ComponentType<{}>; FormCheckmark: ComponentType<{}>; FormDivider: ComponentType<{}>; FormHint: ComponentType<{}>; FormIcon: ComponentType<{}>; FormInput: ComponentType<{}>; FormLabel: ComponentType<{}>; FormRadio: ComponentType<{}>; FormRow: ComponentType<{}>; FormSection: ComponentType<{}>; FormSelect: ComponentType<{}>; FormSubLabel: ComponentType<{}>; FormSwitch: ComponentType<{}>; FormSwitchRow: ComponentType<{}>; FormTernaryCheckBox: ComponentType<{}>; FormText: ComponentType<{}>; FormTextColors: ComponentType<{}>; FormTextSizes: ComponentType<{}>; FormTitle: ComponentType<{}>; KeyboardTypes: ComponentType<{}>; TernaryCheckBoxStates: ComponentType<{}> }; General: { Alert: AlertStatic; Button: typeof Button; FlatList: typeof FlatList; Image: typeof Image; ImageBackground: typeof ImageBackground; KeyboardAvoidingView: typeof KeyboardAvoidingView; Modal: typeof Modal; Pressable: ForwardRefExoticComponent<PressableProps & RefAttributes<View>>; RefreshControl: typeof RefreshControl; ScrollView: typeof ScrollView; SectionList: typeof SectionList; StatusBar: typeof StatusBar; StyleSheet: typeof StyleSheet; Switch: typeof StyleSheet; Text: typeof Text; TextInput: typeof TextInput; Touchable: { TOUCH_TARGET_DEBUG: boolean; renderDebugView: any }; TouchableHighlight: typeof TouchableHighlight; TouchableOpacity: typeof TouchableOpacity; TouchableWithoutFeedback: typeof TouchableWithoutFeedback; View: typeof View; VirtualizedList: typeof VirtualizedList } }
Type declaration
Forms: { AutoCapitalizeModes: ComponentType<{}>; ClearButtonVisibility: ComponentType<{}>; Form: ComponentType<{}>; FormArrow: ComponentType<{}>; FormCTA: ComponentType<{}>; FormCTAButton: ComponentType<{}>; FormCardSection: ComponentType<{}>; FormCheckbox: ComponentType<{}>; FormCheckmark: ComponentType<{}>; FormDivider: ComponentType<{}>; FormHint: ComponentType<{}>; FormIcon: ComponentType<{}>; FormInput: ComponentType<{}>; FormLabel: ComponentType<{}>; FormRadio: ComponentType<{}>; FormRow: ComponentType<{}>; FormSection: ComponentType<{}>; FormSelect: ComponentType<{}>; FormSubLabel: ComponentType<{}>; FormSwitch: ComponentType<{}>; FormSwitchRow: ComponentType<{}>; FormTernaryCheckBox: ComponentType<{}>; FormText: ComponentType<{}>; FormTextColors: ComponentType<{}>; FormTextSizes: ComponentType<{}>; FormTitle: ComponentType<{}>; KeyboardTypes: ComponentType<{}>; TernaryCheckBoxStates: ComponentType<{}> }
AutoCapitalizeModes: ComponentType<{}>
ClearButtonVisibility: ComponentType<{}>
Form: ComponentType<{}>
FormArrow: ComponentType<{}>
FormCTA: ComponentType<{}>
FormCTAButton: ComponentType<{}>
FormCardSection: ComponentType<{}>
FormCheckbox: ComponentType<{}>
FormCheckmark: ComponentType<{}>
FormDivider: ComponentType<{}>
FormHint: ComponentType<{}>
FormIcon: ComponentType<{}>
FormInput: ComponentType<{}>
FormLabel: ComponentType<{}>
FormRadio: ComponentType<{}>
FormRow: ComponentType<{}>
FormSection: ComponentType<{}>
FormSelect: ComponentType<{}>
FormSubLabel: ComponentType<{}>
FormSwitch: ComponentType<{}>
FormSwitchRow: ComponentType<{}>
FormTernaryCheckBox: ComponentType<{}>
FormText: ComponentType<{}>
FormTextColors: ComponentType<{}>
FormTextSizes: ComponentType<{}>
FormTitle: ComponentType<{}>
KeyboardTypes: ComponentType<{}>
TernaryCheckBoxStates: ComponentType<{}>
General: { Alert: AlertStatic; Button: typeof Button; FlatList: typeof FlatList; Image: typeof Image; ImageBackground: typeof ImageBackground; KeyboardAvoidingView: typeof KeyboardAvoidingView; Modal: typeof Modal; Pressable: ForwardRefExoticComponent<PressableProps & RefAttributes<View>>; RefreshControl: typeof RefreshControl; ScrollView: typeof ScrollView; SectionList: typeof SectionList; StatusBar: typeof StatusBar; StyleSheet: typeof StyleSheet; Switch: typeof StyleSheet; Text: typeof Text; TextInput: typeof TextInput; Touchable: { TOUCH_TARGET_DEBUG: boolean; renderDebugView: any }; TouchableHighlight: typeof TouchableHighlight; TouchableOpacity: typeof TouchableOpacity; TouchableWithoutFeedback: typeof TouchableWithoutFeedback; View: typeof View; VirtualizedList: typeof VirtualizedList }
Alert: AlertStatic
Button: typeof Button
FlatList: typeof FlatList
Image: typeof Image
ImageBackground: typeof ImageBackground
KeyboardAvoidingView: typeof KeyboardAvoidingView
Modal: typeof Modal
Pressable: ForwardRefExoticComponent<PressableProps & RefAttributes<View>>
RefreshControl: typeof RefreshControl
ScrollView: typeof ScrollView
SectionList: typeof SectionList
StatusBar: typeof StatusBar
StyleSheet: typeof StyleSheet
Switch: typeof StyleSheet
Text: typeof Text
TextInput: typeof TextInput
Touchable: { TOUCH_TARGET_DEBUG: boolean; renderDebugView: any }
TOUCH_TARGET_DEBUG: boolean
renderDebugView:function
- renderDebugView(config: { color: string | number; hitSlop?: Insets }): ReactElement<any, string | JSXElementConstructor<any>>
Parameters
config: { color: string | number; hitSlop?: Insets }
color: string | number
Optional hitSlop?: Insets
Returns ReactElement<any, string | JSXElementConstructor<any>>
TouchableHighlight: typeof TouchableHighlight
TouchableOpacity: typeof TouchableOpacity
TouchableWithoutFeedback: typeof TouchableWithoutFeedback
View: typeof View
VirtualizedList: typeof VirtualizedList
Dialog
Dialog: { close: any; open: any; openLazy: any; show: any }
Type declaration
close:function
open:function
openLazy:function
- openLazy(...args: any): any
show:function
Dispatcher
Dispatcher: { _currentDispatchActionType: string; _dependencyGraph: any; _lastID: number; _orderedActionHandlers: Record<string, any>; _orderedCallbackTokens: number[]; _processingWaitQueue: boolean; _subscriptions: Record<string, any>; _waitQueue: any[] }
Type declaration
_currentDispatchActionType: string
_dependencyGraph: any
_lastID: number
_orderedActionHandlers: Record<string, any>
_orderedCallbackTokens: number[]
_processingWaitQueue: boolean
_subscriptions: Record<string, any>
_waitQueue: any[]
Flux
Flux: { ActionBase: any; ActionHandlers: any; BatchedStoreListener: any; Dispatcher: any; Store: any; default: { PersistedStore: any; Store: any; initialized: boolean; DeviceSettingsStore: any; OfflineCacheStore: any; connectStores: any; destroy: any; initialize: any }; connectStores: any; useStateFromStores: any; useStateFromStoresArray: any; useStateFromStoresObject: any }
Type declaration
ActionBase: any
ActionHandlers: any
BatchedStoreListener: any
Dispatcher: any
Store: any
default: { PersistedStore: any; Store: any; initialized: boolean; DeviceSettingsStore: any; OfflineCacheStore: any; connectStores: any; destroy: any; initialize: any }
PersistedStore: any
Store: any
initialized: boolean
DeviceSettingsStore:function
- DeviceSettingsStore(...args: any): any
OfflineCacheStore:function
- OfflineCacheStore(...args: any): any
connectStores:function
- connectStores(...args: any): any
destroy:function
- destroy(...args: any): any
initialize:function
- initialize(...args: any): any
connectStores:function
- connectStores(stores: any[], propsCallback: (...args: any) => any): any
Parameters
stores: any[]
propsCallback: (...args: any) => any
Returns any
useStateFromStores:function
- useStateFromStores(...args: any): any
useStateFromStoresArray:function
- useStateFromStoresArray(...args: any): any
useStateFromStoresObject:function
- useStateFromStoresObject(...args: any): any
Linking
Linking: { addListener: any; canOpenURL: any; getConstants: any; getInitialURL: any; openSettings: any; openURL: any; removeListeners: any; sendIntent: any }
Type declaration
addListener:function
- addListener(...args: any): any
canOpenURL:function
- canOpenURL(...args: any): any
getConstants:function
- getConstants(...args: any): any
getInitialURL:function
- getInitialURL(...args: any): any
openSettings:function
- openSettings(...args: any): any
openURL:function
- openURL(...args: any): any
removeListeners:function
- removeListeners(...args: any): any
sendIntent:function
- sendIntent(...args: any): any
Locale
Locale: { Messages: Record<string, any>; _chosenLocale: string; _events: Record<string, any>; _eventsCount: number; _languages: Record<string, { code: string; enabled: string; englishName: string; name: string; postgresLang: string }>[]; _maxListeners: number; _provider: Record<string, any>; _requestedLocale: string; loadPromise: Promise<void>; _getMessages: any; _getParsedMessages: any; _handleNewListener: any }
Type declaration
Messages: Record<string, any>
_chosenLocale: string
_events: Record<string, any>
_eventsCount: number
_languages: Record<string, { code: string; enabled: string; englishName: string; name: string; postgresLang: string }>[]
_maxListeners: number
_provider: Record<string, any>
_requestedLocale: string
loadPromise: Promise<void>
_getMessages:function
- _getMessages(...args: any): any
_getParsedMessages:function
- _getParsedMessages(...args: any): any
_handleNewListener:function
- _handleNewListener(...args: any): any
Lodash
Lodash: LoDashStatic
Messages
Messages: { _sendMessage: any; _tryFetchMessagesCached: any; clearChannel: any; crosspostMessage: any; deleteMessage: any; dismissAutomatedMessage: any; editMessage: any; endEditMessage: any; fetchMessages: any; getSendMessageOptionsForReply: any; jumpToMessage: any; jumpToPresent: any; patchMessageAttachments: any; receiveMessage: any; revealMessage: any; sendBotMessage: any; sendClydeError: any; sendGreetMessage: any; sendInvite: any; sendMessage: any; sendStickers: any; sendVoiceChannelInvite: any; startEditMessage: any; suppressEmbeds: any; trackInvite: any; trackJump: any; truncateMessages: any; updateEditMessage: any }
Type declaration
_sendMessage:function
- _sendMessage(...args: any): void
_tryFetchMessagesCached:function
- _tryFetchMessagesCached(...args: any): void
clearChannel:function
- clearChannel(...args: any): void
crosspostMessage:function
- crosspostMessage(...args: any): void
deleteMessage:function
- deleteMessage(...args: any): void
dismissAutomatedMessage:function
- dismissAutomatedMessage(...args: any): void
editMessage:function
- editMessage(...args: any): void
endEditMessage:function
- endEditMessage(...args: any): void
fetchMessages:function
- fetchMessages(...args: any): void
getSendMessageOptionsForReply:function
- getSendMessageOptionsForReply(...args: any): void
jumpToMessage:function
- jumpToMessage(...args: any): void
jumpToPresent:function
- jumpToPresent(...args: any): void
patchMessageAttachments:function
- patchMessageAttachments(...args: any): void
receiveMessage:function
- receiveMessage(...args: any): void
revealMessage:function
- revealMessage(...args: any): void
sendBotMessage:function
- sendBotMessage(...args: any): void
sendClydeError:function
- sendClydeError(...args: any): void
sendGreetMessage:function
- sendGreetMessage(...args: any): void
sendInvite:function
- sendInvite(...args: any): void
sendMessage:function
- sendMessage(...args: any): void
sendStickers:function
- sendStickers(...args: any): void
sendVoiceChannelInvite:function
- sendVoiceChannelInvite(...args: any): void
startEditMessage:function
- startEditMessage(...args: any): void
suppressEmbeds:function
- suppressEmbeds(...args: any): void
trackInvite:function
- trackInvite(...args: any): void
trackJump:function
- trackJump(...args: any): void
truncateMessages:function
- truncateMessages(...args: any): void
updateEditMessage:function
- updateEditMessage(...args: any): void
Native
Native: { BundleUpdaterManager: Record<string, any>; DCDDeviceManager: Record<string, any>; InfoDictionaryManager: Record<string, any> }
Type declaration
[key: string]: any
BundleUpdaterManager: Record<string, any>
DCDDeviceManager: Record<string, any>
InfoDictionaryManager: Record<string, any>
Navigation
Navigation: any
NavigationNative
NavigationNative: any
NavigationStack
NavigationStack: any
Profiles
Profiles: { connectAndOpen: any; connectOrLurkStage: any; connectToStage: any; navigateToStage: any; showUserProfile: any }
Type declaration
connectAndOpen:function
- connectAndOpen(...args: any): any
connectOrLurkStage:function
- connectOrLurkStage(...args: any): any
connectToStage:function
- connectToStage(...args: any): any
navigateToStage:function
- navigateToStage(...args: any): any
showUserProfile:function
- showUserProfile(...args: any): any
REST
REST: { V6OrEarlierAPIError: any; V8APIError: any; delete: any; get: any; getAPIBaseURL: any; patch: any; post: any; put: any }
Type declaration
V6OrEarlierAPIError:function
- V6OrEarlierAPIError(...args: any): any
V8APIError:function
- V8APIError(...args: any): any
delete:function
- delete(...args: any): any
get:function
getAPIBaseURL:function
- getAPIBaseURL(...args: any): any
patch:function
post:function
put:function
SVG
SVG: { Circle: ComponentType<{}>; ClipPath: ComponentType<{}>; Defs: ComponentType<{}>; Ellipse: ComponentType<{}>; G: ComponentType<{}>; Image: ComponentType<{}>; Line: ComponentType<{}>; LinearGradient: ComponentType<{}>; Mask: ComponentType<{}>; Path: ComponentType<{}>; Pattern: ComponentType<{}>; Polygon: ComponentType<{}>; Polyline: ComponentType<{}>; RadialGradient: ComponentType<{}>; Rect: ComponentType<{}>; Stop: ComponentType<{}>; Svg: ComponentType<{}>; Symbol: ComponentType<{}>; TSpan: ComponentType<{}>; Text: ComponentType<{}>; TextPath: ComponentType<{}>; Use: ComponentType<{}>; default: ComponentType<{}> }
Type declaration
Circle: ComponentType<{}>
ClipPath: ComponentType<{}>
Defs: ComponentType<{}>
Ellipse: ComponentType<{}>
G: ComponentType<{}>
Image: ComponentType<{}>
Line: ComponentType<{}>
LinearGradient: ComponentType<{}>
Mask: ComponentType<{}>
Path: ComponentType<{}>
Pattern: ComponentType<{}>
Polygon: ComponentType<{}>
Polyline: ComponentType<{}>
RadialGradient: ComponentType<{}>
Rect: ComponentType<{}>
Stop: ComponentType<{}>
Svg: ComponentType<{}>
Symbol: ComponentType<{}>
TSpan: ComponentType<{}>
Text: ComponentType<{}>
TextPath: ComponentType<{}>
Use: ComponentType<{}>
default: ComponentType<{}>
Scenes
Scenes: { default: any }
Type declaration
default:function
- default(...args: any): any
Settings
Settings: { _settings: Record<string, any>; _sendObservations: any; clearWatch: any; get: any; set: any; watchKeys: any }
Type declaration
_settings: Record<string, any>
_sendObservations:function
- _sendObservations(...args: any): any
clearWatch:function
- clearWatch(...args: any): any
get:function
set:function
watchKeys:function
- watchKeys(...args: any): any
Storage
Storage: { _getKeys: any[]; _getRequests: any[]; _immediate: any; getAllKeys: string[]; clear: any; flushGetRequests: any; getItem: any; mergeItem: any; multiGet: any; multiMerge: any; multiRemove: any; multiSet: any; removeItem: any; setItem: any }
Type declaration
_getKeys: any[]
_getRequests: any[]
_immediate: any
getAllKeys: string[]
clear:function
- clear(...args: any): Promise<void>
Parameters
Returns Promise<void>
flushGetRequests:function
- flushGetRequests(...args: any): any
getItem:function
- getItem(key: any): Promise<any>
Parameters
Returns Promise<any>
mergeItem:function
- mergeItem(...args: any): any
multiGet:function
- multiGet(...args: any): any
multiMerge:function
- multiMerge(...args: any): any
multiRemove:function
- multiRemove(...args: any): any
multiSet:function
- multiSet(...args: any): any
removeItem:function
- removeItem(key: string): Promise<void>
Parameters
Returns Promise<void>
setItem:function
- setItem(key: string, item: any): Promise<void>
Parameters
Returns Promise<void>
StyleSheet
StyleSheet: { ThemeColorMap: Record<string, any>; createThemedStyleSheet: any; getThemedStylesheet: any }
Type declaration
ThemeColorMap: Record<string, any>
createThemedStyleSheet:function
- createThemedStyleSheet(...args: any): any
getThemedStylesheet:function
- getThemedStylesheet(...args: any): any
Theme
Theme: { contactSyncUpsellShown: any; customStatus: any; defaultGuildsRestricted: any; friendDiscoveryFlags: any; friendSourceFlags: any; guildFolders: any; guildPositions: any; isGuildRestricted: any; loadedFromRemote: boolean; locale: any; restrictedGuilds: any; status: any; theme: any; timezoneOffset: any; getAllSettings: any }
Type declaration
contactSyncUpsellShown: any
customStatus: any
defaultGuildsRestricted: any
friendDiscoveryFlags: any
friendSourceFlags: any
guildFolders: any
guildPositions: any
isGuildRestricted: any
loadedFromRemote: boolean
locale: any
restrictedGuilds: any
status: any
theme: any
timezoneOffset: any
getAllSettings:function
- getAllSettings(...args: any): any
Toasts
Toasts: { close: any; open: any }
Type declaration
close:function
open:function
Token
Token: { encryptAndStoreTokens: any; getToken: any; hideToken: any; init: any; removeToken: any; setToken: any; showToken: any }
Type declaration
encryptAndStoreTokens:function
- encryptAndStoreTokens(...args: any): any
getToken:function
- getToken(...args: any): any
hideToken:function
- hideToken(...args: any): any
init:function
removeToken:function
- removeToken(...args: any): any
setToken:function
- setToken(...args: any): any
showToken:function
- showToken(...args: any): any
Users
Users: { filter: any; findByTag: any; forEach: any; getCurrentUser: any; getUser: any; getUsers: any }
Type declaration
filter:function
- filter(...args: any): any
findByTag:function
- findByTag(...args: any): any
forEach:function
- forEach(...args: any): any
getCurrentUser:function
- getCurrentUser(...args: any): any
getUser:function
- getUser(...args: any): any
getUsers:function
- getUsers(...args: any): any
React Native Alert
https://reactnative.dev/docs/alert