Logo

Docs

Search

Search Models

Search result shapes.

interface Search {
  songs: List<Song>;
  albums: List<Album>;
  artists: List<Artist>;
  playlists: List<Playlist>;
  top: List<Song | Album | Artist | Playlist>;
}
type SearchType = List<Song> | List<Album> | List<Artist> | List<Playlist>;

Search Suggestions

type SearchSuggestions = string[];

On this page