2024-07-12 11:43:14 +00:00
|
|
|
import Foundation
|
|
|
|
|
|
|
|
enum FileAction: Stateable {
|
2024-07-13 01:29:46 +00:00
|
|
|
case downloadAttachmentFile(id: String, remotePath: URL)
|
2024-07-12 11:43:14 +00:00
|
|
|
case attachmentFileDownloaded(id: String, localUrl: URL)
|
2024-07-13 01:29:46 +00:00
|
|
|
case downloadingAttachmentFileFailed(id: String, reason: String)
|
|
|
|
|
|
|
|
case createAttachmentThumbnail(id: String, localUrl: URL)
|
2024-07-12 11:43:14 +00:00
|
|
|
case attachmentThumbnailCreated(id: String, thumbnailUrl: URL)
|
|
|
|
}
|