another.im-ios/old/AppCore/Actions/DatabaseActions.swift
2024-08-11 13:09:29 +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)
}