mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2025-12-06 09:54:07 +00:00
67 lines
1.1 KiB
JavaScript
67 lines
1.1 KiB
JavaScript
/**
|
|
* @typedef {import('module')} Module
|
|
*
|
|
* @typedef {import('express').Request} Req
|
|
* @typedef {import('express').Response} Res
|
|
* @typedef {import('express').NextFunction} Next
|
|
*
|
|
* @typedef {{
|
|
* type: string,
|
|
* is_local: boolean,
|
|
* id: string,
|
|
* artist?: string,
|
|
* album?: string,
|
|
* title?: string,
|
|
* duration?: number
|
|
* }} URIObject
|
|
*
|
|
* @typedef {{
|
|
* username: string,
|
|
* uri: string
|
|
* }} User
|
|
*
|
|
* @typedef {{
|
|
* name: string,
|
|
* uri: string,
|
|
* }} SimplifiedPlaylist
|
|
*
|
|
* @typedef {{
|
|
* name: string
|
|
* }} Album
|
|
*
|
|
* @typedef {{
|
|
* name: string
|
|
* }} Artist
|
|
*
|
|
* @typedef {{
|
|
* uri: string,
|
|
* name: string,
|
|
* artists: Artist[]
|
|
* album: Album,
|
|
* is_local: boolean,
|
|
* }} Track
|
|
*
|
|
* @typedef {{
|
|
* added_at: string,
|
|
* track: Track,
|
|
* }} PlaylistTrack
|
|
*
|
|
* @typedef {{
|
|
* url: string,
|
|
* height: number,
|
|
* width: number
|
|
* }} ImageObject
|
|
*
|
|
* @typedef {{
|
|
* uri: string,
|
|
* name: string,
|
|
* description: string,
|
|
* collaborative: boolean,
|
|
* public: boolean,
|
|
* owner: User,
|
|
* images: ImageObject[],
|
|
* tracks: PlaylistTrack[],
|
|
* }} PlaylistDetails
|
|
*/
|
|
|
|
exports.unused = {}; |