wikimusic-ssr-1.0.1.6
Safe HaskellSafe-Inferred
LanguageGHC2021

WikiMusic.SSR.Servant.ApiSpec

Documentation

type PasswordRoutes = ("request-reset" :> (WithCookie :> HtmlDoc)) :<|> (("request-reset" :> PostDataForm) :<|> (("do-reset" :> (WithCookie :> (QueryParam "token" Text :> HtmlDoc))) :<|> ("do-reset" :> PostDataForm))) Source #

type WithReferer = Header "referer" Text Source #

type WithCookie = Header "cookie" Text Source #

type PreferenceRoutes = ("locale" :> CookieForm) :<|> (("artist-sorting" :> CookieForm) :<|> (("genre-sorting" :> CookieForm) :<|> (("song-sorting" :> CookieForm) :<|> (("dark-mode" :> CookieForm) :<|> (("song-ascii-size" :> CookieForm) :<|> ("palette" :> CookieForm)))))) Source #

type StaticFilesRoute = "static" :> Raw Source #