@camstack/types 1.2.153 → 1.2.155

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.
@@ -9,7 +9,7 @@ import type { CustomModelMetadata, ModelCatalogEntry, ModelFormat, ModelOutputFo
9
9
  * Multiple addons can contribute sections to the same tab.
10
10
  */
11
11
  /** Predefined tab identifiers that addons reference by ID. */
12
- export type WellKnownTabId = 'overview' | 'general' | 'image' | 'light' | 'motion' | 'audio' | 'snapshot' | 'osd' | 'alarms' | 'pipeline' | 'detection-pipeline' | 'stream-broker' | 'streaming' | 'ptz' | 'consumables' | 'zones' | 'analytics' | 'live-stats' | 'recording' | 'notifications' | 'network' | 'storage' | 'engine' | 'scheduler' | 'decoder' | 'advanced';
12
+ export type WellKnownTabId = 'overview' | 'general' | 'image' | 'light' | 'motion' | 'audio' | 'snapshot' | 'osd' | 'alarms' | 'pipeline' | 'detection-pipeline' | 'stream-broker' | 'streaming' | 'ptz' | 'navigation' | 'consumables' | 'zones' | 'analytics' | 'live-stats' | 'recording' | 'notifications' | 'network' | 'storage' | 'engine' | 'scheduler' | 'decoder' | 'advanced';
13
13
  export interface WellKnownTab {
14
14
  readonly id: WellKnownTabId;
15
15
  readonly label: string;
@@ -80,6 +80,12 @@ var WELL_KNOWN_TABS = [
80
80
  icon: "move",
81
81
  order: 40
82
82
  },
83
+ {
84
+ id: "navigation",
85
+ label: "Navigation",
86
+ icon: "compass",
87
+ order: 41
88
+ },
83
89
  {
84
90
  id: "consumables",
85
91
  label: "Consumables",
@@ -3181,6 +3187,7 @@ function createDeviceProxy(api, binding, opts) {
3181
3187
  motionTrigger: createSliceHandle(stateSource, binding.deviceId, "motion-trigger"),
3182
3188
  motionZones: createSliceHandle(stateSource, binding.deviceId, "motion-zones"),
3183
3189
  nativeObjectDetection: createSliceHandle(stateSource, binding.deviceId, "native-object-detection"),
3190
+ navigation: createSliceHandle(stateSource, binding.deviceId, "navigation"),
3184
3191
  networkLink: createSliceHandle(stateSource, binding.deviceId, "network-link"),
3185
3192
  notifier: createSliceHandle(stateSource, binding.deviceId, "notifier"),
3186
3193
  numericSensor: createSliceHandle(stateSource, binding.deviceId, "numeric-sensor"),
@@ -3415,6 +3422,19 @@ function createDeviceProxy(api, binding, opts) {
3415
3422
  setEnabled: (input) => dispatch("native-object-detection", "nativeObjectDetection", "setEnabled", "mutation", input),
3416
3423
  getStatus: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getStatus", "query", input)
3417
3424
  },
3425
+ navigation: {
3426
+ move: (input) => dispatch("navigation", "navigation", "move", "mutation", input),
3427
+ stop: (input) => dispatch("navigation", "navigation", "stop", "mutation", input),
3428
+ goToPoint: (input) => dispatch("navigation", "navigation", "goToPoint", "mutation", input),
3429
+ listActions: (input) => dispatch("navigation", "navigation", "listActions", "query", input),
3430
+ runAction: (input) => dispatch("navigation", "navigation", "runAction", "mutation", input),
3431
+ playSound: (input) => dispatch("navigation", "navigation", "playSound", "mutation", input),
3432
+ setLightOn: (input) => dispatch("navigation", "navigation", "setLightOn", "mutation", input),
3433
+ setLightMode: (input) => dispatch("navigation", "navigation", "setLightMode", "mutation", input),
3434
+ setLightLevel: (input) => dispatch("navigation", "navigation", "setLightLevel", "mutation", input),
3435
+ getFeatures: (input) => dispatch("navigation", "navigation", "getFeatures", "query", input),
3436
+ getStatus: (input) => dispatch("navigation", "navigation", "getStatus", "query", input)
3437
+ },
3418
3438
  networkLink: { getStatus: (input) => dispatch("network-link", "networkLink", "getStatus", "query", input) },
3419
3439
  notificationRules: {
3420
3440
  listRules: (input) => dispatch("notification-rules", "notificationRules", "listRules", "query", input),
@@ -3822,7 +3842,7 @@ function createDeviceProxy(api, binding, opts) {
3822
3842
  * can answer "may a rule actuate this?" without importing the schema barrel
3823
3843
  * (~144MB RSS per runner, D28).
3824
3844
  *
3825
- * Coverage: 80 device-scoped capabilities.
3845
+ * Coverage: 82 device-scoped capabilities.
3826
3846
  */
3827
3847
  var DEVICE_SCOPED_CAPS = new Set([
3828
3848
  "accessories",
@@ -3873,6 +3893,8 @@ var DEVICE_SCOPED_CAPS = new Set([
3873
3893
  "motion-trigger",
3874
3894
  "motion-zones",
3875
3895
  "native-object-detection",
3896
+ "navigation",
3897
+ "network-link",
3876
3898
  "notifier",
3877
3899
  "numeric-sensor",
3878
3900
  "osd",
@@ -80,6 +80,12 @@ var WELL_KNOWN_TABS = [
80
80
  icon: "move",
81
81
  order: 40
82
82
  },
83
+ {
84
+ id: "navigation",
85
+ label: "Navigation",
86
+ icon: "compass",
87
+ order: 41
88
+ },
83
89
  {
84
90
  id: "consumables",
85
91
  label: "Consumables",
@@ -3181,6 +3187,7 @@ function createDeviceProxy(api, binding, opts) {
3181
3187
  motionTrigger: createSliceHandle(stateSource, binding.deviceId, "motion-trigger"),
3182
3188
  motionZones: createSliceHandle(stateSource, binding.deviceId, "motion-zones"),
3183
3189
  nativeObjectDetection: createSliceHandle(stateSource, binding.deviceId, "native-object-detection"),
3190
+ navigation: createSliceHandle(stateSource, binding.deviceId, "navigation"),
3184
3191
  networkLink: createSliceHandle(stateSource, binding.deviceId, "network-link"),
3185
3192
  notifier: createSliceHandle(stateSource, binding.deviceId, "notifier"),
3186
3193
  numericSensor: createSliceHandle(stateSource, binding.deviceId, "numeric-sensor"),
@@ -3415,6 +3422,19 @@ function createDeviceProxy(api, binding, opts) {
3415
3422
  setEnabled: (input) => dispatch("native-object-detection", "nativeObjectDetection", "setEnabled", "mutation", input),
3416
3423
  getStatus: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getStatus", "query", input)
3417
3424
  },
3425
+ navigation: {
3426
+ move: (input) => dispatch("navigation", "navigation", "move", "mutation", input),
3427
+ stop: (input) => dispatch("navigation", "navigation", "stop", "mutation", input),
3428
+ goToPoint: (input) => dispatch("navigation", "navigation", "goToPoint", "mutation", input),
3429
+ listActions: (input) => dispatch("navigation", "navigation", "listActions", "query", input),
3430
+ runAction: (input) => dispatch("navigation", "navigation", "runAction", "mutation", input),
3431
+ playSound: (input) => dispatch("navigation", "navigation", "playSound", "mutation", input),
3432
+ setLightOn: (input) => dispatch("navigation", "navigation", "setLightOn", "mutation", input),
3433
+ setLightMode: (input) => dispatch("navigation", "navigation", "setLightMode", "mutation", input),
3434
+ setLightLevel: (input) => dispatch("navigation", "navigation", "setLightLevel", "mutation", input),
3435
+ getFeatures: (input) => dispatch("navigation", "navigation", "getFeatures", "query", input),
3436
+ getStatus: (input) => dispatch("navigation", "navigation", "getStatus", "query", input)
3437
+ },
3418
3438
  networkLink: { getStatus: (input) => dispatch("network-link", "networkLink", "getStatus", "query", input) },
3419
3439
  notificationRules: {
3420
3440
  listRules: (input) => dispatch("notification-rules", "notificationRules", "listRules", "query", input),
@@ -3822,7 +3842,7 @@ function createDeviceProxy(api, binding, opts) {
3822
3842
  * can answer "may a rule actuate this?" without importing the schema barrel
3823
3843
  * (~144MB RSS per runner, D28).
3824
3844
  *
3825
- * Coverage: 80 device-scoped capabilities.
3845
+ * Coverage: 82 device-scoped capabilities.
3826
3846
  */
3827
3847
  var DEVICE_SCOPED_CAPS = new Set([
3828
3848
  "accessories",
@@ -3873,6 +3893,8 @@ var DEVICE_SCOPED_CAPS = new Set([
3873
3893
  "motion-trigger",
3874
3894
  "motion-zones",
3875
3895
  "native-object-detection",
3896
+ "navigation",
3897
+ "network-link",
3876
3898
  "notifier",
3877
3899
  "numeric-sensor",
3878
3900
  "osd",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.153",
3
+ "version": "1.2.155",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",