Module upload_file

Module upload_file 

Source

Structs§

PreparedUploadData
UploadFile
UploadFileState
State keeping track of whats been generated from a file upload, to help with reverted changes on failure
UploadedFileData

Enums§

UploadFileError
Error messages from this are user-facing so any data included should ensure it does not expose any information that it should’t

Functions§

publish_file_creation_events
Publish file creation events for all created files
store_generated_files
Creates prepared upload records for generated files, stores the files in S3 and returns the CreateGeneratedFile structures to be stored in the database at a later step
upload_file