17 lines
378 B
Swift
17 lines
378 B
Swift
import Foundation
|
|
|
|
public struct DeviceSection: Equatable, Identifiable, Sendable {
|
|
public let id: String
|
|
public let title: String
|
|
public let values: [String: String]
|
|
}
|
|
|
|
public struct DeviceSnapshot: Equatable, Sendable {
|
|
public let sections: [DeviceSection]
|
|
}
|
|
|
|
public enum DeviceServiceError: Error, Equatable {
|
|
case unauthorized
|
|
case invalidResponse
|
|
}
|