mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-04-29 03:08:46 +00:00
18 lines
397 B
Swift
18 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
|
|
}
|