2023-03-13 22:01:43 +01:00
|
|
|
import {Router} from 'lib/routes/router'
|
|
|
|
|
|
|
|
export const router = new Router({
|
|
|
|
Home: '/',
|
|
|
|
Search: '/search',
|
|
|
|
Notifications: '/notifications',
|
|
|
|
Settings: '/settings',
|
2023-05-11 23:08:21 +02:00
|
|
|
Moderation: '/moderation',
|
|
|
|
ModerationMuteLists: '/moderation/mute-lists',
|
|
|
|
ModerationMutedAccounts: '/moderation/muted-accounts',
|
|
|
|
ModerationBlockedAccounts: '/moderation/blocked-accounts',
|
2023-03-13 22:01:43 +01:00
|
|
|
Profile: '/profile/:name',
|
|
|
|
ProfileFollowers: '/profile/:name/followers',
|
|
|
|
ProfileFollows: '/profile/:name/follows',
|
2023-05-11 23:08:21 +02:00
|
|
|
ProfileList: '/profile/:name/lists/:rkey',
|
2023-03-13 22:01:43 +01:00
|
|
|
PostThread: '/profile/:name/post/:rkey',
|
2023-03-31 20:17:26 +02:00
|
|
|
PostLikedBy: '/profile/:name/post/:rkey/liked-by',
|
2023-03-13 22:01:43 +01:00
|
|
|
PostRepostedBy: '/profile/:name/post/:rkey/reposted-by',
|
2023-05-17 19:30:54 +02:00
|
|
|
CustomFeed: '/profile/:name/feed/:rkey',
|
2023-03-13 22:01:43 +01:00
|
|
|
Debug: '/sys/debug',
|
|
|
|
Log: '/sys/log',
|
2023-04-22 01:55:29 +02:00
|
|
|
AppPasswords: '/settings/app-passwords',
|
2023-05-15 03:37:18 +02:00
|
|
|
SavedFeeds: '/settings/saved-feeds',
|
2023-03-14 02:34:01 +01:00
|
|
|
Support: '/support',
|
|
|
|
PrivacyPolicy: '/support/privacy',
|
2023-04-07 05:53:58 +02:00
|
|
|
TermsOfService: '/support/tos',
|
|
|
|
CommunityGuidelines: '/support/community-guidelines',
|
|
|
|
CopyrightPolicy: '/support/copyright',
|
2023-03-13 22:01:43 +01:00
|
|
|
})
|