wikimusic-ssr-0.6.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

WikiMusic.SSR.Free.Backend

Documentation

data Backend a Source #

Constructors

GetArtists Env AuthToken Limit Offset SortOrder Include (Either Text GetArtistsQueryResponse -> a) 
SearchArtists Env AuthToken Text Limit Offset SortOrder Include (Either Text GetArtistsQueryResponse -> a) 
GetArtist Env AuthToken UUID Include (Either Text GetArtistsQueryResponse -> a) 
CreateArtist Env AuthToken InsertArtistsRequest (Either Text InsertArtistsCommandResponse -> a) 
CreateArtistComment Env AuthToken InsertArtistCommentsRequest (Either Text InsertArtistCommentsCommandResponse -> a) 
UpsertArtistOpinion Env AuthToken UpsertArtistOpinionsRequest (Either Text UpsertArtistOpinionsCommandResponse -> a) 
CreateArtistArtwork Env AuthToken InsertArtistArtworksRequest (Either Text InsertArtistArtworksCommandResponse -> a) 
DeleteArtist Env AuthToken UUID (Either Text () -> a) 
DeleteArtistComment Env AuthToken UUID (Either Text () -> a) 
DeleteArtistOpinion Env AuthToken UUID (Either Text () -> a) 
DeleteArtistArtwork Env AuthToken UUID (Either Text () -> a) 
UpdateArtistArtworkOrder Env AuthToken ArtistArtworkOrderUpdateRequest (Either Text () -> a) 
EditArtist Env AuthToken ArtistDeltaRequest (Either Text () -> a) 
GetGenres Env AuthToken Limit Offset SortOrder Include (Either Text GetGenresQueryResponse -> a) 
SearchGenres Env AuthToken Text Limit Offset SortOrder Include (Either Text GetGenresQueryResponse -> a) 
GetGenre Env AuthToken UUID Include (Either Text GetGenresQueryResponse -> a) 
CreateGenre Env AuthToken InsertGenresRequest (Either Text InsertGenresCommandResponse -> a) 
CreateGenreComment Env AuthToken InsertGenreCommentsRequest (Either Text InsertGenreCommentsCommandResponse -> a) 
UpsertGenreOpinion Env AuthToken UpsertGenreOpinionsRequest (Either Text UpsertGenreOpinionsCommandResponse -> a) 
CreateGenreArtwork Env AuthToken InsertGenreArtworksRequest (Either Text InsertGenreArtworksCommandResponse -> a) 
DeleteGenre Env AuthToken UUID (Either Text () -> a) 
DeleteGenreComment Env AuthToken UUID (Either Text () -> a) 
DeleteGenreOpinion Env AuthToken UUID (Either Text () -> a) 
DeleteGenreArtwork Env AuthToken UUID (Either Text () -> a) 
UpdateGenreArtworkOrder Env AuthToken GenreArtworkOrderUpdateRequest (Either Text () -> a) 
EditGenre Env AuthToken GenreDeltaRequest (Either Text () -> a) 
GetSongs Env AuthToken Limit Offset SortOrder Include (Either Text GetSongsQueryResponse -> a) 
SearchSongs Env AuthToken Text Limit Offset SortOrder Include (Either Text GetSongsQueryResponse -> a) 
GetSong Env AuthToken UUID Include (Either Text GetSongsQueryResponse -> a) 
CreateSong Env AuthToken InsertSongsRequest (Either Text InsertSongsCommandResponse -> a) 
CreateSongComment Env AuthToken InsertSongCommentsRequest (Either Text InsertSongCommentsCommandResponse -> a) 
UpsertSongOpinion Env AuthToken UpsertSongOpinionsRequest (Either Text UpsertSongOpinionsCommandResponse -> a) 
CreateSongArtwork Env AuthToken InsertSongArtworksRequest (Either Text InsertSongArtworksCommandResponse -> a) 
CreateArtistOfSong Env AuthToken InsertArtistsOfSongsRequest (Either Text InsertArtistsOfSongCommandResponse -> a) 
DeleteArtistOfSong Env AuthToken InsertArtistsOfSongsRequest (Either Text () -> a) 
DeleteSong Env AuthToken UUID (Either Text () -> a) 
DeleteSongComment Env AuthToken UUID (Either Text () -> a) 
DeleteSongOpinion Env AuthToken UUID (Either Text () -> a) 
DeleteSongArtwork Env AuthToken UUID (Either Text () -> a) 
UpdateSongArtworkOrder Env AuthToken SongArtworkOrderUpdateRequest (Either Text () -> a) 
EditSong Env AuthToken SongDeltaRequest (Either Text () -> a) 
CreateSongContents Env AuthToken InsertSongContentsRequest (Either Text InsertSongContentsCommandResponse -> a) 
DeleteSongContents Env AuthToken UUID (Either Text () -> a) 
EditSongContents Env AuthToken SongContentDeltaRequest (Either Text () -> a) 
Me Env AuthToken (Either Text GetMeQueryResponse -> a) 
UserInvite Env AuthToken InviteUsersRequest (Either Text MakeResetPasswordLinkResponse -> a) 
UserDelete Env AuthToken DeleteUsersRequest (Either Text () -> a) 
Login Env LoginRequest (Either Text Text -> a) 
ResetPassword Env Text (Either Text MakeResetPasswordLinkResponse -> a) 
ResetPasswordDo Env DoPasswordResetRequest (Either Text () -> a) 
SystemInformation Env (Either Text SystemInformationResponse -> a) 

Instances

Instances details
Functor Backend Source # 
Instance details

Defined in WikiMusic.SSR.Free.Backend

Methods

fmap :: (a -> b) -> Backend a -> Backend b #

(<$) :: a -> Backend b -> Backend a #

Exec Backend Source # 
Instance details

Defined in WikiMusic.SSR.Backend.Rest

Methods

execAlgebra :: Backend (IO a) -> IO a #