@dvxch/yandex-music
    Preparing search index...

    Class BriefInfo

    A rich aggregate of everything shown on an artist's main page.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    albums?: Album[]

    The artist's albums.

    allCovers?: Cover[]

    All available covers.

    alsoAlbums?: Album[]

    Albums the artist also appears on.

    artist?: Artist

    The artist.

    bandlinkScannerLink?: string

    Bandlink scanner (smartlink) URL for the artist.

    client?: Client

    The client that created this model, used by convenience methods.

    clips?: Clip[]

    The artist's clips (short videos).

    concerts?: JSONValue

    Upcoming concerts (raw JSON, pending a typed Concert model).

    customWave?: CustomWave

    The artist's custom wave (radio) descriptor.

    extraActions?: ExtraAction[]

    Extra page actions (for example a donation button).

    hasPromotions?: boolean

    Whether the artist has active promotions.

    hasTrailer?: boolean

    Whether the artist has a trailer.

    lastReleaseIds?: number[]

    Ids of the most recent releases.

    lastReleases?: Album[]

    The most recent releases.

    links?: Link[]

    External links (official site, socials).

    playlistIds?: PlaylistId[]

    References to playlists by the artist.

    playlists?: Playlist[]

    Playlists featuring the artist.

    popularTracks?: Track[]

    A selection of popular tracks.

    similarArtists?: Artist[]

    Similar artists.

    stats?: Stats

    Listening statistics.

    tracksInChart?: Chart[]

    The artist's tracks that currently chart.

    videos?: Video[]

    Music videos.

    vinyls?: Vinyl[]

    Vinyl records on offer.

    Methods

    • Assert that this model carries a client, returning it narrowed to non-null.

      Convenience methods that need to call the API use this to fail fast with a clear message instead of a generic "cannot read property of undefined".

      Returns Client

      The owning Client.

      When the model was created without a client.