mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-21 10:21:19 -06:00
* Initial Setup for Toggle * Enhancements to Offline (#279) * [skip actions] * xcode and project stuff * Enhancements to Offline (#279) * fix workflows * we don't need tests running on a pr, it's already going to run on a push * complete move to yarn * run formatter * fix build, prep for using mediasources * linting errors --------- Co-authored-by: Ritesh Shukla <ritesh.shukla2@M-LD4JMWLW26.local> Co-authored-by: Violet Caulfield <42452695+anultravioletaurora@users.noreply.github.com> Co-authored-by: anultravioletaurora <jellify@cosmonautical.com> Co-authored-by: Violet Caulfield <violet@cosmonautical.cloud>
24 lines
633 B
TypeScript
24 lines
633 B
TypeScript
import { QueryKeys } from '../../enums/query-keys'
|
|
|
|
interface CategoryRoute {
|
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
name: any // ¯\_(ツ)_/¯
|
|
iconName: string
|
|
params?: {
|
|
query: QueryKeys
|
|
}
|
|
}
|
|
|
|
const Categories: CategoryRoute[] = [
|
|
{
|
|
name: 'Artists',
|
|
iconName: 'microphone-variant',
|
|
params: { query: QueryKeys.FavoriteArtists },
|
|
},
|
|
{ name: 'Albums', iconName: 'music-box-multiple', params: { query: QueryKeys.FavoriteAlbums } },
|
|
{ name: 'Tracks', iconName: 'music-note', params: { query: QueryKeys.FavoriteTracks } },
|
|
{ name: 'Playlists', iconName: 'playlist-music' },
|
|
]
|
|
|
|
export default Categories
|