rocksky/generated/types

Types

pub type ActorArtistViewBasic {
  ActorArtistViewBasic(
    id: option.Option(String),
    name: option.Option(String),
    picture: option.Option(String),
    uri: option.Option(String),
    user1_rank: option.Option(Int),
    user2_rank: option.Option(Int),
    weight: option.Option(Int),
  )
}

Constructors

pub type ActorCompatibilityViewBasic {
  ActorCompatibilityViewBasic(
    compatibility_level: option.Option(Int),
    compatibility_percentage: option.Option(Int),
    shared_artists: option.Option(Int),
    top_shared_artist_names: List(String),
    top_shared_detailed_artists: List(ActorArtistViewBasic),
    user1_artist_count: option.Option(Int),
    user2_artist_count: option.Option(Int),
  )
}

Constructors

pub type ActorNeighbourViewBasic {
  ActorNeighbourViewBasic(
    user_id: option.Option(String),
    did: option.Option(String),
    handle: option.Option(String),
    display_name: option.Option(String),
    avatar: option.Option(String),
    shared_artists_count: option.Option(Int),
    similarity_score: option.Option(Int),
    top_shared_artist_names: List(String),
    top_shared_artists_details: List(ArtistViewBasic),
  )
}

Constructors

pub type ActorProfileViewBasic {
  ActorProfileViewBasic(
    id: option.Option(String),
    did: option.Option(String),
    handle: option.Option(String),
    display_name: option.Option(String),
    avatar: option.Option(String),
    created_at: option.Option(String),
    updated_at: option.Option(String),
  )
}

Constructors

pub type ActorProfileViewDetailed {
  ActorProfileViewDetailed(
    id: option.Option(String),
    did: option.Option(String),
    handle: option.Option(String),
    display_name: option.Option(String),
    avatar: option.Option(String),
    created_at: option.Option(String),
    updated_at: option.Option(String),
  )
}

Constructors

pub type ActorTrackView {
  ActorTrackView(
    name: String,
    artist: String,
    album: option.Option(String),
    album_cover_url: option.Option(String),
    duration_ms: option.Option(Int),
    source: option.Option(String),
    recording_mb_id: option.Option(String),
  )
}

Constructors

pub type AddDirectoryToQueueParams {
  AddDirectoryToQueueParams(
    player_id: option.Option(String),
    directory: String,
    position: option.Option(Int),
    shuffle: option.Option(Bool),
  )
}

Constructors

pub type AddItemsToQueueParams {
  AddItemsToQueueParams(
    player_id: option.Option(String),
    items: List(String),
    position: option.Option(Int),
    shuffle: option.Option(Bool),
  )
}

Constructors

pub type AlbumRecord {
  AlbumRecord(
    title: String,
    artist: String,
    duration: option.Option(Int),
    release_date: option.Option(String),
    year: option.Option(Int),
    genre: option.Option(String),
    album_art: option.Option(BlobRef),
    album_art_url: option.Option(String),
    tags: List(String),
    youtube_link: option.Option(String),
    spotify_link: option.Option(String),
    tidal_link: option.Option(String),
    apple_music_link: option.Option(String),
    created_at: String,
  )
}

Constructors

pub type AlbumViewBasic {
  AlbumViewBasic(
    id: option.Option(String),
    uri: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    artist_uri: option.Option(String),
    year: option.Option(Int),
    album_art: option.Option(String),
    release_date: option.Option(String),
    sha256: option.Option(String),
    play_count: option.Option(Int),
    unique_listeners: option.Option(Int),
  )
}

Constructors

pub type AlbumViewDetailed {
  AlbumViewDetailed(
    id: option.Option(String),
    uri: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    artist_uri: option.Option(String),
    year: option.Option(Int),
    album_art: option.Option(String),
    release_date: option.Option(String),
    sha256: option.Option(String),
    play_count: option.Option(Int),
    unique_listeners: option.Option(Int),
    tags: List(String),
    tracks: List(SongViewBasic),
  )
}

Constructors

pub type ApiKeyView {
  ApiKeyView(
    id: option.Option(String),
    name: option.Option(String),
    description: option.Option(String),
    created_at: option.Option(String),
  )
}

Constructors

pub type ArtistListenerViewBasic {
  ArtistListenerViewBasic(
    id: option.Option(String),
    did: option.Option(String),
    handle: option.Option(String),
    display_name: option.Option(String),
    avatar: option.Option(String),
    most_listened_song: option.Option(ArtistSongViewBasic),
    total_plays: option.Option(Int),
    rank: option.Option(Int),
  )
}

Constructors

pub type ArtistMbid {
  ArtistMbid(
    mbid: option.Option(String),
    name: option.Option(String),
  )
}

Constructors

pub type ArtistRecentListenerView {
  ArtistRecentListenerView(
    id: option.Option(String),
    did: option.Option(String),
    handle: option.Option(String),
    display_name: option.Option(String),
    avatar: option.Option(String),
    timestamp: option.Option(String),
    scrobble_uri: option.Option(String),
  )
}

Constructors

pub type ArtistRecord {
  ArtistRecord(
    name: String,
    bio: option.Option(String),
    picture: option.Option(BlobRef),
    picture_url: option.Option(String),
    tags: List(String),
    born: option.Option(String),
    died: option.Option(String),
    born_in: option.Option(String),
    created_at: String,
  )
}

Constructors

pub type ArtistSongViewBasic {
  ArtistSongViewBasic(
    uri: option.Option(String),
    title: option.Option(String),
    play_count: option.Option(Int),
  )
}

Constructors

pub type ArtistViewBasic {
  ArtistViewBasic(
    id: option.Option(String),
    uri: option.Option(String),
    name: option.Option(String),
    picture: option.Option(String),
    sha256: option.Option(String),
    play_count: option.Option(Int),
    unique_listeners: option.Option(Int),
    tags: List(String),
  )
}

Constructors

pub type ArtistViewDetailed {
  ArtistViewDetailed(
    id: option.Option(String),
    uri: option.Option(String),
    name: option.Option(String),
    picture: option.Option(String),
    sha256: option.Option(String),
    play_count: option.Option(Int),
    unique_listeners: option.Option(Int),
    tags: List(String),
  )
}

Constructors

pub type BlobCidRef {
  BlobCidRef(link: option.Option(String))
}

Constructors

pub type BlobRef {
  BlobRef(
    type_: option.Option(String),
    ref: option.Option(BlobCidRef),
    mime_type: option.Option(String),
    size: option.Option(Int),
  )
}

Constructors

pub type ChartsScrobbleViewBasic {
  ChartsScrobbleViewBasic(
    date: option.Option(String),
    count: option.Option(Int),
  )
}

Constructors

pub type ChartsView {
  ChartsView(scrobbles: List(ChartsScrobbleViewBasic))
}

Constructors

pub type CreateApikeyInput {
  CreateApikeyInput(
    name: String,
    description: option.Option(String),
  )
}

Constructors

  • CreateApikeyInput(
      name: String,
      description: option.Option(String),
    )
pub type CreatePlaylistParams {
  CreatePlaylistParams(
    name: String,
    description: option.Option(String),
  )
}

Constructors

  • CreatePlaylistParams(
      name: String,
      description: option.Option(String),
    )
pub type CreateScrobbleInput {
  CreateScrobbleInput(
    title: String,
    artist: String,
    album: option.Option(String),
    duration: option.Option(Int),
    mb_id: option.Option(String),
    isrc: option.Option(String),
    album_art: option.Option(String),
    track_number: option.Option(Int),
    release_date: option.Option(String),
    year: option.Option(Int),
    disc_number: option.Option(Int),
    lyrics: option.Option(String),
    composer: option.Option(String),
    copyright_message: option.Option(String),
    label: option.Option(String),
    artist_picture: option.Option(String),
    spotify_link: option.Option(String),
    lastfm_link: option.Option(String),
    tidal_link: option.Option(String),
    apple_music_link: option.Option(String),
    youtube_link: option.Option(String),
    deezer_link: option.Option(String),
    timestamp: option.Option(Int),
  )
}

Constructors

pub type CreateShoutInput {
  CreateShoutInput(message: option.Option(String))
}

Constructors

pub type CreateSongInput {
  CreateSongInput(
    title: String,
    artist: String,
    album_artist: String,
    album: String,
    duration: option.Option(Int),
    mb_id: option.Option(String),
    isrc: option.Option(String),
    album_art: option.Option(String),
    track_number: option.Option(Int),
    release_date: option.Option(String),
    year: option.Option(Int),
    disc_number: option.Option(Int),
    lyrics: option.Option(String),
  )
}

Constructors

pub type DescribeFeedGeneratorOutput {
  DescribeFeedGeneratorOutput(
    did: option.Option(String),
    feeds: List(FeedUriView),
  )
}

Constructors

pub type DescribeFeedGeneratorParams {
  DescribeFeedGeneratorParams
}

Constructors

  • DescribeFeedGeneratorParams
pub type DislikeShoutInput {
  DislikeShoutInput(uri: option.Option(String))
}

Constructors

pub type DislikeSongInput {
  DislikeSongInput(uri: option.Option(String))
}

Constructors

pub type DownloadFileParams {
  DownloadFileParams(file_id: String)
}

Constructors

  • DownloadFileParams(file_id: String)
pub type DropboxFileListView {
  DropboxFileListView(files: List(DropboxFileView))
}

Constructors

pub type DropboxFileView {
  DropboxFileView(
    id: option.Option(String),
    name: option.Option(String),
    path_lower: option.Option(String),
    path_display: option.Option(String),
    client_modified: option.Option(String),
    server_modified: option.Option(String),
  )
}

Constructors

pub type DropboxTemporaryLinkView {
  DropboxTemporaryLinkView(link: option.Option(String))
}

Constructors

pub type FeedGeneratorView {
  FeedGeneratorView(
    id: option.Option(String),
    name: option.Option(String),
    description: option.Option(String),
    uri: option.Option(String),
    avatar: option.Option(String),
    creator: option.Option(ActorProfileViewBasic),
  )
}

Constructors

pub type FeedGeneratorsView {
  FeedGeneratorsView(feeds: List(FeedGeneratorView))
}

Constructors

pub type FeedItemView {
  FeedItemView(scrobble: option.Option(ScrobbleViewBasic))
}

Constructors

pub type FeedRecommendationView {
  FeedRecommendationView(
    title: option.Option(String),
    artist: option.Option(String),
    album: option.Option(String),
    album_art: option.Option(String),
    track_uri: option.Option(String),
    artist_uri: option.Option(String),
    album_uri: option.Option(String),
    genres: List(String),
    recommendation_score: option.Option(Int),
    source: option.Option(String),
    likes_count: option.Option(Int),
  )
}

Constructors

pub type FeedRecommendationsView {
  FeedRecommendationsView(
    recommendations: List(FeedRecommendationView),
    cursor: option.Option(String),
  )
}

Constructors

pub type FeedRecommendedAlbumView {
  FeedRecommendedAlbumView(
    id: option.Option(String),
    uri: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    artist_uri: option.Option(String),
    year: option.Option(Int),
    album_art: option.Option(String),
    recommendation_score: option.Option(Int),
    source: option.Option(String),
  )
}

Constructors

pub type FeedRecommendedAlbumsView {
  FeedRecommendedAlbumsView(
    albums: List(FeedRecommendedAlbumView),
    cursor: option.Option(String),
  )
}

Constructors

pub type FeedRecommendedArtistView {
  FeedRecommendedArtistView(
    id: option.Option(String),
    uri: option.Option(String),
    name: option.Option(String),
    picture: option.Option(String),
    genres: List(String),
    recommendation_score: option.Option(Int),
    source: option.Option(String),
  )
}

Constructors

pub type FeedRecommendedArtistsView {
  FeedRecommendedArtistsView(
    artists: List(FeedRecommendedArtistView),
    cursor: option.Option(String),
  )
}

Constructors

pub type FeedSearchResultsView {
  FeedSearchResultsView(
    hits: List(dynamic.Dynamic),
    processing_time_ms: option.Option(Int),
    limit: option.Option(Int),
    offset: option.Option(Int),
    estimated_total_hits: option.Option(Int),
  )
}

Constructors

pub type FeedStoriesView {
  FeedStoriesView(stories: List(FeedStoryView))
}

Constructors

pub type FeedStoryView {
  FeedStoryView(
    album: option.Option(String),
    album_art: option.Option(String),
    album_artist: option.Option(String),
    album_uri: option.Option(String),
    artist: option.Option(String),
    artist_uri: option.Option(String),
    avatar: option.Option(String),
    created_at: option.Option(String),
    did: option.Option(String),
    handle: option.Option(String),
    id: option.Option(String),
    title: option.Option(String),
    track_id: option.Option(String),
    track_uri: option.Option(String),
    uri: option.Option(String),
  )
}

Constructors

pub type FeedUriView {
  FeedUriView(uri: option.Option(String))
}

Constructors

pub type FeedView {
  FeedView(
    feed: List(FeedItemView),
    cursor: option.Option(String),
  )
}

Constructors

pub type FollowAccountOutput {
  FollowAccountOutput(
    subject: ActorProfileViewBasic,
    followers: List(ActorProfileViewBasic),
    cursor: option.Option(String),
  )
}

Constructors

pub type FollowAccountParams {
  FollowAccountParams(account: String)
}

Constructors

  • FollowAccountParams(account: String)
pub type FollowRecord {
  FollowRecord(
    created_at: String,
    subject: String,
    via: option.Option(StrongRef),
  )
}

Constructors

pub type GeneratorRecord {
  GeneratorRecord(
    did: String,
    avatar: option.Option(BlobRef),
    display_name: String,
    description: option.Option(String),
    created_at: String,
  )
}

Constructors

pub type GetActorAlbumsOutput {
  GetActorAlbumsOutput(albums: List(AlbumViewBasic))
}

Constructors

pub type GetActorAlbumsParams {
  GetActorAlbumsParams(
    did: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
    start_date: option.Option(String),
    end_date: option.Option(String),
  )
}

Constructors

pub type GetActorArtistsOutput {
  GetActorArtistsOutput(artists: List(ArtistViewBasic))
}

Constructors

pub type GetActorArtistsParams {
  GetActorArtistsParams(
    did: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
    start_date: option.Option(String),
    end_date: option.Option(String),
  )
}

Constructors

pub type GetActorCompatibilityOutput {
  GetActorCompatibilityOutput(
    compatibility: option.Option(ActorCompatibilityViewBasic),
  )
}

Constructors

pub type GetActorCompatibilityParams {
  GetActorCompatibilityParams(did: String)
}

Constructors

  • GetActorCompatibilityParams(did: String)
pub type GetActorLovedSongsOutput {
  GetActorLovedSongsOutput(tracks: List(SongViewBasic))
}

Constructors

pub type GetActorLovedSongsParams {
  GetActorLovedSongsParams(
    did: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetActorNeighboursOutput {
  GetActorNeighboursOutput(
    neighbours: List(ActorNeighbourViewBasic),
  )
}

Constructors

pub type GetActorNeighboursParams {
  GetActorNeighboursParams(did: String)
}

Constructors

  • GetActorNeighboursParams(did: String)
pub type GetActorPlaylistsOutput {
  GetActorPlaylistsOutput(playlists: List(PlaylistViewBasic))
}

Constructors

pub type GetActorPlaylistsParams {
  GetActorPlaylistsParams(
    did: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetActorScrobblesOutput {
  GetActorScrobblesOutput(scrobbles: List(ScrobbleViewBasic))
}

Constructors

pub type GetActorScrobblesParams {
  GetActorScrobblesParams(
    did: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetActorSongsOutput {
  GetActorSongsOutput(songs: List(SongViewBasic))
}

Constructors

pub type GetActorSongsParams {
  GetActorSongsParams(
    did: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
    start_date: option.Option(String),
    end_date: option.Option(String),
  )
}

Constructors

pub type GetAlbumParams {
  GetAlbumParams(uri: String)
}

Constructors

  • GetAlbumParams(uri: String)
pub type GetAlbumRecommendationsParams {
  GetAlbumRecommendationsParams(
    did: String,
    limit: option.Option(Int),
  )
}

Constructors

  • GetAlbumRecommendationsParams(
      did: String,
      limit: option.Option(Int),
    )
pub type GetAlbumShoutsOutput {
  GetAlbumShoutsOutput(shouts: List(dynamic.Dynamic))
}

Constructors

pub type GetAlbumShoutsParams {
  GetAlbumShoutsParams(
    uri: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetAlbumTracksOutput {
  GetAlbumTracksOutput(tracks: List(SongViewBasic))
}

Constructors

pub type GetAlbumTracksParams {
  GetAlbumTracksParams(uri: String)
}

Constructors

  • GetAlbumTracksParams(uri: String)
pub type GetAlbumsOutput {
  GetAlbumsOutput(albums: List(AlbumViewBasic))
}

Constructors

pub type GetAlbumsParams {
  GetAlbumsParams(
    limit: option.Option(Int),
    offset: option.Option(Int),
    genre: option.Option(String),
  )
}

Constructors

pub type GetApikeysOutput {
  GetApikeysOutput(api_keys: List(dynamic.Dynamic))
}

Constructors

pub type GetApikeysParams {
  GetApikeysParams(
    offset: option.Option(Int),
    limit: option.Option(Int),
  )
}

Constructors

pub type GetArtistAlbumsOutput {
  GetArtistAlbumsOutput(albums: List(AlbumViewBasic))
}

Constructors

pub type GetArtistAlbumsParams {
  GetArtistAlbumsParams(uri: String)
}

Constructors

  • GetArtistAlbumsParams(uri: String)
pub type GetArtistListenersOutput {
  GetArtistListenersOutput(
    listeners: List(ArtistListenerViewBasic),
  )
}

Constructors

pub type GetArtistListenersParams {
  GetArtistListenersParams(
    uri: String,
    offset: option.Option(Int),
    limit: option.Option(Int),
  )
}

Constructors

pub type GetArtistParams {
  GetArtistParams(uri: String)
}

Constructors

  • GetArtistParams(uri: String)
pub type GetArtistRecentListenersOutput {
  GetArtistRecentListenersOutput(
    listeners: List(ArtistRecentListenerView),
  )
}

Constructors

pub type GetArtistRecentListenersParams {
  GetArtistRecentListenersParams(
    uri: String,
    offset: option.Option(Int),
    limit: option.Option(Int),
  )
}

Constructors

pub type GetArtistRecommendationsParams {
  GetArtistRecommendationsParams(
    did: String,
    limit: option.Option(Int),
  )
}

Constructors

  • GetArtistRecommendationsParams(
      did: String,
      limit: option.Option(Int),
    )
pub type GetArtistShoutsOutput {
  GetArtistShoutsOutput(shouts: List(dynamic.Dynamic))
}

Constructors

pub type GetArtistShoutsParams {
  GetArtistShoutsParams(
    uri: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetArtistTracksOutput {
  GetArtistTracksOutput(tracks: List(SongViewBasic))
}

Constructors

pub type GetArtistTracksParams {
  GetArtistTracksParams(
    uri: option.Option(String),
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetArtistsOutput {
  GetArtistsOutput(artists: List(ArtistViewBasic))
}

Constructors

pub type GetArtistsParams {
  GetArtistsParams(
    limit: option.Option(Int),
    offset: option.Option(Int),
    names: option.Option(String),
    genre: option.Option(String),
  )
}

Constructors

pub type GetCurrentlyPlayingParams {
  GetCurrentlyPlayingParams(
    player_id: option.Option(String),
    actor: option.Option(String),
  )
}

Constructors

pub type GetFeedGeneratorOutput {
  GetFeedGeneratorOutput(view: option.Option(FeedGeneratorView))
}

Constructors

pub type GetFeedGeneratorParams {
  GetFeedGeneratorParams(feed: String)
}

Constructors

  • GetFeedGeneratorParams(feed: String)
pub type GetFeedGeneratorsParams {
  GetFeedGeneratorsParams(size: option.Option(Int))
}

Constructors

pub type GetFeedParams {
  GetFeedParams(
    feed: String,
    limit: option.Option(Int),
    cursor: option.Option(String),
  )
}

Constructors

pub type GetFeedSkeletonOutput {
  GetFeedSkeletonOutput(
    scrobbles: List(ScrobbleViewBasic),
    cursor: option.Option(String),
  )
}

Constructors

pub type GetFeedSkeletonParams {
  GetFeedSkeletonParams(
    feed: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
    cursor: option.Option(String),
  )
}

Constructors

pub type GetFileParams {
  GetFileParams(file_id: String)
}

Constructors

  • GetFileParams(file_id: String)
pub type GetFilesParams {
  GetFilesParams(at: option.Option(String))
}

Constructors

pub type GetFollowersOutput {
  GetFollowersOutput(
    subject: ActorProfileViewBasic,
    followers: List(ActorProfileViewBasic),
    cursor: option.Option(String),
    count: option.Option(Int),
  )
}

Constructors

pub type GetFollowersParams {
  GetFollowersParams(
    actor: String,
    limit: option.Option(Int),
    dids: List(String),
    cursor: option.Option(String),
  )
}

Constructors

pub type GetFollowsOutput {
  GetFollowsOutput(
    subject: ActorProfileViewBasic,
    follows: List(ActorProfileViewBasic),
    cursor: option.Option(String),
    count: option.Option(Int),
  )
}

Constructors

pub type GetFollowsParams {
  GetFollowsParams(
    actor: String,
    limit: option.Option(Int),
    dids: List(String),
    cursor: option.Option(String),
  )
}

Constructors

pub type GetGlobalStatsParams {
  GetGlobalStatsParams
}

Constructors

  • GetGlobalStatsParams
pub type GetKnownFollowersOutput {
  GetKnownFollowersOutput(
    subject: ActorProfileViewBasic,
    followers: List(ActorProfileViewBasic),
    cursor: option.Option(String),
  )
}

Constructors

pub type GetKnownFollowersParams {
  GetKnownFollowersParams(
    actor: String,
    limit: option.Option(Int),
    cursor: option.Option(String),
  )
}

Constructors

pub type GetMetadataParams {
  GetMetadataParams(path: String)
}

Constructors

  • GetMetadataParams(path: String)
pub type GetMirrorSourcesOutput {
  GetMirrorSourcesOutput(sources: List(MirrorSourceView))
}

Constructors

pub type GetMirrorSourcesParams {
  GetMirrorSourcesParams
}

Constructors

  • GetMirrorSourcesParams
pub type GetPlaybackQueueParams {
  GetPlaybackQueueParams(player_id: option.Option(String))
}

Constructors

pub type GetPlaylistParams {
  GetPlaylistParams(uri: String)
}

Constructors

  • GetPlaylistParams(uri: String)
pub type GetPlaylistsOutput {
  GetPlaylistsOutput(playlists: List(PlaylistViewBasic))
}

Constructors

pub type GetPlaylistsParams {
  GetPlaylistsParams(
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetProfileParams {
  GetProfileParams(did: option.Option(String))
}

Constructors

pub type GetProfileShoutsOutput {
  GetProfileShoutsOutput(shouts: List(dynamic.Dynamic))
}

Constructors

pub type GetProfileShoutsParams {
  GetProfileShoutsParams(
    did: String,
    offset: option.Option(Int),
    limit: option.Option(Int),
  )
}

Constructors

pub type GetRecommendationsParams {
  GetRecommendationsParams(
    did: String,
    limit: option.Option(Int),
  )
}

Constructors

  • GetRecommendationsParams(did: String, limit: option.Option(Int))
pub type GetScrobbleParams {
  GetScrobbleParams(uri: String)
}

Constructors

  • GetScrobbleParams(uri: String)
pub type GetScrobblesChartParams {
  GetScrobblesChartParams(
    did: option.Option(String),
    artisturi: option.Option(String),
    albumuri: option.Option(String),
    songuri: option.Option(String),
    genre: option.Option(String),
    from: option.Option(String),
    to: option.Option(String),
  )
}

Constructors

pub type GetScrobblesOutput {
  GetScrobblesOutput(scrobbles: List(ScrobbleViewBasic))
}

Constructors

pub type GetScrobblesParams {
  GetScrobblesParams(
    did: option.Option(String),
    following: option.Option(Bool),
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetShoutRepliesOutput {
  GetShoutRepliesOutput(shouts: List(dynamic.Dynamic))
}

Constructors

pub type GetShoutRepliesParams {
  GetShoutRepliesParams(
    uri: String,
    limit: option.Option(Int),
    offset: option.Option(Int),
  )
}

Constructors

pub type GetSongParams {
  GetSongParams(
    uri: option.Option(String),
    mbid: option.Option(String),
    isrc: option.Option(String),
    spotify_id: option.Option(String),
  )
}

Constructors

pub type GetSongRecentListenersOutput {
  GetSongRecentListenersOutput(
    listeners: List(SongRecentListenerView),
  )
}

Constructors

pub type GetSongRecentListenersParams {
  GetSongRecentListenersParams(
    uri: String,
    offset: option.Option(Int),
    limit: option.Option(Int),
  )
}

Constructors

pub type GetSongsOutput {
  GetSongsOutput(songs: List(SongViewBasic))
}

Constructors

pub type GetSongsParams {
  GetSongsParams(
    limit: option.Option(Int),
    offset: option.Option(Int),
    genre: option.Option(String),
    mbid: option.Option(String),
    isrc: option.Option(String),
    spotify_id: option.Option(String),
  )
}

Constructors

pub type GetStatsParams {
  GetStatsParams(did: String)
}

Constructors

  • GetStatsParams(did: String)
pub type GetStoriesParams {
  GetStoriesParams(
    size: option.Option(Int),
    feed: option.Option(String),
    following: option.Option(Bool),
  )
}

Constructors

pub type GetTemporaryLinkParams {
  GetTemporaryLinkParams(path: String)
}

Constructors

  • GetTemporaryLinkParams(path: String)
pub type GetTopArtistsOutput {
  GetTopArtistsOutput(artists: List(ArtistViewBasic))
}

Constructors

pub type GetTopArtistsParams {
  GetTopArtistsParams(
    limit: option.Option(Int),
    offset: option.Option(Int),
    start_date: option.Option(String),
    end_date: option.Option(String),
  )
}

Constructors

pub type GetTopTracksOutput {
  GetTopTracksOutput(tracks: List(SongViewBasic))
}

Constructors

pub type GetTopTracksParams {
  GetTopTracksParams(
    limit: option.Option(Int),
    offset: option.Option(Int),
    start_date: option.Option(String),
    end_date: option.Option(String),
  )
}

Constructors

pub type GetTrackShoutsOutput {
  GetTrackShoutsOutput(shouts: List(dynamic.Dynamic))
}

Constructors

pub type GetTrackShoutsParams {
  GetTrackShoutsParams(uri: String)
}

Constructors

  • GetTrackShoutsParams(uri: String)
pub type GetWrappedParams {
  GetWrappedParams(did: String, year: option.Option(Int))
}

Constructors

pub type GoogledriveFileListView {
  GoogledriveFileListView(files: List(GoogledriveFileView))
}

Constructors

pub type GoogledriveFileView {
  GoogledriveFileView(id: option.Option(String))
}

Constructors

indicates that a handle or DID could not be resolved

pub type GraphNotFoundActor {
  GraphNotFoundActor(actor: String, not_found: Bool)
}

Constructors

  • GraphNotFoundActor(actor: String, not_found: Bool)
pub type GraphRelationship {
  GraphRelationship(
    did: String,
    following: option.Option(String),
    followed_by: option.Option(String),
  )
}

Constructors

pub type InsertDirectoryParams {
  InsertDirectoryParams(
    uri: String,
    directory: String,
    position: option.Option(Int),
  )
}

Constructors

  • InsertDirectoryParams(
      uri: String,
      directory: String,
      position: option.Option(Int),
    )
pub type InsertFilesParams {
  InsertFilesParams(
    uri: String,
    files: List(String),
    position: option.Option(Int),
  )
}

Constructors

  • InsertFilesParams(
      uri: String,
      files: List(String),
      position: option.Option(Int),
    )
pub type LikeRecord {
  LikeRecord(created_at: String, subject: StrongRef)
}

Constructors

  • LikeRecord(created_at: String, subject: StrongRef)
pub type LikeShoutInput {
  LikeShoutInput(uri: option.Option(String))
}

Constructors

pub type LikeSongInput {
  LikeSongInput(uri: option.Option(String))
}

Constructors

pub type MatchSongParams {
  MatchSongParams(
    title: String,
    artist: String,
    mb_id: option.Option(String),
    isrc: option.Option(String),
  )
}

Constructors

pub type MirrorSourceView {
  MirrorSourceView(
    provider: String,
    enabled: Bool,
    external_username: option.Option(String),
    has_credentials: Bool,
    last_polled_at: option.Option(String),
    last_scrobble_seen_at: option.Option(String),
  )
}

Constructors

  • MirrorSourceView(
      provider: String,
      enabled: Bool,
      external_username: option.Option(String),
      has_credentials: Bool,
      last_polled_at: option.Option(String),
      last_scrobble_seen_at: option.Option(String),
    )
pub type NextParams {
  NextParams(player_id: option.Option(String))
}

Constructors

pub type PauseParams {
  PauseParams(player_id: option.Option(String))
}

Constructors

pub type PlayDirectoryParams {
  PlayDirectoryParams(
    player_id: option.Option(String),
    directory_id: String,
    shuffle: option.Option(Bool),
    recurse: option.Option(Bool),
    position: option.Option(Int),
  )
}

Constructors

pub type PlayFileParams {
  PlayFileParams(
    player_id: option.Option(String),
    file_id: String,
  )
}

Constructors

  • PlayFileParams(player_id: option.Option(String), file_id: String)
pub type PlayParams {
  PlayParams(player_id: option.Option(String))
}

Constructors

pub type PlayerCurrentlyPlayingViewDetailed {
  PlayerCurrentlyPlayingViewDetailed(
    title: option.Option(String),
  )
}

Constructors

  • PlayerCurrentlyPlayingViewDetailed(title: option.Option(String))
pub type PlayerPlaybackQueueViewDetailed {
  PlayerPlaybackQueueViewDetailed(tracks: List(SongViewBasic))
}

Constructors

pub type PlaylistItemRecord {
  PlaylistItemRecord(
    subject: StrongRef,
    created_at: String,
    track: SongViewBasic,
    order: Int,
  )
}

Constructors

pub type PlaylistRecord {
  PlaylistRecord(
    name: String,
    description: option.Option(String),
    picture: option.Option(BlobRef),
    picture_url: option.Option(String),
    created_at: String,
    spotify_link: option.Option(String),
    tidal_link: option.Option(String),
    youtube_link: option.Option(String),
    apple_music_link: option.Option(String),
  )
}

Constructors

Basic view of a playlist, including its metadata

pub type PlaylistViewBasic {
  PlaylistViewBasic(
    id: option.Option(String),
    title: option.Option(String),
    uri: option.Option(String),
    curator_did: option.Option(String),
    curator_handle: option.Option(String),
    curator_name: option.Option(String),
    curator_avatar_url: option.Option(String),
    description: option.Option(String),
    cover_image_url: option.Option(String),
    created_at: option.Option(String),
    track_count: option.Option(Int),
  )
}

Constructors

Detailed view of a playlist, including its tracks and metadata

pub type PlaylistViewDetailed {
  PlaylistViewDetailed(
    id: option.Option(String),
    title: option.Option(String),
    uri: option.Option(String),
    curator_did: option.Option(String),
    curator_handle: option.Option(String),
    curator_name: option.Option(String),
    curator_avatar_url: option.Option(String),
    description: option.Option(String),
    cover_image_url: option.Option(String),
    created_at: option.Option(String),
    tracks: List(SongViewBasic),
  )
}

Constructors

pub type PreviousParams {
  PreviousParams(player_id: option.Option(String))
}

Constructors

pub type ProfileRecord {
  ProfileRecord(
    display_name: option.Option(String),
    description: option.Option(String),
    avatar: option.Option(BlobRef),
    banner: option.Option(BlobRef),
    labels: option.Option(dynamic.Dynamic),
    joined_via_starter_pack: option.Option(StrongRef),
    created_at: option.Option(String),
  )
}

Constructors

pub type PutMirrorSourceInput {
  PutMirrorSourceInput(
    provider: String,
    enabled: option.Option(Bool),
    external_username: option.Option(String),
    api_key: option.Option(String),
  )
}

Constructors

pub type RadioRecord {
  RadioRecord(
    name: String,
    url: String,
    description: option.Option(String),
    genre: option.Option(String),
    logo: option.Option(BlobRef),
    website: option.Option(String),
    created_at: String,
  )
}

Constructors

pub type RadioViewBasic {
  RadioViewBasic(
    id: option.Option(String),
    name: option.Option(String),
    description: option.Option(String),
    created_at: option.Option(String),
  )
}

Constructors

pub type RadioViewDetailed {
  RadioViewDetailed(
    id: option.Option(String),
    name: option.Option(String),
    description: option.Option(String),
    website: option.Option(String),
    url: option.Option(String),
    genre: option.Option(String),
    logo: option.Option(String),
    created_at: option.Option(String),
  )
}

Constructors

pub type RemoveApikeyParams {
  RemoveApikeyParams(id: String)
}

Constructors

  • RemoveApikeyParams(id: String)
pub type RemovePlaylistParams {
  RemovePlaylistParams(uri: String)
}

Constructors

  • RemovePlaylistParams(uri: String)
pub type RemoveShoutParams {
  RemoveShoutParams(id: String)
}

Constructors

  • RemoveShoutParams(id: String)
pub type RemoveTrackParams {
  RemoveTrackParams(uri: String, position: Int)
}

Constructors

  • RemoveTrackParams(uri: String, position: Int)
pub type ReplyShoutInput {
  ReplyShoutInput(shout_id: String, message: String)
}

Constructors

  • ReplyShoutInput(shout_id: String, message: String)
pub type ReportShoutInput {
  ReportShoutInput(
    shout_id: String,
    reason: option.Option(String),
  )
}

Constructors

  • ReportShoutInput(shout_id: String, reason: option.Option(String))
pub type ScrobbleFirstScrobbleView {
  ScrobbleFirstScrobbleView(
    handle: option.Option(String),
    avatar: option.Option(String),
    timestamp: option.Option(String),
  )
}

Constructors

pub type ScrobbleRecord {
  ScrobbleRecord(
    title: String,
    artist: String,
    artists: List(ArtistMbid),
    album_artist: String,
    album: String,
    duration: Int,
    track_number: option.Option(Int),
    disc_number: option.Option(Int),
    release_date: option.Option(String),
    year: option.Option(Int),
    genre: option.Option(String),
    tags: List(String),
    composer: option.Option(String),
    lyrics: option.Option(String),
    copyright_message: option.Option(String),
    wiki: option.Option(String),
    album_art: option.Option(BlobRef),
    album_art_url: option.Option(String),
    youtube_link: option.Option(String),
    spotify_link: option.Option(String),
    tidal_link: option.Option(String),
    apple_music_link: option.Option(String),
    created_at: String,
    mbid: option.Option(String),
    label: option.Option(String),
    isrc: option.Option(String),
  )
}

Constructors

pub type ScrobbleViewBasic {
  ScrobbleViewBasic(
    id: option.Option(String),
    user: option.Option(String),
    user_display_name: option.Option(String),
    user_avatar: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    artist_uri: option.Option(String),
    album: option.Option(String),
    album_uri: option.Option(String),
    cover: option.Option(String),
    date: option.Option(String),
    uri: option.Option(String),
    sha256: option.Option(String),
    liked: option.Option(Bool),
    likes_count: option.Option(Int),
  )
}

Constructors

pub type ScrobbleViewDetailed {
  ScrobbleViewDetailed(
    id: option.Option(String),
    user: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    artist_uri: option.Option(String),
    album: option.Option(String),
    album_uri: option.Option(String),
    cover: option.Option(String),
    date: option.Option(String),
    uri: option.Option(String),
    sha256: option.Option(String),
    liked: option.Option(Bool),
    likes_count: option.Option(Int),
    listeners: option.Option(Int),
    scrobbles: option.Option(Int),
    artists: List(ArtistViewBasic),
    first_scrobble: option.Option(ScrobbleFirstScrobbleView),
  )
}

Constructors

pub type SearchParams {
  SearchParams(query: String)
}

Constructors

  • SearchParams(query: String)
pub type SeekParams {
  SeekParams(player_id: option.Option(String), position: Int)
}

Constructors

pub type ShoutAuthor {
  ShoutAuthor(
    id: option.Option(String),
    did: option.Option(String),
    handle: option.Option(String),
    display_name: option.Option(String),
    avatar: option.Option(String),
  )
}

Constructors

pub type ShoutRecord {
  ShoutRecord(
    message: String,
    created_at: String,
    parent: option.Option(StrongRef),
    subject: StrongRef,
  )
}

Constructors

pub type ShoutView {
  ShoutView(
    id: option.Option(String),
    message: option.Option(String),
    parent: option.Option(String),
    created_at: option.Option(String),
    author: option.Option(ShoutAuthor),
  )
}

Constructors

pub type SongFirstScrobbleView {
  SongFirstScrobbleView(
    handle: option.Option(String),
    avatar: option.Option(String),
    timestamp: option.Option(String),
  )
}

Constructors

pub type SongRecentListenerView {
  SongRecentListenerView(
    id: option.Option(String),
    did: option.Option(String),
    handle: option.Option(String),
    display_name: option.Option(String),
    avatar: option.Option(String),
    timestamp: option.Option(String),
    scrobble_uri: option.Option(String),
  )
}

Constructors

pub type SongRecord {
  SongRecord(
    title: String,
    artist: String,
    artists: List(ArtistMbid),
    album_artist: String,
    album: String,
    duration: Int,
    track_number: option.Option(Int),
    disc_number: option.Option(Int),
    release_date: option.Option(String),
    year: option.Option(Int),
    genre: option.Option(String),
    tags: List(String),
    composer: option.Option(String),
    lyrics: option.Option(String),
    copyright_message: option.Option(String),
    wiki: option.Option(String),
    album_art: option.Option(BlobRef),
    album_art_url: option.Option(String),
    youtube_link: option.Option(String),
    spotify_link: option.Option(String),
    tidal_link: option.Option(String),
    apple_music_link: option.Option(String),
    created_at: String,
    mbid: option.Option(String),
    label: option.Option(String),
    isrc: option.Option(String),
  )
}

Constructors

pub type SongViewBasic {
  SongViewBasic(
    id: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    album_artist: option.Option(String),
    album_art: option.Option(String),
    uri: option.Option(String),
    album: option.Option(String),
    duration: option.Option(Int),
    track_number: option.Option(Int),
    disc_number: option.Option(Int),
    play_count: option.Option(Int),
    unique_listeners: option.Option(Int),
    album_uri: option.Option(String),
    artist_uri: option.Option(String),
    sha256: option.Option(String),
    mbid: option.Option(String),
    isrc: option.Option(String),
    tags: List(String),
    created_at: option.Option(String),
  )
}

Constructors

pub type SongViewDetailed {
  SongViewDetailed(
    id: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    album_artist: option.Option(String),
    album_art: option.Option(String),
    uri: option.Option(String),
    album: option.Option(String),
    duration: option.Option(Int),
    track_number: option.Option(Int),
    disc_number: option.Option(Int),
    play_count: option.Option(Int),
    unique_listeners: option.Option(Int),
    album_uri: option.Option(String),
    artist_uri: option.Option(String),
    sha256: option.Option(String),
    mbid: option.Option(String),
    isrc: option.Option(String),
    tags: List(String),
    created_at: option.Option(String),
    artists: List(ArtistViewBasic),
    first_scrobble: option.Option(SongFirstScrobbleView),
  )
}

Constructors

pub type SpotifyTrackView {
  SpotifyTrackView(
    id: option.Option(String),
    name: option.Option(String),
    artist: option.Option(String),
    album: option.Option(String),
    duration: option.Option(Int),
    preview_url: option.Option(String),
  )
}

Constructors

pub type StartPlaylistParams {
  StartPlaylistParams(
    uri: String,
    shuffle: option.Option(Bool),
    position: option.Option(Int),
  )
}

Constructors

pub type StatsGlobalStatsView {
  StatsGlobalStatsView(
    scrobbles: option.Option(Int),
    users: option.Option(Int),
    artists: option.Option(Int),
    albums: option.Option(Int),
    tracks: option.Option(Int),
  )
}

Constructors

pub type StatsView {
  StatsView(
    scrobbles: option.Option(Int),
    artists: option.Option(Int),
    loved_tracks: option.Option(Int),
    albums: option.Option(Int),
    tracks: option.Option(Int),
  )
}

Constructors

pub type StatsWrappedAlbum {
  StatsWrappedAlbum(
    id: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    album_art: option.Option(String),
    uri: option.Option(String),
    play_count: option.Option(Int),
  )
}

Constructors

pub type StatsWrappedArtist {
  StatsWrappedArtist(
    id: option.Option(String),
    name: option.Option(String),
    picture: option.Option(String),
    uri: option.Option(String),
    play_count: option.Option(Int),
  )
}

Constructors

pub type StatsWrappedDayCount {
  StatsWrappedDayCount(
    date: option.Option(String),
    count: option.Option(Int),
  )
}

Constructors

pub type StatsWrappedGenreCount {
  StatsWrappedGenreCount(
    genre: option.Option(String),
    count: option.Option(Int),
  )
}

Constructors

pub type StatsWrappedMilestone {
  StatsWrappedMilestone(
    track_title: option.Option(String),
    artist_name: option.Option(String),
    timestamp: option.Option(String),
    track_uri: option.Option(String),
  )
}

Constructors

pub type StatsWrappedMonthCount {
  StatsWrappedMonthCount(
    month: option.Option(Int),
    count: option.Option(Int),
  )
}

Constructors

pub type StatsWrappedTrack {
  StatsWrappedTrack(
    id: option.Option(String),
    title: option.Option(String),
    artist: option.Option(String),
    album_art: option.Option(String),
    uri: option.Option(String),
    artist_uri: option.Option(String),
    album_uri: option.Option(String),
    play_count: option.Option(Int),
  )
}

Constructors

pub type StatsWrappedView {
  StatsWrappedView(
    year: option.Option(Int),
    total_scrobbles: option.Option(Int),
    total_listening_time_minutes: option.Option(Int),
    top_artists: List(StatsWrappedArtist),
    top_tracks: List(StatsWrappedTrack),
    top_albums: List(StatsWrappedAlbum),
    top_genres: List(StatsWrappedGenreCount),
    scrobbles_per_month: List(StatsWrappedMonthCount),
    most_active_day: option.Option(StatsWrappedDayCount),
    most_active_hour: option.Option(Int),
    new_artists_count: option.Option(Int),
    longest_streak: option.Option(Int),
    first_scrobble: option.Option(StatsWrappedMilestone),
    last_scrobble: option.Option(StatsWrappedMilestone),
  )
}

Constructors

pub type StatusRecord {
  StatusRecord(
    track: ActorTrackView,
    started_at: String,
    expires_at: option.Option(String),
  )
}

Constructors

pub type StrongRef {
  StrongRef(uri: String, cid: String)
}

Constructors

  • StrongRef(uri: String, cid: String)
pub type UnfollowAccountOutput {
  UnfollowAccountOutput(
    subject: ActorProfileViewBasic,
    followers: List(ActorProfileViewBasic),
    cursor: option.Option(String),
  )
}

Constructors

pub type UnfollowAccountParams {
  UnfollowAccountParams(account: String)
}

Constructors

  • UnfollowAccountParams(account: String)
pub type UpdateApikeyInput {
  UpdateApikeyInput(
    id: String,
    name: String,
    description: option.Option(String),
  )
}

Constructors

  • UpdateApikeyInput(
      id: String,
      name: String,
      description: option.Option(String),
    )
Search Document