mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Some more changes
This commit is contained in:
40
play-dl/Spotify/constants.ts
Normal file
40
play-dl/Spotify/constants.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { SpotifyArtists, SpotifyThumbnail, SpotifyTrackAlbum } from './classes'
|
||||
|
||||
export interface TrackJSON{
|
||||
/**
|
||||
* Spotify Track Name
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Spotify Track ID
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Spotify Track url
|
||||
*/
|
||||
url: string;
|
||||
/**
|
||||
* Spotify Track explicit info.
|
||||
*/
|
||||
explicit: boolean;
|
||||
/**
|
||||
* Spotify Track Duration in seconds
|
||||
*/
|
||||
durationInSec: number;
|
||||
/**
|
||||
* Spotify Track Duration in milli seconds
|
||||
*/
|
||||
durationInMs: number;
|
||||
/**
|
||||
* Spotify Track Artists data [ array ]
|
||||
*/
|
||||
artists: SpotifyArtists[];
|
||||
/**
|
||||
* Spotify Track Album data
|
||||
*/
|
||||
album: SpotifyTrackAlbum | undefined;
|
||||
/**
|
||||
* Spotify Track Thumbnail Data
|
||||
*/
|
||||
thumbnail: SpotifyThumbnail | undefined;
|
||||
}
|
||||
Reference in New Issue
Block a user