another.im-ios/ConversationsClassic/AppCore/Actions/FileActions.swift
2024-07-13 15:42:47 +02:00

11 lines
381 B
Swift

import Foundation
enum FileAction: Stateable {
case downloadAttachmentFile(id: String, attachmentRemotePath: 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)
}