@camstack/types 1.2.187 → 1.2.189
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/camera/stream-pick.d.ts +71 -0
- package/dist/{canonical-hash-DNV8S5ET.js → canonical-hash-9lydiEzx.js} +2 -0
- package/dist/{canonical-hash-rO1sRmEK.mjs → canonical-hash-Ch5bSjFG.mjs} +2 -0
- package/dist/capabilities/camera-streams.cap.d.ts +10 -0
- package/dist/capabilities/index.d.ts +4 -2
- package/dist/capabilities/notification-rules.cap.d.ts +48 -0
- package/dist/capabilities/osd-manager.cap.d.ts +18 -0
- package/dist/capabilities/stream-broker.cap.d.ts +41 -0
- package/dist/capabilities/stream-signals.cap.d.ts +80 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +1 -0
- package/dist/encode-profile.d.ts +2 -0
- package/dist/enums/event-category.d.ts +14 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-ZyX6jcse.mjs → event-category-BVDXG4tB.mjs} +14 -0
- package/dist/{event-category-yW4s1MGD.js → event-category-BVfsrBYA.js} +14 -0
- package/dist/ffmpeg/invocation.d.ts +2 -0
- package/dist/generated/addon-api.d.ts +22 -0
- 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 +4 -1
- 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 +2 -2
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +389 -58
- package/dist/index.mjs +384 -59
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/{sleep-DXsYD0RX.js → sleep-D7dV-FZB.js} +6 -2
- package/dist/{sleep-DBKu2-U5.mjs → sleep-DEuj7E3j.mjs} +6 -2
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -21,7 +21,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
|
-
const require_canonical_hash = require("./canonical-hash-
|
|
24
|
+
const require_canonical_hash = require("./canonical-hash-9lydiEzx.js");
|
|
25
25
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
26
26
|
let node_crypto = require("node:crypto");
|
|
27
27
|
let node_fs = require("node:fs");
|
package/dist/node.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as Fmp4BoxSplitter, o as buildFfmpegArgs, t as canonicalHash, u as isSoftwareDecode } from "./canonical-hash-
|
|
1
|
+
import { n as Fmp4BoxSplitter, o as buildFfmpegArgs, t as canonicalHash, u as isSoftwareDecode } from "./canonical-hash-Ch5bSjFG.mjs";
|
|
2
2
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
3
3
|
import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
|
|
4
4
|
import * as fs from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_event_category = require("./event-category-
|
|
1
|
+
const require_event_category = require("./event-category-BVfsrBYA.js");
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/audio/audio-chunk-format.ts
|
|
4
4
|
/**
|
|
@@ -3354,6 +3354,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3354
3354
|
smoke: createSliceHandle(stateSource, binding.deviceId, "smoke"),
|
|
3355
3355
|
streamCatalog: createSliceHandle(stateSource, binding.deviceId, "stream-catalog"),
|
|
3356
3356
|
streamParams: createSliceHandle(stateSource, binding.deviceId, "stream-params"),
|
|
3357
|
+
streamSignals: createSliceHandle(stateSource, binding.deviceId, "stream-signals"),
|
|
3357
3358
|
switch: createSliceHandle(stateSource, binding.deviceId, "switch"),
|
|
3358
3359
|
tamper: createSliceHandle(stateSource, binding.deviceId, "tamper"),
|
|
3359
3360
|
temperatureSensor: createSliceHandle(stateSource, binding.deviceId, "temperature-sensor"),
|
|
@@ -3768,6 +3769,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3768
3769
|
getConfigSchema: (input) => dispatch("stream-params", "streamParams", "getConfigSchema", "query", input),
|
|
3769
3770
|
getStatus: (input) => dispatch("stream-params", "streamParams", "getStatus", "query", input)
|
|
3770
3771
|
},
|
|
3772
|
+
streamSignals: { listSignals: (input) => dispatch("stream-signals", "streamSignals", "listSignals", "query", input) },
|
|
3771
3773
|
switch: {
|
|
3772
3774
|
setState: (input) => dispatch("switch", "switch", "setState", "mutation", input),
|
|
3773
3775
|
getStatus: (input) => dispatch("switch", "switch", "getStatus", "query", input)
|
|
@@ -3977,6 +3979,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3977
3979
|
},
|
|
3978
3980
|
recordingExport: { listExports: (input) => dispatchSystem("recordingExport", "listExports", "query", input) },
|
|
3979
3981
|
streamBroker: {
|
|
3982
|
+
reportStreamSignal: (input) => dispatchSystem("streamBroker", "reportStreamSignal", "mutation", input),
|
|
3980
3983
|
publishCameraStream: (input) => dispatchSystem("streamBroker", "publishCameraStream", "mutation", input),
|
|
3981
3984
|
retractCameraStream: (input) => dispatchSystem("streamBroker", "retractCameraStream", "mutation", input),
|
|
3982
3985
|
assignProfile: (input) => dispatchSystem("streamBroker", "assignProfile", "mutation", input),
|
|
@@ -4002,7 +4005,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
4002
4005
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
4003
4006
|
* (~144MB RSS per runner, D28).
|
|
4004
4007
|
*
|
|
4005
|
-
* Coverage:
|
|
4008
|
+
* Coverage: 84 device-scoped capabilities.
|
|
4006
4009
|
*/
|
|
4007
4010
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
4008
4011
|
"accessories",
|
|
@@ -4074,6 +4077,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
4074
4077
|
"snapshot",
|
|
4075
4078
|
"stream-catalog",
|
|
4076
4079
|
"stream-params",
|
|
4080
|
+
"stream-signals",
|
|
4077
4081
|
"switch",
|
|
4078
4082
|
"tamper",
|
|
4079
4083
|
"temperature-sensor",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { t as EventCategory } from "./event-category-BVDXG4tB.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/audio/audio-chunk-format.ts
|
|
4
4
|
/**
|
|
@@ -3354,6 +3354,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3354
3354
|
smoke: createSliceHandle(stateSource, binding.deviceId, "smoke"),
|
|
3355
3355
|
streamCatalog: createSliceHandle(stateSource, binding.deviceId, "stream-catalog"),
|
|
3356
3356
|
streamParams: createSliceHandle(stateSource, binding.deviceId, "stream-params"),
|
|
3357
|
+
streamSignals: createSliceHandle(stateSource, binding.deviceId, "stream-signals"),
|
|
3357
3358
|
switch: createSliceHandle(stateSource, binding.deviceId, "switch"),
|
|
3358
3359
|
tamper: createSliceHandle(stateSource, binding.deviceId, "tamper"),
|
|
3359
3360
|
temperatureSensor: createSliceHandle(stateSource, binding.deviceId, "temperature-sensor"),
|
|
@@ -3768,6 +3769,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3768
3769
|
getConfigSchema: (input) => dispatch("stream-params", "streamParams", "getConfigSchema", "query", input),
|
|
3769
3770
|
getStatus: (input) => dispatch("stream-params", "streamParams", "getStatus", "query", input)
|
|
3770
3771
|
},
|
|
3772
|
+
streamSignals: { listSignals: (input) => dispatch("stream-signals", "streamSignals", "listSignals", "query", input) },
|
|
3771
3773
|
switch: {
|
|
3772
3774
|
setState: (input) => dispatch("switch", "switch", "setState", "mutation", input),
|
|
3773
3775
|
getStatus: (input) => dispatch("switch", "switch", "getStatus", "query", input)
|
|
@@ -3977,6 +3979,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3977
3979
|
},
|
|
3978
3980
|
recordingExport: { listExports: (input) => dispatchSystem("recordingExport", "listExports", "query", input) },
|
|
3979
3981
|
streamBroker: {
|
|
3982
|
+
reportStreamSignal: (input) => dispatchSystem("streamBroker", "reportStreamSignal", "mutation", input),
|
|
3980
3983
|
publishCameraStream: (input) => dispatchSystem("streamBroker", "publishCameraStream", "mutation", input),
|
|
3981
3984
|
retractCameraStream: (input) => dispatchSystem("streamBroker", "retractCameraStream", "mutation", input),
|
|
3982
3985
|
assignProfile: (input) => dispatchSystem("streamBroker", "assignProfile", "mutation", input),
|
|
@@ -4002,7 +4005,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
4002
4005
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
4003
4006
|
* (~144MB RSS per runner, D28).
|
|
4004
4007
|
*
|
|
4005
|
-
* Coverage:
|
|
4008
|
+
* Coverage: 84 device-scoped capabilities.
|
|
4006
4009
|
*/
|
|
4007
4010
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
4008
4011
|
"accessories",
|
|
@@ -4074,6 +4077,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
4074
4077
|
"snapshot",
|
|
4075
4078
|
"stream-catalog",
|
|
4076
4079
|
"stream-params",
|
|
4080
|
+
"stream-signals",
|
|
4077
4081
|
"switch",
|
|
4078
4082
|
"tamper",
|
|
4079
4083
|
"temperature-sensor",
|