mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2025-12-06 09:24:07 +00:00
53 lines
876 B
JavaScript
53 lines
876 B
JavaScript
/**
|
|
* @typedef {import('module')} Module
|
|
*
|
|
* @typedef {import('express').Request} Req
|
|
* @typedef {import('express').Response} Res
|
|
* @typedef {import('express').NextFunction} Next
|
|
*
|
|
* @typedef {import('winston').Logger} Logger
|
|
*
|
|
* @typedef {{
|
|
* display_name: string,
|
|
* id: string
|
|
* }} User
|
|
*
|
|
* @typedef {{
|
|
* name: string,
|
|
* id: 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 {{
|
|
* uri: string,
|
|
* name: string,
|
|
* description: string,
|
|
* owner: User,
|
|
* followers: {
|
|
* total: number
|
|
* },
|
|
* tracks: PlaylistTrack[],
|
|
* }} Playlist
|
|
*/
|
|
|
|
exports.unused = {}; |