@camstack/addon-decoder-nodeav 1.2.104 → 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 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()
@@ -19778,6 +19821,7 @@ var MediaFileKindEnum = _enum([
19778
19821
  "keyFrame",
19779
19822
  "keyFrameSmall",
19780
19823
  "thumbnailSmall",
19824
+ "confirmationCrop",
19781
19825
  "sceneFrame"
19782
19826
  ]);
19783
19827
  /**
@@ -32704,6 +32748,12 @@ Object.freeze({
32704
32748
  addonId: null,
32705
32749
  access: "view"
32706
32750
  },
32751
+ "deviceManager.listLocationIcons": {
32752
+ capName: "device-manager",
32753
+ capScope: "system",
32754
+ addonId: null,
32755
+ access: "view"
32756
+ },
32707
32757
  "deviceManager.listLocations": {
32708
32758
  capName: "device-manager",
32709
32759
  capScope: "system",
@@ -32848,6 +32898,12 @@ Object.freeze({
32848
32898
  addonId: null,
32849
32899
  access: "create"
32850
32900
  },
32901
+ "deviceManager.setLocationIcon": {
32902
+ capName: "device-manager",
32903
+ capScope: "system",
32904
+ addonId: null,
32905
+ access: "create"
32906
+ },
32851
32907
  "deviceManager.setMetadata": {
32852
32908
  capName: "device-manager",
32853
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()
@@ -19774,6 +19817,7 @@ var MediaFileKindEnum = _enum([
19774
19817
  "keyFrame",
19775
19818
  "keyFrameSmall",
19776
19819
  "thumbnailSmall",
19820
+ "confirmationCrop",
19777
19821
  "sceneFrame"
19778
19822
  ]);
19779
19823
  /**
@@ -32700,6 +32744,12 @@ Object.freeze({
32700
32744
  addonId: null,
32701
32745
  access: "view"
32702
32746
  },
32747
+ "deviceManager.listLocationIcons": {
32748
+ capName: "device-manager",
32749
+ capScope: "system",
32750
+ addonId: null,
32751
+ access: "view"
32752
+ },
32703
32753
  "deviceManager.listLocations": {
32704
32754
  capName: "device-manager",
32705
32755
  capScope: "system",
@@ -32844,6 +32894,12 @@ Object.freeze({
32844
32894
  addonId: null,
32845
32895
  access: "create"
32846
32896
  },
32897
+ "deviceManager.setLocationIcon": {
32898
+ capName: "device-manager",
32899
+ capScope: "system",
32900
+ addonId: null,
32901
+ access: "create"
32902
+ },
32847
32903
  "deviceManager.setMetadata": {
32848
32904
  capName: "device-manager",
32849
32905
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.104",
3
+ "version": "1.2.106",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",