another.im-ios/old/AppCore/Actions/DatabaseActions.swift

13 lines
347 B
Swift
Raw Normal View History

2024-06-19 15:15:27 +00:00
enum DatabaseAction: Codable {
case storedAccountsLoaded(accounts: [Account])
case loadingStoredAccountsFailed
case updateAccountFailed
case storedRostersLoaded(rosters: [Roster])
case storedChatsLoaded(chats: [Chat])
2024-06-26 09:29:30 +00:00
case storeMessageFailed(reason: String)
2024-07-13 01:29:46 +00:00
case updateAttachmentFailed(id: String, reason: String)
2024-06-19 15:15:27 +00:00
}