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", "name": "@dpu/shared",
"version": "1.3.0", "version": "1.4.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@dpu/shared", "name": "@dpu/shared",
"version": "1.3.0", "version": "1.4.0",
"dependencies": { "dependencies": {
"axios": "^1.7.9", "axios": "^1.7.9",
"chalk": "^5.6.2", "chalk": "^5.6.2",

View File

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

View File

@@ -1,14 +1,29 @@
export type TidalSong = { export type TidalGetCurrent = {
title: string; title: string;
artists: string; artists: string;
album: string; artistsArray: string[];
playingFrom: string; album: string;
status: "playing" | "paused"; playingFrom: string;
url: string; status: "playing" | "paused";
current: string; url: string;
duration: 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 = { export type TidalPutVolume = {
volume: number; volume: number;
}; };