Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20e94a7e0e | ||
|
|
7f2b8ce5aa |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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",
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
37
src/tidal.ts
37
src/tidal.ts
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user