Skip to content

SearchContent type contain playlists #8

@5ohdan

Description

@5ohdan

At the moment, the Spotify API’s SearchContent object includes tracks, artists, albums, playlists, shows, and episodes.

However, the spotify-types library only supports the following types:

export interface SearchContent {
    /** The episode search results. */
    episodes?: Paging<SimplifiedEpisode>;
    /** The show search results. */
    shows?: Paging<SimplifiedShow>;
    /** The track search results. */
    tracks?: Paging<Track>;
    /** The artist search results. */
    artists?: Paging<Artist>;
    /** The album search results. */
    albums?: Paging<SimplifiedAlbum>;
}

I believe the solution would be to add the following:

playlists?: Paging<SimplifiedPlaylist>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions