Bubble/Threaded/Data/AccountsList.swift
2023-12-29 11:17:37 +01:00

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 {}