mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 14:14:06 +00:00
some more fixes, URI stuff
This commit is contained in:
26
typedefs.js
26
typedefs.js
@@ -8,13 +8,23 @@
|
||||
* @typedef {import('winston').Logger} Logger
|
||||
*
|
||||
* @typedef {{
|
||||
* type: string,
|
||||
* is_local: boolean,
|
||||
* id: string,
|
||||
* artist?: string,
|
||||
* album?: string,
|
||||
* title?: string,
|
||||
* duration?: number
|
||||
* }} UriObject
|
||||
*
|
||||
* @typedef {{
|
||||
* display_name: string,
|
||||
* id: string
|
||||
* uri: string
|
||||
* }} User
|
||||
*
|
||||
* @typedef {{
|
||||
* name: string,
|
||||
* id: string,
|
||||
* uri: string,
|
||||
* }} SimplifiedPlaylist
|
||||
*
|
||||
* @typedef {{
|
||||
@@ -39,13 +49,19 @@
|
||||
* }} PlaylistTrack
|
||||
*
|
||||
* @typedef {{
|
||||
* url: string,
|
||||
* height: number,
|
||||
* width: number
|
||||
* }} ImageObject
|
||||
*
|
||||
* @typedef {{
|
||||
* uri: string,
|
||||
* name: string,
|
||||
* description: string,
|
||||
* collaborative: boolean,
|
||||
* public: boolean,
|
||||
* owner: User,
|
||||
* followers: {
|
||||
* total: number
|
||||
* },
|
||||
* images: ImageObject[],
|
||||
* tracks: PlaylistTrack[],
|
||||
* }} Playlist
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user