mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2025-02-02 19:47:19 +01:00
19 lines
413 B
Swift
19 lines
413 B
Swift
import Foundation
|
|
|
|
public struct List: 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 List: Sendable {}
|