LocalData/Sources/LocalData/Protocols/StorageKey.swift
2026-01-13 21:13:17 -06:00

15 lines
381 B
Swift

import Foundation
public protocol StorageKey: Sendable {
associatedtype Value: Codable & Sendable
var name: String { get }
var domain: StorageDomain { get }
var security: SecurityPolicy { get }
var serializer: Serializer<Value> { get }
var owner: String { get }
var availability: PlatformAvailability { get }
var syncPolicy: SyncPolicy { get }
}