import Foundation /// Shared cache object used by the Notifications Service Extension for persisted values set in the main app, and vice versa. public struct PushNotificationsCache: Codable { public var settings: PushNotificationsSettings public var notifications: Set public var currentUnreadCount: Int = 0 public init(settings: PushNotificationsSettings, notifications: Set, currentUnreadCount: Int = 0) { self.settings = settings self.notifications = notifications self.currentUnreadCount = currentUnreadCount } }