11 lines
428 B
Swift
11 lines
428 B
Swift
import Foundation
|
|
|
|
enum FileAction: Stateable {
|
|
case downloadAttachmentFile(messageId: String, attachmentRemotePath: URL)
|
|
case attachmentFileDownloaded(messageId: String, localName: String)
|
|
case downloadingAttachmentFileFailed(messageId: String, reason: String)
|
|
|
|
case createAttachmentThumbnail(messageId: String, localName: String)
|
|
case attachmentThumbnailCreated(messageId: String, thumbnailName: String)
|
|
}
|