Skip to Content
Documentation

songstress/client

The client entry's API object and what it exports.

Import the client entry's songstress from songstress/client. It has everything of songstress, plus commands.execute, player and queue, and the client hooks.

What it exports is the SDK's own record of its public surface, which the SDK's tests hold to the code. Each type's fields, and every description, are read from the SDK's source when the site is built.

songstress

It also exports, as the modules that declare them document them: API_VERSION, Action, Album, AlbumCard, Artist, ArtistBiography, ArtistCard, ArtistInfoProvider, ArtistPhoto, ArtistQuery, ArtworkProvider, AudioContainer, AudioFacts, Awaitable, BadgeBlock, BannerBlock, Block, ButtonBlock, Card, CatalogAlbum, CatalogAlbumDetail, CatalogArtist, CatalogArtistDetail, CatalogIds, CatalogPlaylist, CatalogPlaylistDetail, CatalogTrack, CatalogType, CheckboxField, ClientApi, ClientCapabilities, ClientCommands, ClientHooks, ClientInfo, ClientUi, CollapsibleBlock, CommandContext, CommandHandler, CommandOutcome, Commands, ConfirmAction, CopyAction, DateField, Destination, DetailScreen, Disposable, DividerBlock, DownloadAvailability, DownloadLocation, DownloadProvider, EmptyState, Favorite, FavoriteEvent, Field, ForUser, FormScreen, FormValues, GridScreen, Host, HostInfo, IconBlock, IconName, ImageBlock, ImageSource, InputAction, InvokeAction, JobHandler, JobRun, Jobs, JsonValue, Library, LibraryChange, LibrarySearchResults, LibraryType, LinkProvider, LinkResult, ListScreen, LookupProvider, LyricsLine, LyricsProvider, LyricsResult, MenuBlock, MenuEntry, MenuLocation, MetadataProvider, NavigateAction, Net, NetRequest, NetResponse, Notice, NotifyAction, OpenUrlAction, PageRenderer, Pages, PanelContent, PanelContext, PanelRenderer, Panels, PermissionName, PickAction, PickItem, PickerField, Platform, PlayAction, PlayEvent, PlayProvider, Playable, Player, PlayerState, Playlist, PlaylistCard, PlaylistChangeEvent, ProgressBlock, ProviderContext, ProviderFailure, ProviderFailureCode, ProviderGroup, ProviderRegistry, Providers, Queue, QueueAction, QueueState, RecommendProvider, RecommendSeed, RecommendedTrack, RefreshAction, RefreshTarget, RenderContext, RouteHandler, RouteRequest, RouteResponse, Routes, Row, ScanSummary, Screen, ScrobbleEvent, ScrobblePlay, ScrobbleProvider, SearchProvider, SearchQuery, SearchResults, Secrets, SectionBlock, ServerApi, ServerHooks, ServerSettings, ServerStore, ServerUi, SettingChange, SettingValue, Settings, ShareAction, SharedApi, SharedHooks, ShelfBlock, Side, SignInHandler, SignInPage, SignInRegistry, SignInReturn, SignInStart, SignOutRequest, SignedIn, Size, SliderField, Song, SongRow, SongstressError, SongstressErrorCode, SpacerBlock, StackBlock, StatusContent, StatusContext, StatusItems, StatusRenderer, Store, StreamLocation, SwitchField, TextBlock, TextField, ToastAction, Tone, TrackFacts, TrackQuery, TreeNode, TreeScreen, UI_VERSION, Ui, User, Users.

songstress

The client entry's API: import { songstress } from 'songstress/client'.

export declare const clientApi: ClientApi;

Refers to ClientApi.