Skip to content

Commit 4271098

Browse files
committed
reflect tvOS
1 parent 5e3542f commit 4271098

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

lib/types.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ export interface ConnectionProperties {
165165
isMobileDeviceOnly: boolean;
166166
/** The last connection date in ISO format
167167
* @example "2025-01-01T12:00:00.000Z" */
168-
lastConnectionDate: string;
168+
lastConnectionDate?: string;
169169
/** List of local hostnames
170170
* @example ["MyDevice.coredevice.local", "ABCD1234-5678-90EF-GHIJ-KLMNOPQRSTUV.coredevice.local"] */
171-
localHostnames: string[];
171+
localHostnames?: string[];
172172
/** The pairing state
173173
* @example "paired" */
174174
pairingState: string;
@@ -177,16 +177,16 @@ export interface ConnectionProperties {
177177
potentialHostnames: string[];
178178
/** The transport type
179179
* @example "wired" */
180-
transportType: string;
180+
transportType?: string;
181181
/** The tunnel IP address
182182
* @example "fdda:f9b3:f5d9::1" */
183-
tunnelIPAddress: string;
183+
tunnelIPAddress?: string;
184184
/** The tunnel state
185185
* @example "connected" */
186186
tunnelState: string;
187187
/** The tunnel transport protocol
188188
* @example "tcp" */
189-
tunnelTransportProtocol: string;
189+
tunnelTransportProtocol?: string;
190190
}
191191

192192
/**
@@ -195,22 +195,22 @@ export interface ConnectionProperties {
195195
export interface DeviceProperties {
196196
/** The boot state
197197
* @example "booted" */
198-
bootState: string;
198+
bootState?: string;
199199
/** Whether booted from snapshot
200200
* @example true */
201-
bootedFromSnapshot: boolean;
201+
bootedFromSnapshot?: boolean;
202202
/** The booted snapshot name
203203
* @example "com.apple.os.update-ABCDEF1234567890" */
204204
bootedSnapshotName?: string;
205205
/** Whether DDI services are available
206206
* @example true */
207-
ddiServicesAvailable: boolean;
207+
ddiServicesAvailable?: boolean;
208208
/** The developer mode status
209209
* @example "enabled" */
210-
developerModeStatus: string;
210+
developerModeStatus?: string;
211211
/** Whether has internal OS build
212212
* @example false */
213-
hasInternalOSBuild: boolean;
213+
hasInternalOSBuild?: boolean;
214214
/** The device name
215215
* @example "My iPhone" */
216216
name: string;
@@ -222,13 +222,13 @@ export interface DeviceProperties {
222222
osVersionNumber: string;
223223
/** Whether root file system is writable
224224
* @example false */
225-
rootFileSystemIsWritable: boolean;
225+
rootFileSystemIsWritable?: boolean;
226226
/** The screen viewing URL
227227
* @example "devices://device/open?id=ABCD1234-5678-90EF-GHIJ-KLMNOPQRSTUV" */
228-
screenViewingURL: string;
228+
screenViewingURL?: string;
229229
/** Whether supports checked allocations
230230
* @example false */
231-
supportsCheckedAllocations: boolean;
231+
supportsCheckedAllocations?: boolean;
232232
}
233233

234234
/**
@@ -249,34 +249,34 @@ export interface HardwareProperties {
249249
hardwareModel: string;
250250
/** The internal storage capacity in bytes
251251
* @example 128000000000 */
252-
internalStorageCapacity: number;
252+
internalStorageCapacity?: number;
253253
/** Whether is production fused
254254
* @example true */
255-
isProductionFused: boolean;
255+
isProductionFused?: boolean;
256256
/** The marketing name
257257
* @example "iPhone 15" */
258-
marketingName: string;
258+
marketingName?: string;
259259
/** The platform
260-
* @example "iOS" */
260+
* @example "iOS", "tvOS" */
261261
platform: string;
262262
/** The product type
263263
* @example "iPhone16,1" */
264264
productType: string;
265265
/** The reality type (physical or simulator)
266266
* @example "physical" */
267-
reality: string;
267+
reality?: string;
268268
/** The serial number
269269
* @example "ABC1234XYZ" */
270-
serialNumber: string;
270+
serialNumber?: string;
271271
/** List of supported CPU types
272272
* @example [{ name: "arm64e", subType: 2, type: 16777228 }, { name: "arm64", subType: 0, type: 16777228 }] */
273-
supportedCPUTypes: CPUType[];
273+
supportedCPUTypes?: CPUType[];
274274
/** List of supported device families
275-
* @example [1, 2] */
275+
* @example [1, 2], [3] */
276276
supportedDeviceFamilies: number[];
277277
/** The thinning product type
278278
* @example "iPhone16,1" */
279-
thinningProductType: string;
279+
thinningProductType?: string;
280280
/** The UDID
281281
* @example "00000000-0000000000000000" */
282282
udid: string;

0 commit comments

Comments
 (0)