LocalData/Sources/LocalData/Protocols/StorageKey.swift
Matt Bruce b9dca68c5d Update LocalData.swift, Models, Protocols (+1 more) + tests + docs + config
Summary:
- Sources: LocalData.swift, Models, Protocols, Services
- Tests: LocalDataTests.swift
- Docs: Proposal, README
- Config: Package
- Other: .gitignore
- Added symbols: enum StorageKeys, struct AnyCodable, func encode, enum FileDirectory, func url, enum KeychainAccessControl (+49 more)

Stats:
- 19 files changed, 814 insertions(+)
2026-01-18 14:53:25 -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 }
}