Copyright | (c) digitally induced GmbH 2021 |
---|---|
Safe Haskell | None |
Synopsis
- data FileStorage
- = StaticDirStorage
- | S3Storage {
- connectInfo :: ConnectInfo
- bucket :: Text
- baseUrl :: Text
- data StoredFile = StoredFile {}
- data StoreFileOptions = StoreFileOptions {
- directory :: Text
- contentDisposition :: FileInfo LByteString -> IO (Maybe Text)
- preprocess :: FileInfo LByteString -> IO (FileInfo LByteString)
- fileName :: Maybe UUID
- data TemporaryDownloadUrl = TemporaryDownloadUrl {}
Documentation
data FileStorage Source #
StaticDirStorage | Stores files publicly visible inside the project's |
S3Storage | Stores files inside a S3 compatible cloud storage |
|
data StoreFileOptions Source #
Options that can be passed to storeFileWithOptions
StoreFileOptions | |
|
Instances
Default StoreFileOptions Source # | |
Defined in IHP.FileStorage.Types def :: StoreFileOptions # |
data TemporaryDownloadUrl Source #
A signed url to a file. See createTemporaryDownloadUrl