External Device

External device types

Type reference

---@class LaptopDeviceMetadata
---@field deviceId string
---@field deviceLabel string
---@field [string] any

---@class LaptopDevice
---@field slot number
---@field metadata table<LaptopDeviceMetadata>

LaptopDeviceMetadata

deviceIdnumber
Required param for device to recognised.
deviceLabelnumber
Required param for device to recognised.
[string]any
Any other thing defined in metadata.

LaptopDevice

slotnumber
Device slot in laptop storage.
metadataLaptopDeviceMetadata[]
Device item metadata.