feishin/src/renderer/router/routes.ts

24 lines
1,008 B
TypeScript
Raw Normal View History

2022-12-19 15:59:14 -08:00
export enum AppRoute {
ACTION_REQUIRED = '/action-required',
EXPLORE = '/explore',
HOME = '/',
LIBRARY_ALBUMS = '/library/albums',
LIBRARY_ALBUMS_DETAIL = '/library/albums/:albumId',
2023-01-12 12:45:44 -08:00
LIBRARY_ALBUM_ARTISTS = '/library/album-artists',
LIBRARY_ALBUM_ARTISTS_DETAIL = '/library/album-artists/:albumArtistId',
LIBRARY_ALBUM_ARTISTS_DETAIL_DISCOGRAPHY = '/library/album-artists/:albumArtistId/discography',
LIBRARY_ALBUM_ARTISTS_DETAIL_SONGS = '/library/album-artists/:albumArtistId/songs',
2023-01-12 12:45:44 -08:00
LIBRARY_ALBUM_ARTISTS_DETAIL_TOP_SONGS = '/library/album-artists/:albumArtistId/top-songs',
2022-12-19 15:59:14 -08:00
LIBRARY_ARTISTS = '/library/artists',
LIBRARY_ARTISTS_DETAIL = '/library/artists/:artistId',
LIBRARY_FOLDERS = '/library/folders',
LIBRARY_SONGS = '/library/songs',
NOW_PLAYING = '/now-playing',
PLAYING = '/playing',
PLAYLISTS = '/playlists',
PLAYLISTS_DETAIL = '/playlists/:playlistId',
2023-01-01 13:58:05 -08:00
PLAYLISTS_DETAIL_SONGS = '/playlists/:playlistId/songs',
2022-12-19 15:59:14 -08:00
SEARCH = '/search',
SERVERS = '/servers',
}