mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
added artist filters
This commit is contained in:
@@ -8,13 +8,19 @@ export interface Server {
|
||||
salt: string
|
||||
}
|
||||
|
||||
export interface FilterSettings {
|
||||
export interface AlbumFilterSettings {
|
||||
type: GetAlbumList2Type
|
||||
fromYear: number
|
||||
toYear: number
|
||||
genre: string
|
||||
}
|
||||
|
||||
export type ArtistFilterType = 'random' | 'starred' | 'alphabeticalByName'
|
||||
|
||||
export interface ArtistFilterSettings {
|
||||
type: ArtistFilterType
|
||||
}
|
||||
|
||||
export interface AppSettings {
|
||||
servers: Server[]
|
||||
screens: {
|
||||
@@ -22,7 +28,8 @@ export interface AppSettings {
|
||||
lists: string[]
|
||||
}
|
||||
library: {
|
||||
albums: FilterSettings
|
||||
albums: AlbumFilterSettings
|
||||
artists: ArtistFilterSettings
|
||||
}
|
||||
}
|
||||
activeServer?: string
|
||||
|
||||
Reference in New Issue
Block a user