another.im-ios/ConversationsClassic/AppCore/Actions/DatabaseActions.swift
2024-07-13 03:29:46 +02:00

13 lines
347 B
Swift

enum DatabaseAction: Codable {
case storedAccountsLoaded(accounts: [Account])
case loadingStoredAccountsFailed
case updateAccountFailed
case storedRostersLoaded(rosters: [Roster])
case storedChatsLoaded(chats: [Chat])
case storeMessageFailed(reason: String)
case updateAttachmentFailed(id: String, reason: String)
}