Compare commits

...

2 Commits

Author SHA1 Message Date
Darius
20e94a7e0e 1.4.0 2026-01-28 22:51:15 +01:00
Darius
7f2b8ce5aa update tidal objects 2026-01-28 22:49:54 +01:00
3 changed files with 29 additions and 14 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@dpu/shared",
"version": "1.3.0",
"version": "1.4.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@dpu/shared",
"version": "1.3.0",
"version": "1.4.0",
"dependencies": {
"axios": "^1.7.9",
"chalk": "^5.6.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@dpu/shared",
"version": "1.3.0",
"version": "1.4.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -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;
};