Move types up

This commit is contained in:
jeffvli
2022-10-26 16:21:51 -07:00
parent 6763f4439d
commit 8f82d001f0
7 changed files with 111 additions and 248 deletions
+65
View File
@@ -8,3 +8,68 @@ export interface CardRow {
route: AppRoute | string;
};
}
export enum LibraryItem {
ALBUM = 'album',
ALBUM_ARTIST = 'albumArtist',
ARTIST = 'artist',
PLAYLIST = 'playlist',
SONG = 'song',
}
export enum Platform {
LINUX = 'linux',
MACOS = 'macos',
WEB = 'web',
WINDOWS = 'windows',
}
export enum ServerType {
JELLYFIN = 'jellyfin',
SUBSONIC = 'subsonic',
}
export enum PlayerStatus {
PAUSED = 'paused',
PLAYING = 'playing',
}
export enum PlayerRepeat {
ALL = 'all',
NONE = 'none',
ONE = 'one',
}
export enum Play {
LAST = 'last',
NEXT = 'next',
NOW = 'now',
}
export enum CrossfadeStyle {
CONSTANT_POWER = 'constantPower',
CONSTANT_POWER_SLOW_CUT = 'constantPowerSlowCut',
CONSTANT_POWER_SLOW_FADE = 'constantPowerSlowFade',
DIPPED = 'dipped',
EQUALPOWER = 'equalPower',
LINEAR = 'linear',
}
export enum PlaybackStyle {
CROSSFADE = 'crossfade',
GAPLESS = 'gapless',
}
export enum PlaybackType {
LOCAL = 'local',
WEB = 'web',
}
export interface UniqueId {
uniqueId: string;
}
export enum SortOrder {
ASC = 'asc',
DESC = 'desc',
}