my fork of the bluesky client
at main 66 lines 2.5 kB view raw
1import {Router} from '#/lib/routes/router' 2 3export const router = new Router({ 4 Home: '/', 5 Search: '/search', 6 Feeds: '/feeds', 7 Notifications: '/notifications', 8 NotificationSettings: '/notifications/settings', 9 Settings: '/settings', 10 Lists: '/lists', 11 // moderation 12 Moderation: '/moderation', 13 ModerationModlists: '/moderation/modlists', 14 ModerationMutedAccounts: '/moderation/muted-accounts', 15 ModerationBlockedAccounts: '/moderation/blocked-accounts', 16 // profiles, threads, lists 17 Profile: ['/profile/:name', '/profile/:name/rss'], 18 ProfileFollowers: '/profile/:name/followers', 19 ProfileFollows: '/profile/:name/follows', 20 ProfileKnownFollowers: '/profile/:name/known-followers', 21 ProfileList: '/profile/:name/lists/:rkey', 22 PostThread: '/profile/:name/post/:rkey', 23 PostLikedBy: '/profile/:name/post/:rkey/liked-by', 24 PostRepostedBy: '/profile/:name/post/:rkey/reposted-by', 25 PostQuotes: '/profile/:name/post/:rkey/quotes', 26 ProfileFeed: '/profile/:name/feed/:rkey', 27 ProfileFeedLikedBy: '/profile/:name/feed/:rkey/liked-by', 28 ProfileLabelerLikedBy: '/profile/:name/labeler/liked-by', 29 // debug 30 Debug: '/sys/debug', 31 DebugMod: '/sys/debug-mod', 32 Log: '/sys/log', 33 // settings 34 LanguageSettings: '/settings/language', 35 AppPasswords: '/settings/app-passwords', 36 PreferencesFollowingFeed: '/settings/following-feed', 37 PreferencesThreads: '/settings/threads', 38 PreferencesExternalEmbeds: '/settings/external-embeds', 39 AccessibilitySettings: '/settings/accessibility', 40 AppearanceSettings: '/settings/appearance', 41 SavedFeeds: '/settings/saved-feeds', 42 // new settings 43 AccountSettings: '/settings/account', 44 PrivacyAndSecuritySettings: '/settings/privacy-and-security', 45 ContentAndMediaSettings: '/settings/content-and-media', 46 AboutSettings: '/settings/about', 47 AppIconSettings: '/settings/app-icon', 48 // support 49 Support: '/support', 50 PrivacyPolicy: '/support/privacy', 51 TermsOfService: '/support/tos', 52 CommunityGuidelines: '/support/community-guidelines', 53 CopyrightPolicy: '/support/copyright', 54 // hashtags 55 Hashtag: '/hashtag/:tag', 56 // DMs 57 Messages: '/messages', 58 MessagesSettings: '/messages/settings', 59 MessagesConversation: '/messages/:conversation', 60 // starter packs 61 Start: '/start/:name/:rkey', 62 StarterPackEdit: '/starter-pack/edit/:rkey', 63 StarterPack: '/starter-pack/:name/:rkey', 64 StarterPackShort: '/starter-pack-short/:code', 65 StarterPackWizard: '/starter-pack/create', 66})