mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-04-28 18:58:47 +00:00
34 lines
889 B
Swift
34 lines
889 B
Swift
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
|
|
public let notifying: Bool
|
|
|
|
public static func placeholder() -> Relationshionship {
|
|
.init(id: UUID().uuidString,
|
|
following: false,
|
|
showingReblogs: false,
|
|
followedBy: false,
|
|
blocking: false,
|
|
blockedBy: false,
|
|
muting: false,
|
|
mutingNotifications: false,
|
|
requested: false,
|
|
domainBlocking: false,
|
|
endorsed: false,
|
|
note: "",
|
|
notifying: false)
|
|
}
|
|
}
|