this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 98 lines 4.1 kB view raw
1import {Router} from '#/lib/routes/router' 2import {type FlatNavigatorParams} from './lib/routes/types' 3 4type AllNavigatableRoutes = Omit< 5 FlatNavigatorParams, 6 'NotFound' | 'SharedPreferencesTester' 7> 8 9export const router = new Router<AllNavigatableRoutes>({ 10 Home: ['/', '/download'], 11 Search: '/search', 12 Feeds: '/feeds', 13 Notifications: '/notifications', 14 NotificationsActivityList: '/notifications/activity', 15 LegacyNotificationSettings: '/notifications/settings', 16 Settings: '/settings', 17 Lists: '/lists', 18 // moderation 19 Moderation: '/moderation', 20 ModerationModlists: '/moderation/modlists', 21 ModerationMutedAccounts: '/moderation/muted-accounts', 22 ModerationBlockedAccounts: '/moderation/blocked-accounts', 23 ModerationInteractionSettings: '/moderation/interaction-settings', 24 ModerationVerificationSettings: '/moderation/verification-settings', 25 // profiles, threads, lists 26 Profile: ['/profile/:name', '/profile/:name/rss'], 27 ProfileFollowers: '/profile/:name/followers', 28 ProfileFollows: '/profile/:name/follows', 29 ProfileKnownFollowers: '/profile/:name/known-followers', 30 ProfileSearch: '/profile/:name/search', 31 ProfileList: '/profile/:name/lists/:rkey', 32 PostThread: '/profile/:name/post/:rkey', 33 PostLikedBy: '/profile/:name/post/:rkey/liked-by', 34 PostRepostedBy: '/profile/:name/post/:rkey/reposted-by', 35 PostQuotes: '/profile/:name/post/:rkey/quotes', 36 ProfileFeed: '/profile/:name/feed/:rkey', 37 ProfileFeedLikedBy: '/profile/:name/feed/:rkey/liked-by', 38 ProfileLabelerLikedBy: '/profile/:name/labeler/liked-by', 39 // debug 40 Debug: '/sys/debug', 41 DebugMod: '/sys/debug-mod', 42 Log: '/sys/log', 43 // settings 44 LanguageSettings: '/settings/language', 45 AppPasswords: '/settings/app-passwords', 46 PreferencesFollowingFeed: '/settings/following-feed', 47 PreferencesThreads: '/settings/threads', 48 PreferencesExternalEmbeds: '/settings/external-embeds', 49 AccessibilitySettings: '/settings/accessibility', 50 RunesSettings: '/settings/runes', 51 AppearanceSettings: '/settings/appearance', 52 SavedFeeds: '/settings/saved-feeds', 53 AccountSettings: '/settings/account', 54 AutomationLabelSettings: '/settings/automation-label', 55 PrivacyAndSecuritySettings: '/settings/privacy-and-security', 56 ActivityPrivacySettings: '/settings/privacy-and-security/activity', 57 ContentAndMediaSettings: '/settings/content-and-media', 58 InterestsSettings: '/settings/interests', 59 AboutSettings: '/settings/about', 60 AppIconSettings: '/settings/app-icon', 61 NotificationSettings: '/settings/notifications', 62 ReplyNotificationSettings: '/settings/notifications/replies', 63 MentionNotificationSettings: '/settings/notifications/mentions', 64 QuoteNotificationSettings: '/settings/notifications/quotes', 65 LikeNotificationSettings: '/settings/notifications/likes', 66 RepostNotificationSettings: '/settings/notifications/reposts', 67 NewFollowerNotificationSettings: '/settings/notifications/new-followers', 68 LikesOnRepostsNotificationSettings: 69 '/settings/notifications/likes-on-reposts', 70 RepostsOnRepostsNotificationSettings: 71 '/settings/notifications/reposts-on-reposts', 72 ActivityNotificationSettings: '/settings/notifications/activity', 73 MiscellaneousNotificationSettings: '/settings/notifications/miscellaneous', 74 FindContactsSettings: '/settings/find-contacts', 75 // support 76 Support: '/support', 77 PrivacyPolicy: '/support/privacy', 78 TermsOfService: '/support/tos', 79 CommunityGuidelines: '/support/community-guidelines', 80 CopyrightPolicy: '/support/copyright', 81 // hashtags 82 Hashtag: '/hashtag/:tag', 83 Topic: '/topic/:topic', 84 // DMs 85 Messages: '/messages', 86 MessagesSettings: '/messages/settings', 87 MessagesInbox: '/messages/inbox', 88 MessagesConversation: '/messages/:conversation', 89 // starter packs 90 Start: '/start/:name/:rkey', 91 StarterPackEdit: '/starter-pack/edit/:rkey', 92 StarterPack: '/starter-pack/:name/:rkey', 93 StarterPackShort: '/starter-pack-short/:code', 94 StarterPackWizard: '/starter-pack/create', 95 VideoFeed: '/video-feed', 96 Bookmarks: '/saved', 97 FindContactsFlow: '/find-contacts', 98})