@camstack/addon-provider-reolink 1.2.132 → 1.2.134

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/addon.js CHANGED
@@ -14083,6 +14083,43 @@ var ExposeInputSchema = object({
14083
14083
  });
14084
14084
  var UnexposeInputSchema = object({ deviceId: string() });
14085
14085
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
14086
+ /** Wire/storage schema for one icon id. */
14087
+ var LocationIconIdSchema = _enum([
14088
+ "map-pin",
14089
+ "house",
14090
+ "door-open",
14091
+ "sofa",
14092
+ "utensils",
14093
+ "bed-double",
14094
+ "bath",
14095
+ "briefcase",
14096
+ "car",
14097
+ "circle-parking",
14098
+ "route",
14099
+ "trees",
14100
+ "umbrella",
14101
+ "waves-ladder",
14102
+ "fence",
14103
+ "package",
14104
+ "warehouse",
14105
+ "store",
14106
+ "sun",
14107
+ "radar"
14108
+ ]);
14109
+ /**
14110
+ * One (location, icon) assignment as it travels.
14111
+ *
14112
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
14113
+ * operator's casing. The registry matches labels trimmed + case-insensitively
14114
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
14115
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
14116
+ * map keyed on the displayed casing would orphan its entry on exactly that
14117
+ * edit. Consumers join by keying their own label through `locationIconKey`.
14118
+ */
14119
+ var LocationIconAssignmentSchema = object({
14120
+ locationKey: string(),
14121
+ icon: LocationIconIdSchema
14122
+ });
14086
14123
  var ProviderStatusSchema = object({
14087
14124
  connected: boolean(),
14088
14125
  deviceCount: number(),
@@ -14675,6 +14712,12 @@ method(object({
14675
14712
  }), object({ moved: number() }), {
14676
14713
  kind: "mutation",
14677
14714
  auth: "admin"
14715
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
14716
+ location: string(),
14717
+ icon: LocationIconIdSchema.nullable()
14718
+ }), _void(), {
14719
+ kind: "mutation",
14720
+ auth: "admin"
14678
14721
  }), method(object({
14679
14722
  deviceId: number(),
14680
14723
  disabled: boolean()
@@ -20689,6 +20732,7 @@ var MediaFileKindEnum = _enum([
20689
20732
  "keyFrame",
20690
20733
  "keyFrameSmall",
20691
20734
  "thumbnailSmall",
20735
+ "confirmationCrop",
20692
20736
  "sceneFrame"
20693
20737
  ]);
20694
20738
  /**
@@ -38211,6 +38255,12 @@ Object.freeze({
38211
38255
  addonId: null,
38212
38256
  access: "view"
38213
38257
  },
38258
+ "deviceManager.listLocationIcons": {
38259
+ capName: "device-manager",
38260
+ capScope: "system",
38261
+ addonId: null,
38262
+ access: "view"
38263
+ },
38214
38264
  "deviceManager.listLocations": {
38215
38265
  capName: "device-manager",
38216
38266
  capScope: "system",
@@ -38355,6 +38405,12 @@ Object.freeze({
38355
38405
  addonId: null,
38356
38406
  access: "create"
38357
38407
  },
38408
+ "deviceManager.setLocationIcon": {
38409
+ capName: "device-manager",
38410
+ capScope: "system",
38411
+ addonId: null,
38412
+ access: "create"
38413
+ },
38358
38414
  "deviceManager.setMetadata": {
38359
38415
  capName: "device-manager",
38360
38416
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -14078,6 +14078,43 @@ var ExposeInputSchema = object({
14078
14078
  });
14079
14079
  var UnexposeInputSchema = object({ deviceId: string() });
14080
14080
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
14081
+ /** Wire/storage schema for one icon id. */
14082
+ var LocationIconIdSchema = _enum([
14083
+ "map-pin",
14084
+ "house",
14085
+ "door-open",
14086
+ "sofa",
14087
+ "utensils",
14088
+ "bed-double",
14089
+ "bath",
14090
+ "briefcase",
14091
+ "car",
14092
+ "circle-parking",
14093
+ "route",
14094
+ "trees",
14095
+ "umbrella",
14096
+ "waves-ladder",
14097
+ "fence",
14098
+ "package",
14099
+ "warehouse",
14100
+ "store",
14101
+ "sun",
14102
+ "radar"
14103
+ ]);
14104
+ /**
14105
+ * One (location, icon) assignment as it travels.
14106
+ *
14107
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
14108
+ * operator's casing. The registry matches labels trimmed + case-insensitively
14109
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
14110
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
14111
+ * map keyed on the displayed casing would orphan its entry on exactly that
14112
+ * edit. Consumers join by keying their own label through `locationIconKey`.
14113
+ */
14114
+ var LocationIconAssignmentSchema = object({
14115
+ locationKey: string(),
14116
+ icon: LocationIconIdSchema
14117
+ });
14081
14118
  var ProviderStatusSchema = object({
14082
14119
  connected: boolean(),
14083
14120
  deviceCount: number(),
@@ -14670,6 +14707,12 @@ method(object({
14670
14707
  }), object({ moved: number() }), {
14671
14708
  kind: "mutation",
14672
14709
  auth: "admin"
14710
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
14711
+ location: string(),
14712
+ icon: LocationIconIdSchema.nullable()
14713
+ }), _void(), {
14714
+ kind: "mutation",
14715
+ auth: "admin"
14673
14716
  }), method(object({
14674
14717
  deviceId: number(),
14675
14718
  disabled: boolean()
@@ -20684,6 +20727,7 @@ var MediaFileKindEnum = _enum([
20684
20727
  "keyFrame",
20685
20728
  "keyFrameSmall",
20686
20729
  "thumbnailSmall",
20730
+ "confirmationCrop",
20687
20731
  "sceneFrame"
20688
20732
  ]);
20689
20733
  /**
@@ -38206,6 +38250,12 @@ Object.freeze({
38206
38250
  addonId: null,
38207
38251
  access: "view"
38208
38252
  },
38253
+ "deviceManager.listLocationIcons": {
38254
+ capName: "device-manager",
38255
+ capScope: "system",
38256
+ addonId: null,
38257
+ access: "view"
38258
+ },
38209
38259
  "deviceManager.listLocations": {
38210
38260
  capName: "device-manager",
38211
38261
  capScope: "system",
@@ -38350,6 +38400,12 @@ Object.freeze({
38350
38400
  addonId: null,
38351
38401
  access: "create"
38352
38402
  },
38403
+ "deviceManager.setLocationIcon": {
38404
+ capName: "device-manager",
38405
+ capScope: "system",
38406
+ addonId: null,
38407
+ access: "create"
38408
+ },
38353
38409
  "deviceManager.setMetadata": {
38354
38410
  capName: "device-manager",
38355
38411
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.132",
3
+ "version": "1.2.134",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",