11 lines
286 B
Swift
11 lines
286 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)
|
|
}
|