@camstack/addon-waste-collections 0.1.13 → 0.1.14
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.
|
@@ -58253,9 +58253,24 @@ var NpuInfoSchema = object({
|
|
|
58253
58253
|
name: string().optional(),
|
|
58254
58254
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58255
58255
|
});
|
|
58256
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58256
58257
|
var CoralInfoSchema = object({
|
|
58257
58258
|
type: literal("coral-edgetpu"),
|
|
58258
|
-
bus
|
|
58259
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58260
|
+
bus: string().optional(),
|
|
58261
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58262
|
+
count: number().int().nonnegative().optional(),
|
|
58263
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58264
|
+
units: array(object({
|
|
58265
|
+
bus: CoralBusSchema,
|
|
58266
|
+
count: number().int().nonnegative()
|
|
58267
|
+
})).readonly().optional(),
|
|
58268
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58269
|
+
unavailable: array(object({
|
|
58270
|
+
bus: CoralBusSchema,
|
|
58271
|
+
count: number().int().nonnegative(),
|
|
58272
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58273
|
+
})).readonly().optional()
|
|
58259
58274
|
});
|
|
58260
58275
|
var HardwareInfoSchema = object({
|
|
58261
58276
|
platform: HardwarePlatformSchema,
|
|
@@ -58249,9 +58249,24 @@ var NpuInfoSchema = object({
|
|
|
58249
58249
|
name: string().optional(),
|
|
58250
58250
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58251
58251
|
});
|
|
58252
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58252
58253
|
var CoralInfoSchema = object({
|
|
58253
58254
|
type: literal("coral-edgetpu"),
|
|
58254
|
-
bus
|
|
58255
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58256
|
+
bus: string().optional(),
|
|
58257
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58258
|
+
count: number().int().nonnegative().optional(),
|
|
58259
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58260
|
+
units: array(object({
|
|
58261
|
+
bus: CoralBusSchema,
|
|
58262
|
+
count: number().int().nonnegative()
|
|
58263
|
+
})).readonly().optional(),
|
|
58264
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58265
|
+
unavailable: array(object({
|
|
58266
|
+
bus: CoralBusSchema,
|
|
58267
|
+
count: number().int().nonnegative(),
|
|
58268
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58269
|
+
})).readonly().optional()
|
|
58255
58270
|
});
|
|
58256
58271
|
var HardwareInfoSchema = object({
|
|
58257
58272
|
platform: HardwarePlatformSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-waste-collections",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Waste collection schedules via the vendored HACS waste_collection_schedule Python core — full source catalog as calendar-source.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|