-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
pages.ts
145 lines (143 loc) · 3.85 KB
/
pages.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
import { MuzikaPageMeta } from "./navigation.js";
import { LibraryPage } from "./pages/library/index.js";
import { HomePage } from "./pages/home.js";
import { PlaylistPage } from "./pages/playlist.js";
import { ArtistPage } from "./pages/artist.js";
import { SearchPage } from "./pages/search.js";
import { AlbumPage } from "./pages/album.js";
import { LibraryPlaylistsPage } from "./pages/library/playlists.js";
import { LibraryAlbumsPage } from "./pages/library/albums.js";
import { LibraryArtistsPage } from "./pages/library/artists.js";
import { LibrarySubscriptionsPage } from "./pages/library/subscriptions.js";
import { LibrarySongsPage } from "./pages/library/songs.js";
import { HistoryPage } from "./pages/library/history.js";
import { ArtistAlbumsPage } from "./pages/artist-albums.js";
import { ChannelPage } from "./pages/channel.js";
import { ChannelPlaylistsPage } from "./pages/channel-playlists.js";
import { ExplorePage } from "./pages/explore.js";
import { ChartsPage } from "./pages/charts.js";
import { MoodsPage } from "./pages/moods.js";
import { MoodPlaylistsPage } from "./pages/mood-playlists.js";
import { NewReleasesPage } from "./pages/new-releases.js";
export const pageMetas: MuzikaPageMeta[] = [
{
uri: "home",
title: _("Home"),
build: () => new HomePage(),
load: HomePage.load,
},
{
uri: "playlist/:playlistId",
title: _("Playlist"),
build: () => new PlaylistPage(),
load: PlaylistPage.load,
},
{
uri: "album/:albumId",
title: _("Album"),
build: () => new AlbumPage(),
load: AlbumPage.load,
},
{
uri: "artist/:channelId",
title: _("Artist"),
build: () => new ArtistPage(),
load: ArtistPage.load,
},
{
uri: "search/:query",
title: _("Search Results"),
build: () => new SearchPage(),
load: SearchPage.load,
},
{
uri: "library",
title: _("Library"),
build: () => new LibraryPage(),
load: LibraryPage.load,
},
{
uri: "library/playlists",
title: _("Library Playlists"),
build: () => new LibraryPlaylistsPage(),
load: LibraryPlaylistsPage.load,
},
{
uri: "library/albums",
title: _("Library Albums"),
build: () => new LibraryAlbumsPage(),
load: LibraryAlbumsPage.load,
},
{
uri: "library/artists",
title: _("Library Artists"),
build: () => new LibraryArtistsPage(),
load: LibraryArtistsPage.load,
},
{
uri: "library/subscriptions",
title: _("Library Subscriptions"),
build: () => new LibrarySubscriptionsPage(),
load: LibrarySubscriptionsPage.load,
},
{
uri: "library/songs",
title: _("Library Songs"),
build: () => new LibrarySongsPage(),
load: LibrarySongsPage.load,
},
{
uri: "history",
title: _("History"),
build: () => new HistoryPage(),
load: HistoryPage.load,
},
{
uri: "artist-albums/:channelId/:params",
title: _("Artist Albums"),
build: () => new ArtistAlbumsPage(),
load: ArtistAlbumsPage.load,
},
{
uri: "channel/:channelId",
title: _("Channel"),
build: () => new ChannelPage(),
load: ChannelPage.load,
},
{
uri: "channel-playlists/:channelId/:params",
title: _("Channel Playlists"),
build: () => new ChannelPlaylistsPage(),
load: ChannelPlaylistsPage.load,
},
{
uri: "explore",
title: _("Explore"),
build: () => new ExplorePage(),
load: ExplorePage.load,
},
{
uri: "charts",
title: _("Charts"),
build: () => new ChartsPage(),
load: ChartsPage.load,
},
{
uri: "moods-and-genres",
title: _("Moods and genres"),
build: () => new MoodsPage(),
load: MoodsPage.load,
},
{
uri: "mood-playlists/:params",
title: _("Mood"),
build: () => new MoodPlaylistsPage(),
load: MoodPlaylistsPage.load,
},
{
uri: "new-releases",
title: _("New Releases"),
build: () => new NewReleasesPage(),
load: NewReleasesPage.load,
},
];