@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.
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/index.d.ts +3 -1
- package/dist/capabilities/navigation.cap.d.ts +463 -0
- package/dist/generated/addon-api.d.ts +85 -0
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +3 -0
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.js +565 -2
- package/dist/index.mjs +552 -3
- package/dist/interfaces/config-ui.d.ts +1 -1
- package/dist/{sleep-BRy4r7RG.mjs → sleep-CoV00zX3.mjs} +23 -1
- package/dist/{sleep-TVipGseU.js → sleep-QEBby1J6.js} +23 -1
- package/package.json +1 -1
|
@@ -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:
|
|
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:
|
|
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",
|