11 lines
371 B
Swift
11 lines
371 B
Swift
import Foundation
|
|
|
|
enum FileAction: Stateable {
|
|
case downloadAttachmentFile(id: String, remotePath: URL)
|
|
case attachmentFileDownloaded(id: String, localUrl: URL)
|
|
case downloadingAttachmentFileFailed(id: String, reason: String)
|
|
|
|
case createAttachmentThumbnail(id: String, localUrl: URL)
|
|
case attachmentThumbnailCreated(id: String, thumbnailUrl: URL)
|
|
}
|