* show quote posts * fix filter * fix keyExtractor * move likedby and repostedby to new file structure * use modern list component * remove relative imports * update quotes count after quoting * call `onPost` after updating quote count * Revert "update quotes count after quoting" This reverts commit 1f1887730a210c57c1e5a0eb0f47c42c42cf1b4b. * implement * update like count in quotes list * only add `onPostReply` where needed * Filter quotes with detached embeds * Bump SDK * Don't show error for no results --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
52 lines
2 KiB
TypeScript
52 lines
2 KiB
TypeScript
import {Router} from 'lib/routes/router'
|
|
|
|
export const router = new Router({
|
|
Home: '/',
|
|
Search: '/search',
|
|
Feeds: '/feeds',
|
|
Notifications: '/notifications',
|
|
NotificationsSettings: '/notifications/settings',
|
|
Settings: '/settings',
|
|
LanguageSettings: '/settings/language',
|
|
Lists: '/lists',
|
|
Moderation: '/moderation',
|
|
ModerationModlists: '/moderation/modlists',
|
|
ModerationMutedAccounts: '/moderation/muted-accounts',
|
|
ModerationBlockedAccounts: '/moderation/blocked-accounts',
|
|
Profile: ['/profile/:name', '/profile/:name/rss'],
|
|
ProfileFollowers: '/profile/:name/followers',
|
|
ProfileFollows: '/profile/:name/follows',
|
|
ProfileKnownFollowers: '/profile/:name/known-followers',
|
|
ProfileList: '/profile/:name/lists/:rkey',
|
|
PostThread: '/profile/:name/post/:rkey',
|
|
PostLikedBy: '/profile/:name/post/:rkey/liked-by',
|
|
PostRepostedBy: '/profile/:name/post/:rkey/reposted-by',
|
|
PostQuotes: '/profile/:name/post/:rkey/quotes',
|
|
ProfileFeed: '/profile/:name/feed/:rkey',
|
|
ProfileFeedLikedBy: '/profile/:name/feed/:rkey/liked-by',
|
|
ProfileLabelerLikedBy: '/profile/:name/labeler/liked-by',
|
|
Debug: '/sys/debug',
|
|
DebugMod: '/sys/debug-mod',
|
|
Log: '/sys/log',
|
|
AppPasswords: '/settings/app-passwords',
|
|
PreferencesFollowingFeed: '/settings/following-feed',
|
|
PreferencesThreads: '/settings/threads',
|
|
PreferencesExternalEmbeds: '/settings/external-embeds',
|
|
AccessibilitySettings: '/settings/accessibility',
|
|
AppearanceSettings: '/settings/appearance',
|
|
SavedFeeds: '/settings/saved-feeds',
|
|
Support: '/support',
|
|
PrivacyPolicy: '/support/privacy',
|
|
TermsOfService: '/support/tos',
|
|
CommunityGuidelines: '/support/community-guidelines',
|
|
CopyrightPolicy: '/support/copyright',
|
|
Hashtag: '/hashtag/:tag',
|
|
Messages: '/messages',
|
|
MessagesSettings: '/messages/settings',
|
|
MessagesConversation: '/messages/:conversation',
|
|
Start: '/start/:name/:rkey',
|
|
StarterPackEdit: '/starter-pack/edit/:rkey',
|
|
StarterPack: '/starter-pack/:name/:rkey',
|
|
StarterPackShort: '/starter-pack-short/:code',
|
|
StarterPackWizard: '/starter-pack/create',
|
|
})
|