@lacunahub/lavaluna.js
    Preparing search index...

    Interface SearchResult

    interface SearchResult {
        exception?: Exception;
        loadType: LoadResultType;
        playlist?: PlaylistInfo;
        tracks: QueuedTrack[];
    }
    Index

    Properties

    exception?: Exception

    The exception when searching if one.

    loadType: LoadResultType

    The load type of the result.

    playlist?: PlaylistInfo

    The playlist info if the load type is "playlist".

    tracks: QueuedTrack[]

    The array of tracks from the result.