@camstack/types 1.2.152 → 1.2.154
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 +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/index.d.ts +5 -1
- package/dist/capabilities/navigation.cap.d.ts +463 -0
- package/dist/capabilities/network-link.cap.d.ts +135 -0
- package/dist/enums/event-category.d.ts +7 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-BaEgqJNv.js → event-category-b8kBSOTT.js} +7 -0
- package/dist/{event-category-BZL-fdNj.mjs → event-category-zAv7pMUz.mjs} +7 -0
- package/dist/generated/addon-api.d.ts +99 -0
- package/dist/generated/cap-status-types.d.ts +5 -1
- package/dist/generated/capability-router-map.d.ts +8 -2
- package/dist/generated/device-local-state.d.ts +6 -0
- package/dist/generated/device-proxy.d.ts +6 -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 +704 -3
- package/dist/index.mjs +685 -4
- package/dist/{sleep-Db7MvrdS.mjs → sleep-CgijQHtG.mjs} +20 -2
- package/dist/{sleep-DVTaZZHP.js → sleep-Dp0uukHR.js} +20 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { t as EventCategory } from "./event-category-zAv7pMUz.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/interfaces/config-ui.ts
|
|
4
4
|
/** Predefined tabs with standard label, icon, and sort order.
|
|
@@ -3181,6 +3181,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3181
3181
|
motionTrigger: createSliceHandle(stateSource, binding.deviceId, "motion-trigger"),
|
|
3182
3182
|
motionZones: createSliceHandle(stateSource, binding.deviceId, "motion-zones"),
|
|
3183
3183
|
nativeObjectDetection: createSliceHandle(stateSource, binding.deviceId, "native-object-detection"),
|
|
3184
|
+
navigation: createSliceHandle(stateSource, binding.deviceId, "navigation"),
|
|
3185
|
+
networkLink: createSliceHandle(stateSource, binding.deviceId, "network-link"),
|
|
3184
3186
|
notifier: createSliceHandle(stateSource, binding.deviceId, "notifier"),
|
|
3185
3187
|
numericSensor: createSliceHandle(stateSource, binding.deviceId, "numeric-sensor"),
|
|
3186
3188
|
petFeeder: createSliceHandle(stateSource, binding.deviceId, "pet-feeder"),
|
|
@@ -3414,6 +3416,20 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3414
3416
|
setEnabled: (input) => dispatch("native-object-detection", "nativeObjectDetection", "setEnabled", "mutation", input),
|
|
3415
3417
|
getStatus: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getStatus", "query", input)
|
|
3416
3418
|
},
|
|
3419
|
+
navigation: {
|
|
3420
|
+
move: (input) => dispatch("navigation", "navigation", "move", "mutation", input),
|
|
3421
|
+
stop: (input) => dispatch("navigation", "navigation", "stop", "mutation", input),
|
|
3422
|
+
goToPoint: (input) => dispatch("navigation", "navigation", "goToPoint", "mutation", input),
|
|
3423
|
+
listActions: (input) => dispatch("navigation", "navigation", "listActions", "query", input),
|
|
3424
|
+
runAction: (input) => dispatch("navigation", "navigation", "runAction", "mutation", input),
|
|
3425
|
+
playSound: (input) => dispatch("navigation", "navigation", "playSound", "mutation", input),
|
|
3426
|
+
setLightOn: (input) => dispatch("navigation", "navigation", "setLightOn", "mutation", input),
|
|
3427
|
+
setLightMode: (input) => dispatch("navigation", "navigation", "setLightMode", "mutation", input),
|
|
3428
|
+
setLightLevel: (input) => dispatch("navigation", "navigation", "setLightLevel", "mutation", input),
|
|
3429
|
+
getFeatures: (input) => dispatch("navigation", "navigation", "getFeatures", "query", input),
|
|
3430
|
+
getStatus: (input) => dispatch("navigation", "navigation", "getStatus", "query", input)
|
|
3431
|
+
},
|
|
3432
|
+
networkLink: { getStatus: (input) => dispatch("network-link", "networkLink", "getStatus", "query", input) },
|
|
3417
3433
|
notificationRules: {
|
|
3418
3434
|
listRules: (input) => dispatch("notification-rules", "notificationRules", "listRules", "query", input),
|
|
3419
3435
|
getRule: (input) => dispatch("notification-rules", "notificationRules", "getRule", "query", input),
|
|
@@ -3820,7 +3836,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3820
3836
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
3821
3837
|
* (~144MB RSS per runner, D28).
|
|
3822
3838
|
*
|
|
3823
|
-
* Coverage:
|
|
3839
|
+
* Coverage: 82 device-scoped capabilities.
|
|
3824
3840
|
*/
|
|
3825
3841
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
3826
3842
|
"accessories",
|
|
@@ -3871,6 +3887,8 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
3871
3887
|
"motion-trigger",
|
|
3872
3888
|
"motion-zones",
|
|
3873
3889
|
"native-object-detection",
|
|
3890
|
+
"navigation",
|
|
3891
|
+
"network-link",
|
|
3874
3892
|
"notifier",
|
|
3875
3893
|
"numeric-sensor",
|
|
3876
3894
|
"osd",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_event_category = require("./event-category-
|
|
1
|
+
const require_event_category = require("./event-category-b8kBSOTT.js");
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/interfaces/config-ui.ts
|
|
4
4
|
/** Predefined tabs with standard label, icon, and sort order.
|
|
@@ -3181,6 +3181,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3181
3181
|
motionTrigger: createSliceHandle(stateSource, binding.deviceId, "motion-trigger"),
|
|
3182
3182
|
motionZones: createSliceHandle(stateSource, binding.deviceId, "motion-zones"),
|
|
3183
3183
|
nativeObjectDetection: createSliceHandle(stateSource, binding.deviceId, "native-object-detection"),
|
|
3184
|
+
navigation: createSliceHandle(stateSource, binding.deviceId, "navigation"),
|
|
3185
|
+
networkLink: createSliceHandle(stateSource, binding.deviceId, "network-link"),
|
|
3184
3186
|
notifier: createSliceHandle(stateSource, binding.deviceId, "notifier"),
|
|
3185
3187
|
numericSensor: createSliceHandle(stateSource, binding.deviceId, "numeric-sensor"),
|
|
3186
3188
|
petFeeder: createSliceHandle(stateSource, binding.deviceId, "pet-feeder"),
|
|
@@ -3414,6 +3416,20 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3414
3416
|
setEnabled: (input) => dispatch("native-object-detection", "nativeObjectDetection", "setEnabled", "mutation", input),
|
|
3415
3417
|
getStatus: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getStatus", "query", input)
|
|
3416
3418
|
},
|
|
3419
|
+
navigation: {
|
|
3420
|
+
move: (input) => dispatch("navigation", "navigation", "move", "mutation", input),
|
|
3421
|
+
stop: (input) => dispatch("navigation", "navigation", "stop", "mutation", input),
|
|
3422
|
+
goToPoint: (input) => dispatch("navigation", "navigation", "goToPoint", "mutation", input),
|
|
3423
|
+
listActions: (input) => dispatch("navigation", "navigation", "listActions", "query", input),
|
|
3424
|
+
runAction: (input) => dispatch("navigation", "navigation", "runAction", "mutation", input),
|
|
3425
|
+
playSound: (input) => dispatch("navigation", "navigation", "playSound", "mutation", input),
|
|
3426
|
+
setLightOn: (input) => dispatch("navigation", "navigation", "setLightOn", "mutation", input),
|
|
3427
|
+
setLightMode: (input) => dispatch("navigation", "navigation", "setLightMode", "mutation", input),
|
|
3428
|
+
setLightLevel: (input) => dispatch("navigation", "navigation", "setLightLevel", "mutation", input),
|
|
3429
|
+
getFeatures: (input) => dispatch("navigation", "navigation", "getFeatures", "query", input),
|
|
3430
|
+
getStatus: (input) => dispatch("navigation", "navigation", "getStatus", "query", input)
|
|
3431
|
+
},
|
|
3432
|
+
networkLink: { getStatus: (input) => dispatch("network-link", "networkLink", "getStatus", "query", input) },
|
|
3417
3433
|
notificationRules: {
|
|
3418
3434
|
listRules: (input) => dispatch("notification-rules", "notificationRules", "listRules", "query", input),
|
|
3419
3435
|
getRule: (input) => dispatch("notification-rules", "notificationRules", "getRule", "query", input),
|
|
@@ -3820,7 +3836,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3820
3836
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
3821
3837
|
* (~144MB RSS per runner, D28).
|
|
3822
3838
|
*
|
|
3823
|
-
* Coverage:
|
|
3839
|
+
* Coverage: 82 device-scoped capabilities.
|
|
3824
3840
|
*/
|
|
3825
3841
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
3826
3842
|
"accessories",
|
|
@@ -3871,6 +3887,8 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
3871
3887
|
"motion-trigger",
|
|
3872
3888
|
"motion-zones",
|
|
3873
3889
|
"native-object-detection",
|
|
3890
|
+
"navigation",
|
|
3891
|
+
"network-link",
|
|
3874
3892
|
"notifier",
|
|
3875
3893
|
"numeric-sensor",
|
|
3876
3894
|
"osd",
|