@camstack/addon-mqtt-broker 1.2.111 → 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 +64 -1
- package/dist/mqtt-broker.addon.mjs +64 -1
- 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()
|
|
@@ -28981,6 +29001,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
28981
29001
|
}), _void(), {
|
|
28982
29002
|
kind: "mutation",
|
|
28983
29003
|
auth: "admin"
|
|
29004
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29005
|
+
kind: "mutation",
|
|
29006
|
+
auth: "admin"
|
|
29007
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29008
|
+
deviceId: number(),
|
|
29009
|
+
enabled: boolean(),
|
|
29010
|
+
seconds: number().int().min(0).max(3600)
|
|
29011
|
+
}), _void(), {
|
|
29012
|
+
kind: "mutation",
|
|
29013
|
+
auth: "admin"
|
|
28984
29014
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
28985
29015
|
deviceId: number(),
|
|
28986
29016
|
enabled: boolean()
|
|
@@ -35984,6 +36014,12 @@ Object.freeze({
|
|
|
35984
36014
|
addonId: null,
|
|
35985
36015
|
access: "create"
|
|
35986
36016
|
},
|
|
36017
|
+
"ptz.captureHomeHere": {
|
|
36018
|
+
capName: "ptz",
|
|
36019
|
+
capScope: "device",
|
|
36020
|
+
addonId: null,
|
|
36021
|
+
access: "create"
|
|
36022
|
+
},
|
|
35987
36023
|
"ptz.continuousMove": {
|
|
35988
36024
|
capName: "ptz",
|
|
35989
36025
|
capScope: "device",
|
|
@@ -36002,6 +36038,12 @@ Object.freeze({
|
|
|
36002
36038
|
addonId: null,
|
|
36003
36039
|
access: "view"
|
|
36004
36040
|
},
|
|
36041
|
+
"ptz.getHomeReturn": {
|
|
36042
|
+
capName: "ptz",
|
|
36043
|
+
capScope: "device",
|
|
36044
|
+
addonId: null,
|
|
36045
|
+
access: "view"
|
|
36046
|
+
},
|
|
36005
36047
|
"ptz.getOptions": {
|
|
36006
36048
|
capName: "ptz",
|
|
36007
36049
|
capScope: "device",
|
|
@@ -36056,6 +36098,12 @@ Object.freeze({
|
|
|
36056
36098
|
addonId: null,
|
|
36057
36099
|
access: "create"
|
|
36058
36100
|
},
|
|
36101
|
+
"ptz.setHomeReturn": {
|
|
36102
|
+
capName: "ptz",
|
|
36103
|
+
capScope: "device",
|
|
36104
|
+
addonId: null,
|
|
36105
|
+
access: "create"
|
|
36106
|
+
},
|
|
36059
36107
|
"ptz.stop": {
|
|
36060
36108
|
capName: "ptz",
|
|
36061
36109
|
capScope: "device",
|
|
@@ -39219,6 +39267,11 @@ Object.freeze({
|
|
|
39219
39267
|
form: "single",
|
|
39220
39268
|
optional: false
|
|
39221
39269
|
}],
|
|
39270
|
+
"ptz.captureHomeHere": [{
|
|
39271
|
+
name: "deviceId",
|
|
39272
|
+
form: "single",
|
|
39273
|
+
optional: false
|
|
39274
|
+
}],
|
|
39222
39275
|
"ptz.continuousMove": [{
|
|
39223
39276
|
name: "deviceId",
|
|
39224
39277
|
form: "single",
|
|
@@ -39234,6 +39287,11 @@ Object.freeze({
|
|
|
39234
39287
|
form: "single",
|
|
39235
39288
|
optional: false
|
|
39236
39289
|
}],
|
|
39290
|
+
"ptz.getHomeReturn": [{
|
|
39291
|
+
name: "deviceId",
|
|
39292
|
+
form: "single",
|
|
39293
|
+
optional: false
|
|
39294
|
+
}],
|
|
39237
39295
|
"ptz.getOptions": [{
|
|
39238
39296
|
name: "deviceId",
|
|
39239
39297
|
form: "single",
|
|
@@ -39279,6 +39337,11 @@ Object.freeze({
|
|
|
39279
39337
|
form: "single",
|
|
39280
39338
|
optional: false
|
|
39281
39339
|
}],
|
|
39340
|
+
"ptz.setHomeReturn": [{
|
|
39341
|
+
name: "deviceId",
|
|
39342
|
+
form: "single",
|
|
39343
|
+
optional: false
|
|
39344
|
+
}],
|
|
39282
39345
|
"ptz.stop": [{
|
|
39283
39346
|
name: "deviceId",
|
|
39284
39347
|
form: "single",
|
|
@@ -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()
|
|
@@ -28976,6 +28996,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
28976
28996
|
}), _void(), {
|
|
28977
28997
|
kind: "mutation",
|
|
28978
28998
|
auth: "admin"
|
|
28999
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29000
|
+
kind: "mutation",
|
|
29001
|
+
auth: "admin"
|
|
29002
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29003
|
+
deviceId: number(),
|
|
29004
|
+
enabled: boolean(),
|
|
29005
|
+
seconds: number().int().min(0).max(3600)
|
|
29006
|
+
}), _void(), {
|
|
29007
|
+
kind: "mutation",
|
|
29008
|
+
auth: "admin"
|
|
28979
29009
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
28980
29010
|
deviceId: number(),
|
|
28981
29011
|
enabled: boolean()
|
|
@@ -35979,6 +36009,12 @@ Object.freeze({
|
|
|
35979
36009
|
addonId: null,
|
|
35980
36010
|
access: "create"
|
|
35981
36011
|
},
|
|
36012
|
+
"ptz.captureHomeHere": {
|
|
36013
|
+
capName: "ptz",
|
|
36014
|
+
capScope: "device",
|
|
36015
|
+
addonId: null,
|
|
36016
|
+
access: "create"
|
|
36017
|
+
},
|
|
35982
36018
|
"ptz.continuousMove": {
|
|
35983
36019
|
capName: "ptz",
|
|
35984
36020
|
capScope: "device",
|
|
@@ -35997,6 +36033,12 @@ Object.freeze({
|
|
|
35997
36033
|
addonId: null,
|
|
35998
36034
|
access: "view"
|
|
35999
36035
|
},
|
|
36036
|
+
"ptz.getHomeReturn": {
|
|
36037
|
+
capName: "ptz",
|
|
36038
|
+
capScope: "device",
|
|
36039
|
+
addonId: null,
|
|
36040
|
+
access: "view"
|
|
36041
|
+
},
|
|
36000
36042
|
"ptz.getOptions": {
|
|
36001
36043
|
capName: "ptz",
|
|
36002
36044
|
capScope: "device",
|
|
@@ -36051,6 +36093,12 @@ Object.freeze({
|
|
|
36051
36093
|
addonId: null,
|
|
36052
36094
|
access: "create"
|
|
36053
36095
|
},
|
|
36096
|
+
"ptz.setHomeReturn": {
|
|
36097
|
+
capName: "ptz",
|
|
36098
|
+
capScope: "device",
|
|
36099
|
+
addonId: null,
|
|
36100
|
+
access: "create"
|
|
36101
|
+
},
|
|
36054
36102
|
"ptz.stop": {
|
|
36055
36103
|
capName: "ptz",
|
|
36056
36104
|
capScope: "device",
|
|
@@ -39214,6 +39262,11 @@ Object.freeze({
|
|
|
39214
39262
|
form: "single",
|
|
39215
39263
|
optional: false
|
|
39216
39264
|
}],
|
|
39265
|
+
"ptz.captureHomeHere": [{
|
|
39266
|
+
name: "deviceId",
|
|
39267
|
+
form: "single",
|
|
39268
|
+
optional: false
|
|
39269
|
+
}],
|
|
39217
39270
|
"ptz.continuousMove": [{
|
|
39218
39271
|
name: "deviceId",
|
|
39219
39272
|
form: "single",
|
|
@@ -39229,6 +39282,11 @@ Object.freeze({
|
|
|
39229
39282
|
form: "single",
|
|
39230
39283
|
optional: false
|
|
39231
39284
|
}],
|
|
39285
|
+
"ptz.getHomeReturn": [{
|
|
39286
|
+
name: "deviceId",
|
|
39287
|
+
form: "single",
|
|
39288
|
+
optional: false
|
|
39289
|
+
}],
|
|
39232
39290
|
"ptz.getOptions": [{
|
|
39233
39291
|
name: "deviceId",
|
|
39234
39292
|
form: "single",
|
|
@@ -39274,6 +39332,11 @@ Object.freeze({
|
|
|
39274
39332
|
form: "single",
|
|
39275
39333
|
optional: false
|
|
39276
39334
|
}],
|
|
39335
|
+
"ptz.setHomeReturn": [{
|
|
39336
|
+
name: "deviceId",
|
|
39337
|
+
form: "single",
|
|
39338
|
+
optional: false
|
|
39339
|
+
}],
|
|
39277
39340
|
"ptz.stop": [{
|
|
39278
39341
|
name: "deviceId",
|
|
39279
39342
|
form: "single",
|
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",
|