update tidal objects
This commit is contained in:
37
src/tidal.ts
37
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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user