@camstack/addon-google-services 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58431,9 +58431,24 @@ var NpuInfoSchema = object({
|
|
|
58431
58431
|
name: string().optional(),
|
|
58432
58432
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58433
58433
|
});
|
|
58434
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58434
58435
|
var CoralInfoSchema = object({
|
|
58435
58436
|
type: literal("coral-edgetpu"),
|
|
58436
|
-
bus
|
|
58437
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58438
|
+
bus: string().optional(),
|
|
58439
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58440
|
+
count: number().int().nonnegative().optional(),
|
|
58441
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58442
|
+
units: array(object({
|
|
58443
|
+
bus: CoralBusSchema,
|
|
58444
|
+
count: number().int().nonnegative()
|
|
58445
|
+
})).readonly().optional(),
|
|
58446
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58447
|
+
unavailable: array(object({
|
|
58448
|
+
bus: CoralBusSchema,
|
|
58449
|
+
count: number().int().nonnegative(),
|
|
58450
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58451
|
+
})).readonly().optional()
|
|
58437
58452
|
});
|
|
58438
58453
|
var HardwareInfoSchema = object({
|
|
58439
58454
|
platform: HardwarePlatformSchema,
|
|
@@ -58427,9 +58427,24 @@ var NpuInfoSchema = object({
|
|
|
58427
58427
|
name: string().optional(),
|
|
58428
58428
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58429
58429
|
});
|
|
58430
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58430
58431
|
var CoralInfoSchema = object({
|
|
58431
58432
|
type: literal("coral-edgetpu"),
|
|
58432
|
-
bus
|
|
58433
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58434
|
+
bus: string().optional(),
|
|
58435
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58436
|
+
count: number().int().nonnegative().optional(),
|
|
58437
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58438
|
+
units: array(object({
|
|
58439
|
+
bus: CoralBusSchema,
|
|
58440
|
+
count: number().int().nonnegative()
|
|
58441
|
+
})).readonly().optional(),
|
|
58442
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58443
|
+
unavailable: array(object({
|
|
58444
|
+
bus: CoralBusSchema,
|
|
58445
|
+
count: number().int().nonnegative(),
|
|
58446
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58447
|
+
})).readonly().optional()
|
|
58433
58448
|
});
|
|
58434
58449
|
var HardwareInfoSchema = object({
|
|
58435
58450
|
platform: HardwarePlatformSchema,
|
package/package.json
CHANGED