mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2024-12-11 08:57:58 +01:00
21 lines
486 B
Swift
21 lines
486 B
Swift
//Made by Lumaa
|
|
|
|
import Foundation
|
|
|
|
public struct AccountsList: Codable, Identifiable, Equatable, Hashable {
|
|
public let id: String
|
|
public let title: String
|
|
public let repliesPolicy: RepliesPolicy?
|
|
public let exclusive: Bool?
|
|
|
|
public enum RepliesPolicy: String, Sendable, Codable, CaseIterable, Identifiable {
|
|
public var id: String {
|
|
rawValue
|
|
}
|
|
|
|
case followed, list, `none`
|
|
}
|
|
}
|
|
|
|
extension AccountsList: Sendable {}
|