Outline share detail page

This commit is contained in:
eikek
2021-10-06 11:04:18 +02:00
parent 1a10216e3d
commit b6187bb88d
21 changed files with 622 additions and 157 deletions

View File

@ -14,6 +14,7 @@ module Util.Http exposing
, authTask
, executeIn
, jsonResolver
, shareGet
, sharePost
)
@ -167,6 +168,24 @@ authGet req =
}
shareGet :
{ url : String
, token : String
, expect : Http.Expect msg
}
-> Cmd msg
shareGet req =
shareReq
{ url = req.url
, token = req.token
, body = Http.emptyBody
, expect = req.expect
, method = "GET"
, headers = []
, tracker = Nothing
}
authDelete :
{ url : String
, account : AuthResult