Something went wrong. Try again.
hardened bluesky app fork with microcosm
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164import {type NavigationState, type PartialState} from '@react-navigation/native'import {type NativeStackNavigationProp} from '@react-navigation/native-stack'
import {type VideoFeedSourceContext} from '#/screens/VideoFeed/types'
export type {NativeStackScreenProps} from '@react-navigation/native-stack'
export type CommonNavigatorParams = { NotFound: undefined Lists: undefined Moderation: undefined ModerationModlists: undefined ModerationMutedAccounts: undefined ModerationBlockedAccounts: undefined ModerationInteractionSettings: undefined ModerationVerificationSettings: undefined Settings: undefined Profile: {name: string; hideBackButton?: boolean} ProfileFollowers: {name: string} ProfileFollows: {name: string} ProfileKnownFollowers: {name: string} ProfileSearch: {name: string; q?: string} ProfileList: {name: string; rkey: string} PostThread: {name: string; rkey: string} PostLikedBy: {name: string; rkey: string} PostRepostedBy: {name: string; rkey: string} PostQuotes: {name: string; rkey: string} ProfileFeed: { name: string rkey: string feedCacheKey?: 'discover' | 'explore' | undefined } ProfileFeedLikedBy: {name: string; rkey: string} ProfileLabelerLikedBy: {name: string} Debug: undefined DebugMod: undefined SharedPreferencesTester: undefined Log: undefined PrivacyPolicy: undefined TermsOfService: undefined CommunityGuidelines: undefined CopyrightPolicy: undefined LanguageSettings: undefined AppPasswords: undefined SavedFeeds: undefined PreferencesFollowingFeed: undefined PreferencesThreads: undefined PreferencesExternalEmbeds: undefined AccessibilitySettings: undefined AppearanceSettings: undefined AccountSettings: undefined AutomationLabelSettings: undefined PrivacyAndSecuritySettings: undefined ActivityPrivacySettings: undefined ContentAndMediaSettings: undefined NotificationSettings: undefined InterestsSettings: undefined AboutSettings: undefined AppIconSettings: undefined FindContactsSettings: undefined InviteScanner: undefined Search: {q?: string; tab?: 'user' | 'profile' | 'feed'} Hashtag: {tag: string; author?: string} Topic: {topic: string} MessagesConversation: {conversation: string; embed?: string; accept?: true} MessagesConversationSettings: {conversation: string} MessagesJoinRequests: {conversation: string} MessagesSettings: undefined MessagesInbox: undefined NotificationsActivityList: {posts: string} LegacyNotificationSettings: undefined Feeds: undefined Start: {name: string; rkey: string} StarterPack: {name: string; rkey: string; new?: boolean} StarterPackShort: {code: string} StarterPackWizard: { fromDialog?: boolean targetDid?: string onSuccess?: () => void } StarterPackEdit: {rkey?: string} VideoFeed: VideoFeedSourceContext Bookmarks: undefined FindContactsFlow: undefined}
export type BottomTabNavigatorParams = CommonNavigatorParams & { HomeTab: undefined SearchTab: undefined NotificationsTab: undefined MyProfileTab: undefined MessagesTab: undefined}
export type HomeTabNavigatorParams = CommonNavigatorParams & { Home: undefined}
export type SearchTabNavigatorParams = CommonNavigatorParams & { Search: {q?: string; tab?: 'user' | 'profile' | 'feed'}}
export type NotificationsTabNavigatorParams = CommonNavigatorParams & { Notifications: undefined}
export type MyProfileTabNavigatorParams = CommonNavigatorParams & { MyProfile: {name: 'me'; hideBackButton: true}}
export type MessagesTabNavigatorParams = CommonNavigatorParams & { Messages: { pushToConversation?: string pushToNewGroupChat?: boolean animation?: 'push' | 'pop' }}
export type FlatNavigatorParams = CommonNavigatorParams & { Home: undefined Search: {q?: string; tab?: 'user' | 'profile' | 'feed'} Feeds: undefined Notifications: undefined Messages: { pushToConversation?: string pushToNewGroupChat?: boolean animation?: 'push' | 'pop' }}
export type AllNavigatorParams = CommonNavigatorParams & { HomeTab: undefined Home: undefined SearchTab: undefined Search: {q?: string; tab?: 'user' | 'profile' | 'feed'} Feeds: undefined NotificationsTab: undefined Notifications: undefined MyProfileTab: undefined MessagesTab: undefined Messages: { pushToConversation?: string pushToNewGroupChat?: boolean animation?: 'push' | 'pop' }}
// NOTE// this isn't strictly correct but it should be close enough// a TS wizard might be able to get this 100%// -prfexport type NavigationProp = NativeStackNavigationProp<AllNavigatorParams>
export type State = | NavigationState | Omit<PartialState<NavigationState>, 'stale'>
export type RouteParams = Record<string, string>export type MatchResult = {params: RouteParams}export type Route = { match: (path: string) => MatchResult | undefined build: (params?: Record<string, any>) => string}