Logo

Docs

Explore

Explore Models

Explore section shape.

Explore

type Explore = (
  | Section<Song>
  | Section<Album>
  | Section<Artist>
  | Section<Playlist>
  | Section<Station>
)[];

Section

interface Section<T extends Resource> {
  title: string;
  type: T["type"];
  data: T[];
}

On this page