@camstack/addon-mqtt-broker 1.2.112 → 1.2.113
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/mqtt-broker.addon.js +27 -6
- package/dist/mqtt-broker.addon.mjs +27 -6
- package/package.json +1 -1
|
@@ -5405,7 +5405,7 @@ var ZodIssueCode = {
|
|
|
5405
5405
|
var ZodFirstPartyTypeKind;
|
|
5406
5406
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5407
5407
|
//#endregion
|
|
5408
|
-
//#region ../types/dist/sleep-
|
|
5408
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5409
5409
|
/**
|
|
5410
5410
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5411
5411
|
* window to float samples (D455).
|
|
@@ -28959,6 +28959,26 @@ var PtzHomePresetSchema = object({
|
|
|
28959
28959
|
"none"
|
|
28960
28960
|
])
|
|
28961
28961
|
});
|
|
28962
|
+
/**
|
|
28963
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
28964
|
+
* after how long.
|
|
28965
|
+
*
|
|
28966
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
28967
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
28968
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
28969
|
+
* can disagree.
|
|
28970
|
+
*
|
|
28971
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
28972
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
28973
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
28974
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
28975
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
28976
|
+
* return at all.
|
|
28977
|
+
*/
|
|
28978
|
+
var PtzHomeReturnSchema = object({
|
|
28979
|
+
enabled: boolean(),
|
|
28980
|
+
seconds: number().int()
|
|
28981
|
+
});
|
|
28962
28982
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
28963
28983
|
deviceId: number(),
|
|
28964
28984
|
presetId: string()
|
|
@@ -28984,8 +29004,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
28984
29004
|
}), method(object({ deviceId: number() }), _void(), {
|
|
28985
29005
|
kind: "mutation",
|
|
28986
29006
|
auth: "admin"
|
|
28987
|
-
}), method(object({ deviceId: number() }),
|
|
29007
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
28988
29008
|
deviceId: number(),
|
|
29009
|
+
enabled: boolean(),
|
|
28989
29010
|
seconds: number().int().min(0).max(3600)
|
|
28990
29011
|
}), _void(), {
|
|
28991
29012
|
kind: "mutation",
|
|
@@ -36017,7 +36038,7 @@ Object.freeze({
|
|
|
36017
36038
|
addonId: null,
|
|
36018
36039
|
access: "view"
|
|
36019
36040
|
},
|
|
36020
|
-
"ptz.
|
|
36041
|
+
"ptz.getHomeReturn": {
|
|
36021
36042
|
capName: "ptz",
|
|
36022
36043
|
capScope: "device",
|
|
36023
36044
|
addonId: null,
|
|
@@ -36077,7 +36098,7 @@ Object.freeze({
|
|
|
36077
36098
|
addonId: null,
|
|
36078
36099
|
access: "create"
|
|
36079
36100
|
},
|
|
36080
|
-
"ptz.
|
|
36101
|
+
"ptz.setHomeReturn": {
|
|
36081
36102
|
capName: "ptz",
|
|
36082
36103
|
capScope: "device",
|
|
36083
36104
|
addonId: null,
|
|
@@ -39266,7 +39287,7 @@ Object.freeze({
|
|
|
39266
39287
|
form: "single",
|
|
39267
39288
|
optional: false
|
|
39268
39289
|
}],
|
|
39269
|
-
"ptz.
|
|
39290
|
+
"ptz.getHomeReturn": [{
|
|
39270
39291
|
name: "deviceId",
|
|
39271
39292
|
form: "single",
|
|
39272
39293
|
optional: false
|
|
@@ -39316,7 +39337,7 @@ Object.freeze({
|
|
|
39316
39337
|
form: "single",
|
|
39317
39338
|
optional: false
|
|
39318
39339
|
}],
|
|
39319
|
-
"ptz.
|
|
39340
|
+
"ptz.setHomeReturn": [{
|
|
39320
39341
|
name: "deviceId",
|
|
39321
39342
|
form: "single",
|
|
39322
39343
|
optional: false
|
|
@@ -5400,7 +5400,7 @@ var ZodIssueCode = {
|
|
|
5400
5400
|
var ZodFirstPartyTypeKind;
|
|
5401
5401
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5402
5402
|
//#endregion
|
|
5403
|
-
//#region ../types/dist/sleep-
|
|
5403
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5404
5404
|
/**
|
|
5405
5405
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5406
5406
|
* window to float samples (D455).
|
|
@@ -28954,6 +28954,26 @@ var PtzHomePresetSchema = object({
|
|
|
28954
28954
|
"none"
|
|
28955
28955
|
])
|
|
28956
28956
|
});
|
|
28957
|
+
/**
|
|
28958
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
28959
|
+
* after how long.
|
|
28960
|
+
*
|
|
28961
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
28962
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
28963
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
28964
|
+
* can disagree.
|
|
28965
|
+
*
|
|
28966
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
28967
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
28968
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
28969
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
28970
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
28971
|
+
* return at all.
|
|
28972
|
+
*/
|
|
28973
|
+
var PtzHomeReturnSchema = object({
|
|
28974
|
+
enabled: boolean(),
|
|
28975
|
+
seconds: number().int()
|
|
28976
|
+
});
|
|
28957
28977
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
28958
28978
|
deviceId: number(),
|
|
28959
28979
|
presetId: string()
|
|
@@ -28979,8 +28999,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
28979
28999
|
}), method(object({ deviceId: number() }), _void(), {
|
|
28980
29000
|
kind: "mutation",
|
|
28981
29001
|
auth: "admin"
|
|
28982
|
-
}), method(object({ deviceId: number() }),
|
|
29002
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
28983
29003
|
deviceId: number(),
|
|
29004
|
+
enabled: boolean(),
|
|
28984
29005
|
seconds: number().int().min(0).max(3600)
|
|
28985
29006
|
}), _void(), {
|
|
28986
29007
|
kind: "mutation",
|
|
@@ -36012,7 +36033,7 @@ Object.freeze({
|
|
|
36012
36033
|
addonId: null,
|
|
36013
36034
|
access: "view"
|
|
36014
36035
|
},
|
|
36015
|
-
"ptz.
|
|
36036
|
+
"ptz.getHomeReturn": {
|
|
36016
36037
|
capName: "ptz",
|
|
36017
36038
|
capScope: "device",
|
|
36018
36039
|
addonId: null,
|
|
@@ -36072,7 +36093,7 @@ Object.freeze({
|
|
|
36072
36093
|
addonId: null,
|
|
36073
36094
|
access: "create"
|
|
36074
36095
|
},
|
|
36075
|
-
"ptz.
|
|
36096
|
+
"ptz.setHomeReturn": {
|
|
36076
36097
|
capName: "ptz",
|
|
36077
36098
|
capScope: "device",
|
|
36078
36099
|
addonId: null,
|
|
@@ -39261,7 +39282,7 @@ Object.freeze({
|
|
|
39261
39282
|
form: "single",
|
|
39262
39283
|
optional: false
|
|
39263
39284
|
}],
|
|
39264
|
-
"ptz.
|
|
39285
|
+
"ptz.getHomeReturn": [{
|
|
39265
39286
|
name: "deviceId",
|
|
39266
39287
|
form: "single",
|
|
39267
39288
|
optional: false
|
|
@@ -39311,7 +39332,7 @@ Object.freeze({
|
|
|
39311
39332
|
form: "single",
|
|
39312
39333
|
optional: false
|
|
39313
39334
|
}],
|
|
39314
|
-
"ptz.
|
|
39335
|
+
"ptz.setHomeReturn": [{
|
|
39315
39336
|
name: "deviceId",
|
|
39316
39337
|
form: "single",
|
|
39317
39338
|
optional: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.113",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|