2021-11-01 12:54:07 +01:00
|
|
|
//
|
|
|
|
// UserItem.swift
|
|
|
|
// Mastodon
|
|
|
|
//
|
|
|
|
// Created by Cirno MainasuK on 2021-11-1.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import CoreData
|
2022-01-27 14:23:39 +01:00
|
|
|
import CoreDataStack
|
2023-10-19 16:16:18 +02:00
|
|
|
import MastodonSDK
|
2021-11-01 12:54:07 +01:00
|
|
|
|
|
|
|
enum UserItem: Hashable {
|
2022-01-27 14:23:39 +01:00
|
|
|
case user(record: ManagedObjectRecord<MastodonUser>)
|
2023-10-23 12:18:03 +02:00
|
|
|
case account(account: Mastodon.Entity.Account, relationship: Mastodon.Entity.Relationship?)
|
2021-11-01 12:54:07 +01:00
|
|
|
case bottomLoader
|
|
|
|
case bottomHeader(text: String)
|
|
|
|
}
|