Skip to content

Commit

Permalink
fix: reference correct playlist type
Browse files Browse the repository at this point in the history
  • Loading branch information
joeydotdev authored and stingalleman committed Nov 29, 2022
1 parent f7074bb commit e4d395b
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions src/interfaces/Spotify/Playlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,6 @@ export interface SimplifiedPlaylist {
uri: string;
}

export interface Playlist {
collaborative: boolean;
description?: string;
external_urls: ExternalUrls;
followers: Followers;
href: string;
id: string;
images: Image[];
name: string;
owner: UserPublic;
public: boolean;
snapshot_id: string;
tracks: PagingObject<Track>;
type: string;
uri: string;
}

export interface PlaylistTrack {
added_at: string;
added_by: {
Expand All @@ -52,3 +35,19 @@ export interface PlaylistTrack {
url: null;
};
}
export interface Playlist {
collaborative: boolean;
description?: string;
external_urls: ExternalUrls;
followers: Followers;
href: string;
id: string;
images: Image[];
name: string;
owner: UserPublic;
public: boolean;
snapshot_id: string;
tracks: PagingObject<PlaylistTrack>;
type: string;
uri: string;
}

0 comments on commit e4d395b

Please sign in to comment.