diff --git a/src/tidal.ts b/src/tidal.ts index 5fdd16d..bf793fd 100644 --- a/src/tidal.ts +++ b/src/tidal.ts @@ -1,14 +1,29 @@ -export type TidalSong = { - title: string; - artists: string; - album: string; - playingFrom: string; - status: "playing" | "paused"; - url: string; - current: string; - duration: string; +export type TidalGetCurrent = { + title: string; + artists: string; + artistsArray: string[]; + album: string; + playingFrom: string; + status: "playing" | "paused"; + url: string; + current: string; + currentInSeconds: number; + duration: string; + durationInSeconds: number; + image: string; + icon: string; + localAlbumArt: string; + favorite: boolean; + trackId: string; + volume: number; + player: { + status: "playing" | "paused"; + shuffle: boolean; + repeat: "all" | "single" | "none"; + }; + artist: string; }; -export type TidalVolume = { - volume: number; +export type TidalPutVolume = { + volume: number; };