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) }