integration-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

API.Cargohold

Documentation

uploadAssetV3 :: (HasCallStack, MakesValue user, MakesValue assetRetention) => user -> Bool -> assetRetention -> MIMEType -> LByteString -> App Response Source #

class IsAssetLocation key where Source #

Instances

Instances details
IsAssetLocation String Source # 
Instance details

Defined in API.Cargohold

MakesValue loc => IsAssetLocation loc Source # 
Instance details

Defined in API.Cargohold

downloadAsset' :: (HasCallStack, MakesValue user, IsAssetLocation loc, IsAssetToken tok) => user -> loc -> tok -> App Response Source #

downloadAsset :: (HasCallStack, MakesValue user, MakesValue key, MakesValue assetDomain) => user -> assetDomain -> key -> String -> (Request -> Request) -> App Response Source #