Changeset View
Changeset View
Standalone View
Standalone View
native/navigation/route-names.js
// @flow | // @flow | ||||
import type { RouteProp } from '@react-navigation/native'; | import type { RouteProp } from '@react-navigation/native'; | ||||
import type { ActionResultModalParams } from './action-result-modal.react.js'; | import type { ActionResultModalParams } from './action-result-modal.react.js'; | ||||
import type { InviteLinkModalParams } from './invite-link-modal.react'; | import type { InviteLinkModalParams } from './invite-link-modal.react'; | ||||
import type { ConnectEthereumParams } from '../account/registration/connect-ethereum.react.js'; | import type { ConnectEthereumParams } from '../account/registration/connect-ethereum.react.js'; | ||||
import type { ExistingEthereumAccountParams } from '../account/registration/existing-ethereum-account.react.js'; | import type { ExistingEthereumAccountParams } from '../account/registration/existing-ethereum-account.react.js'; | ||||
import type { KeyserverSelectionParams } from '../account/registration/keyserver-selection.react.js'; | import type { KeyserverSelectionParams } from '../account/registration/keyserver-selection.react.js'; | ||||
import type { PasswordSelectionParams } from '../account/registration/password-selection.react.js'; | |||||
import type { UsernameSelectionParams } from '../account/registration/username-selection.react.js'; | import type { UsernameSelectionParams } from '../account/registration/username-selection.react.js'; | ||||
import type { TermsAndPrivacyModalParams } from '../account/terms-and-privacy-modal.react.js'; | import type { TermsAndPrivacyModalParams } from '../account/terms-and-privacy-modal.react.js'; | ||||
import type { ThreadPickerModalParams } from '../calendar/thread-picker-modal.react.js'; | import type { ThreadPickerModalParams } from '../calendar/thread-picker-modal.react.js'; | ||||
import type { ComposeSubchannelParams } from '../chat/compose-subchannel.react.js'; | import type { ComposeSubchannelParams } from '../chat/compose-subchannel.react.js'; | ||||
import type { FullScreenThreadMediaGalleryParams } from '../chat/fullscreen-thread-media-gallery.react.js'; | import type { FullScreenThreadMediaGalleryParams } from '../chat/fullscreen-thread-media-gallery.react.js'; | ||||
import type { ImagePasteModalParams } from '../chat/image-paste-modal.react.js'; | import type { ImagePasteModalParams } from '../chat/image-paste-modal.react.js'; | ||||
import type { MessageListParams } from '../chat/message-list-types.js'; | import type { MessageListParams } from '../chat/message-list-types.js'; | ||||
import type { MessageReactionsModalParams } from '../chat/message-reactions-modal.react.js'; | import type { MessageReactionsModalParams } from '../chat/message-reactions-modal.react.js'; | ||||
▲ Show 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
export const KeyserverSelectionRouteName = 'KeyserverSelection'; | export const KeyserverSelectionRouteName = 'KeyserverSelection'; | ||||
export const CoolOrNerdModeSelectionRouteName = 'CoolOrNerdModeSelection'; | export const CoolOrNerdModeSelectionRouteName = 'CoolOrNerdModeSelection'; | ||||
export const ConnectEthereumRouteName = 'ConnectEthereum'; | export const ConnectEthereumRouteName = 'ConnectEthereum'; | ||||
export const ExistingEthereumAccountRouteName = 'ExistingEthereumAccount'; | export const ExistingEthereumAccountRouteName = 'ExistingEthereumAccount'; | ||||
export const UsernameSelectionRouteName = 'UsernameSelection'; | export const UsernameSelectionRouteName = 'UsernameSelection'; | ||||
export const CommunityCreationRouteName = 'CommunityCreation'; | export const CommunityCreationRouteName = 'CommunityCreation'; | ||||
export const CommunityConfigurationRouteName = 'CommunityConfiguration'; | export const CommunityConfigurationRouteName = 'CommunityConfiguration'; | ||||
export const MessageSearchRouteName = 'MessageSearch'; | export const MessageSearchRouteName = 'MessageSearch'; | ||||
export const PasswordSelectionRouteName = 'PasswordSelection'; | |||||
export type RootParamList = { | export type RootParamList = { | ||||
+LoggedOutModal: void, | +LoggedOutModal: void, | ||||
+App: void, | +App: void, | ||||
+ThreadPickerModal: ThreadPickerModalParams, | +ThreadPickerModal: ThreadPickerModalParams, | ||||
+AddUsersModal: AddUsersModalParams, | +AddUsersModal: AddUsersModalParams, | ||||
+CustomServerModal: CustomServerModalParams, | +CustomServerModal: CustomServerModalParams, | ||||
+ColorSelectorModal: ColorSelectorModalParams, | +ColorSelectorModal: ColorSelectorModalParams, | ||||
▲ Show 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | |||||
export type CommunityDrawerParamList = { +TabNavigator: void }; | export type CommunityDrawerParamList = { +TabNavigator: void }; | ||||
export type RegistrationParamList = { | export type RegistrationParamList = { | ||||
+CoolOrNerdModeSelection: void, | +CoolOrNerdModeSelection: void, | ||||
+KeyserverSelection: KeyserverSelectionParams, | +KeyserverSelection: KeyserverSelectionParams, | ||||
+ConnectEthereum: ConnectEthereumParams, | +ConnectEthereum: ConnectEthereumParams, | ||||
+ExistingEthereumAccount: ExistingEthereumAccountParams, | +ExistingEthereumAccount: ExistingEthereumAccountParams, | ||||
+UsernameSelection: UsernameSelectionParams, | +UsernameSelection: UsernameSelectionParams, | ||||
+PasswordSelection: PasswordSelectionParams, | |||||
}; | }; | ||||
export type InviteLinkParamList = { | export type InviteLinkParamList = { | ||||
+ViewInviteLinks: ViewInviteLinksScreenParams, | +ViewInviteLinks: ViewInviteLinksScreenParams, | ||||
+ManagePublicLink: ManagePublicLinkScreenParams, | +ManagePublicLink: ManagePublicLinkScreenParams, | ||||
}; | }; | ||||
export type CommunityCreationParamList = { | export type CommunityCreationParamList = { | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |