2022-12-20 16:11:12 +00:00
|
|
|
import Foundation
|
|
|
|
|
|
|
|
public struct Relationshionship: Codable {
|
|
|
|
public let id: String
|
|
|
|
public let following: Bool
|
|
|
|
public let showingReblogs: Bool
|
|
|
|
public let followedBy: Bool
|
|
|
|
public let blocking: Bool
|
|
|
|
public let blockedBy: Bool
|
|
|
|
public let muting: Bool
|
|
|
|
public let mutingNotifications: Bool
|
|
|
|
public let requested: Bool
|
|
|
|
public let domainBlocking: Bool
|
|
|
|
public let endorsed: Bool
|
|
|
|
public let note: String
|
2023-01-12 06:36:19 +00:00
|
|
|
public let notifying: Bool
|
2023-01-17 10:36:01 +00:00
|
|
|
|
|
|
|
public static func placeholder() -> Relationshionship {
|
2022-12-20 16:11:12 +00:00
|
|
|
.init(id: UUID().uuidString,
|
|
|
|
following: false,
|
|
|
|
showingReblogs: false,
|
|
|
|
followedBy: false,
|
|
|
|
blocking: false,
|
|
|
|
blockedBy: false,
|
|
|
|
muting: false,
|
|
|
|
mutingNotifications: false,
|
|
|
|
requested: false,
|
|
|
|
domainBlocking: false,
|
|
|
|
endorsed: false,
|
2023-01-12 06:36:19 +00:00
|
|
|
note: "",
|
|
|
|
notifying: false)
|
2022-12-20 16:11:12 +00:00
|
|
|
}
|
|
|
|
}
|