@camstack/addon-decoder-nodeav 1.2.105 → 1.2.106
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.
- package/dist/index.js +55 -0
- package/dist/index.mjs +55 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13371,6 +13371,43 @@ var ExposeInputSchema = object({
|
|
|
13371
13371
|
});
|
|
13372
13372
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13373
13373
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13374
|
+
/** Wire/storage schema for one icon id. */
|
|
13375
|
+
var LocationIconIdSchema = _enum([
|
|
13376
|
+
"map-pin",
|
|
13377
|
+
"house",
|
|
13378
|
+
"door-open",
|
|
13379
|
+
"sofa",
|
|
13380
|
+
"utensils",
|
|
13381
|
+
"bed-double",
|
|
13382
|
+
"bath",
|
|
13383
|
+
"briefcase",
|
|
13384
|
+
"car",
|
|
13385
|
+
"circle-parking",
|
|
13386
|
+
"route",
|
|
13387
|
+
"trees",
|
|
13388
|
+
"umbrella",
|
|
13389
|
+
"waves-ladder",
|
|
13390
|
+
"fence",
|
|
13391
|
+
"package",
|
|
13392
|
+
"warehouse",
|
|
13393
|
+
"store",
|
|
13394
|
+
"sun",
|
|
13395
|
+
"radar"
|
|
13396
|
+
]);
|
|
13397
|
+
/**
|
|
13398
|
+
* One (location, icon) assignment as it travels.
|
|
13399
|
+
*
|
|
13400
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13401
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13402
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13403
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13404
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13405
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13406
|
+
*/
|
|
13407
|
+
var LocationIconAssignmentSchema = object({
|
|
13408
|
+
locationKey: string(),
|
|
13409
|
+
icon: LocationIconIdSchema
|
|
13410
|
+
});
|
|
13374
13411
|
var ProviderStatusSchema = object({
|
|
13375
13412
|
connected: boolean(),
|
|
13376
13413
|
deviceCount: number(),
|
|
@@ -13882,6 +13919,12 @@ method(object({
|
|
|
13882
13919
|
}), object({ moved: number() }), {
|
|
13883
13920
|
kind: "mutation",
|
|
13884
13921
|
auth: "admin"
|
|
13922
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13923
|
+
location: string(),
|
|
13924
|
+
icon: LocationIconIdSchema.nullable()
|
|
13925
|
+
}), _void(), {
|
|
13926
|
+
kind: "mutation",
|
|
13927
|
+
auth: "admin"
|
|
13885
13928
|
}), method(object({
|
|
13886
13929
|
deviceId: number(),
|
|
13887
13930
|
disabled: boolean()
|
|
@@ -32705,6 +32748,12 @@ Object.freeze({
|
|
|
32705
32748
|
addonId: null,
|
|
32706
32749
|
access: "view"
|
|
32707
32750
|
},
|
|
32751
|
+
"deviceManager.listLocationIcons": {
|
|
32752
|
+
capName: "device-manager",
|
|
32753
|
+
capScope: "system",
|
|
32754
|
+
addonId: null,
|
|
32755
|
+
access: "view"
|
|
32756
|
+
},
|
|
32708
32757
|
"deviceManager.listLocations": {
|
|
32709
32758
|
capName: "device-manager",
|
|
32710
32759
|
capScope: "system",
|
|
@@ -32849,6 +32898,12 @@ Object.freeze({
|
|
|
32849
32898
|
addonId: null,
|
|
32850
32899
|
access: "create"
|
|
32851
32900
|
},
|
|
32901
|
+
"deviceManager.setLocationIcon": {
|
|
32902
|
+
capName: "device-manager",
|
|
32903
|
+
capScope: "system",
|
|
32904
|
+
addonId: null,
|
|
32905
|
+
access: "create"
|
|
32906
|
+
},
|
|
32852
32907
|
"deviceManager.setMetadata": {
|
|
32853
32908
|
capName: "device-manager",
|
|
32854
32909
|
capScope: "system",
|
package/dist/index.mjs
CHANGED
|
@@ -13367,6 +13367,43 @@ var ExposeInputSchema = object({
|
|
|
13367
13367
|
});
|
|
13368
13368
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13369
13369
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13370
|
+
/** Wire/storage schema for one icon id. */
|
|
13371
|
+
var LocationIconIdSchema = _enum([
|
|
13372
|
+
"map-pin",
|
|
13373
|
+
"house",
|
|
13374
|
+
"door-open",
|
|
13375
|
+
"sofa",
|
|
13376
|
+
"utensils",
|
|
13377
|
+
"bed-double",
|
|
13378
|
+
"bath",
|
|
13379
|
+
"briefcase",
|
|
13380
|
+
"car",
|
|
13381
|
+
"circle-parking",
|
|
13382
|
+
"route",
|
|
13383
|
+
"trees",
|
|
13384
|
+
"umbrella",
|
|
13385
|
+
"waves-ladder",
|
|
13386
|
+
"fence",
|
|
13387
|
+
"package",
|
|
13388
|
+
"warehouse",
|
|
13389
|
+
"store",
|
|
13390
|
+
"sun",
|
|
13391
|
+
"radar"
|
|
13392
|
+
]);
|
|
13393
|
+
/**
|
|
13394
|
+
* One (location, icon) assignment as it travels.
|
|
13395
|
+
*
|
|
13396
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13397
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13398
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13399
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13400
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13401
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13402
|
+
*/
|
|
13403
|
+
var LocationIconAssignmentSchema = object({
|
|
13404
|
+
locationKey: string(),
|
|
13405
|
+
icon: LocationIconIdSchema
|
|
13406
|
+
});
|
|
13370
13407
|
var ProviderStatusSchema = object({
|
|
13371
13408
|
connected: boolean(),
|
|
13372
13409
|
deviceCount: number(),
|
|
@@ -13878,6 +13915,12 @@ method(object({
|
|
|
13878
13915
|
}), object({ moved: number() }), {
|
|
13879
13916
|
kind: "mutation",
|
|
13880
13917
|
auth: "admin"
|
|
13918
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13919
|
+
location: string(),
|
|
13920
|
+
icon: LocationIconIdSchema.nullable()
|
|
13921
|
+
}), _void(), {
|
|
13922
|
+
kind: "mutation",
|
|
13923
|
+
auth: "admin"
|
|
13881
13924
|
}), method(object({
|
|
13882
13925
|
deviceId: number(),
|
|
13883
13926
|
disabled: boolean()
|
|
@@ -32701,6 +32744,12 @@ Object.freeze({
|
|
|
32701
32744
|
addonId: null,
|
|
32702
32745
|
access: "view"
|
|
32703
32746
|
},
|
|
32747
|
+
"deviceManager.listLocationIcons": {
|
|
32748
|
+
capName: "device-manager",
|
|
32749
|
+
capScope: "system",
|
|
32750
|
+
addonId: null,
|
|
32751
|
+
access: "view"
|
|
32752
|
+
},
|
|
32704
32753
|
"deviceManager.listLocations": {
|
|
32705
32754
|
capName: "device-manager",
|
|
32706
32755
|
capScope: "system",
|
|
@@ -32845,6 +32894,12 @@ Object.freeze({
|
|
|
32845
32894
|
addonId: null,
|
|
32846
32895
|
access: "create"
|
|
32847
32896
|
},
|
|
32897
|
+
"deviceManager.setLocationIcon": {
|
|
32898
|
+
capName: "device-manager",
|
|
32899
|
+
capScope: "system",
|
|
32900
|
+
addonId: null,
|
|
32901
|
+
access: "create"
|
|
32902
|
+
},
|
|
32848
32903
|
"deviceManager.setMetadata": {
|
|
32849
32904
|
capName: "device-manager",
|
|
32850
32905
|
capScope: "system",
|