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

    Class TrackFullInfo

    Full information about a track, including related content.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    aliases?: string[]

    Title aliases.

    alsoInAlbums?: Track[]

    Other albums the track appears in.

    artists?: Artist[]

    Related artists.

    client?: Client

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

    otherVersions?: Record<string, Track[]>

    Other versions of the track, keyed by version label (e.g. live, remix).

    similarTracks?: Track[]

    Similar tracks.

    track?: Track

    The track itself.

    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.