mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-18 05:06:41 +00:00
17 lines
397 B
Swift
17 lines
397 B
Swift
import Foundation
|
|
|
|
public struct PushSubscription: Identifiable, Decodable {
|
|
public struct Alerts: Decodable {
|
|
public let follow: Bool
|
|
public let favourite: Bool
|
|
public let reblog: Bool
|
|
public let mention: Bool
|
|
public let poll: Bool
|
|
public let status: Bool
|
|
}
|
|
|
|
public let id: Int
|
|
public let endpoint: URL
|
|
public let serverKey: String
|
|
public let alerts: Alerts
|
|
}
|