Skip to content

Interface: ExpandedDeviceEntry

One device after expansion: original entry plus the derived grid and the rolled-up supportStatus (worst-case across declared transports, mapped to EffectiveStatus).

Extends

Properties

PropertyTypeDescriptionInherited from
capabilities?Readonly<Record<string, unknown>>Chassis-level capability flags — properties of the box, not the printhead. Most boolean capabilities are engine-level; this bag is for genuinely chassis-y things (Brother's editorLite USB-Mass-Storage trick, eventual battery / display flags). Open shape so drivers can extend without touching contracts.DeviceEntry.capabilities
enginesreadonly PrintEngine[]Print engines in this device. Always an array, never empty — single-engine devices fabricate a 'primary' entry. Composite devices (Duo, Twin) carry one entry per independent engine.DeviceEntry.engines
familystringDriver family this device belongs to, e.g. 'labelwriter'.DeviceEntry.family
hardwareQuirks?stringIn-source hardware quirks — immutable facts about the chassis. Distinct from support.quirks, which is editorial and changes with firmware revisions. Example: "PID collides with the LabelManager PnP variant; needs usb_modeswitch on Linux".DeviceEntry.hardwareQuirks
keystringStable key used as the registry export name (e.g. 'LW_450').DeviceEntry.key
namestringHuman-readable model name, e.g. 'LabelWriter 450'.DeviceEntry.name
supportDeviceSupportAlways defined; defaults to { status: 'untested' }. Deprecated Author verifications instead. Kept populated by codegen (synthesised from verifications if present, else mapped from legacy authoring) so existing consumers keep working unchanged. Removed in the cleanup PR once all drivers migrate.DeviceEntry.support
supportStatusEffectiveStatus--
transportsDeviceTransportsWire-protocol transports this device exposes.DeviceEntry.transports
verificationGridExpandedVerificationGrid--
verifications?Partial<Record<TransportType, VerificationCell>>Per-transport stored verifications. Authored by hardware-report PRs; expanded at codegen time into a derived grid (see expandVerifications in ./expand.js). When absent, codegen falls back to legacy support.status.DeviceEntry.verifications