@camstack/addon-mqtt-broker 1.2.57 → 1.2.58
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 +30 -3
- package/dist/mqtt-broker.addon.mjs +30 -3
- package/package.json +1 -1
|
@@ -18938,7 +18938,20 @@ var RecentTracksQueryInput = object({
|
|
|
18938
18938
|
projection: TrackProjectionSchema.optional(),
|
|
18939
18939
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18940
18940
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18941
|
-
includeStationary: boolean().optional()
|
|
18941
|
+
includeStationary: boolean().optional(),
|
|
18942
|
+
/**
|
|
18943
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18944
|
+
*
|
|
18945
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18946
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18947
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18948
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18949
|
+
*
|
|
18950
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18951
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18952
|
+
* exact one.
|
|
18953
|
+
*/
|
|
18954
|
+
classes: array(string()).optional()
|
|
18942
18955
|
});
|
|
18943
18956
|
var RecentTracksPageSchema = object({
|
|
18944
18957
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -22976,8 +22989,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
22976
22989
|
* threshold.
|
|
22977
22990
|
*/
|
|
22978
22991
|
var BatteryStatusSchema = object({
|
|
22979
|
-
/**
|
|
22980
|
-
|
|
22992
|
+
/**
|
|
22993
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
22994
|
+
* provider has registered the capability but no reading has landed.
|
|
22995
|
+
*
|
|
22996
|
+
* It is nullable because it was not, and the only value a provider could
|
|
22997
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
22998
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
22999
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23000
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23001
|
+
* reading the difference is an alarm.
|
|
23002
|
+
*
|
|
23003
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23004
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23005
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23006
|
+
*/
|
|
23007
|
+
percentage: number().min(0).max(100).nullable(),
|
|
22981
23008
|
/**
|
|
22982
23009
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
22983
23010
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -18933,7 +18933,20 @@ var RecentTracksQueryInput = object({
|
|
|
18933
18933
|
projection: TrackProjectionSchema.optional(),
|
|
18934
18934
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18935
18935
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18936
|
-
includeStationary: boolean().optional()
|
|
18936
|
+
includeStationary: boolean().optional(),
|
|
18937
|
+
/**
|
|
18938
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18939
|
+
*
|
|
18940
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18941
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18942
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18943
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18944
|
+
*
|
|
18945
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18946
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18947
|
+
* exact one.
|
|
18948
|
+
*/
|
|
18949
|
+
classes: array(string()).optional()
|
|
18937
18950
|
});
|
|
18938
18951
|
var RecentTracksPageSchema = object({
|
|
18939
18952
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -22971,8 +22984,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
22971
22984
|
* threshold.
|
|
22972
22985
|
*/
|
|
22973
22986
|
var BatteryStatusSchema = object({
|
|
22974
|
-
/**
|
|
22975
|
-
|
|
22987
|
+
/**
|
|
22988
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
22989
|
+
* provider has registered the capability but no reading has landed.
|
|
22990
|
+
*
|
|
22991
|
+
* It is nullable because it was not, and the only value a provider could
|
|
22992
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
22993
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
22994
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
22995
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
22996
|
+
* reading the difference is an alarm.
|
|
22997
|
+
*
|
|
22998
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
22999
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23000
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23001
|
+
*/
|
|
23002
|
+
percentage: number().min(0).max(100).nullable(),
|
|
22976
23003
|
/**
|
|
22977
23004
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
22978
23005
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
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.58",
|
|
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",
|