@camstack/addon-mqtt-broker 1.2.64 → 1.2.66
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 +18 -4
- package/dist/mqtt-broker.addon.mjs +18 -4
- package/package.json +1 -1
|
@@ -7582,7 +7582,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7582
7582
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7583
7583
|
"no-provider",
|
|
7584
7584
|
"source-unreachable",
|
|
7585
|
-
"not-configured"
|
|
7585
|
+
"not-configured",
|
|
7586
|
+
"device-disabled"
|
|
7586
7587
|
]);
|
|
7587
7588
|
/**
|
|
7588
7589
|
* One switch, resolved for one camera.
|
|
@@ -12831,7 +12832,12 @@ var ConfigEntrySchema = object({
|
|
|
12831
12832
|
value: unknown(),
|
|
12832
12833
|
description: string().optional()
|
|
12833
12834
|
});
|
|
12834
|
-
|
|
12835
|
+
/**
|
|
12836
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
12837
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
12838
|
+
* drop it once no shipped client reads `mode`.
|
|
12839
|
+
*/
|
|
12840
|
+
var LinkedDevicesModeSchema = _enum(["manual"]);
|
|
12835
12841
|
/** One resolved linked device — the compact projection consumers need. */
|
|
12836
12842
|
var LinkedDeviceSchema = object({
|
|
12837
12843
|
deviceId: number(),
|
|
@@ -23168,12 +23174,20 @@ var BatteryStatusSchema = object({
|
|
|
23168
23174
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23169
23175
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23170
23176
|
* common on other battery cams). `'none'` means running on battery
|
|
23171
|
-
* alone.
|
|
23177
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23178
|
+
*
|
|
23179
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23180
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23181
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23182
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23183
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23184
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23172
23185
|
*/
|
|
23173
23186
|
charging: _enum([
|
|
23174
23187
|
"dc",
|
|
23175
23188
|
"solar",
|
|
23176
|
-
"none"
|
|
23189
|
+
"none",
|
|
23190
|
+
"unknown"
|
|
23177
23191
|
]),
|
|
23178
23192
|
/**
|
|
23179
23193
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
@@ -7577,7 +7577,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7577
7577
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7578
7578
|
"no-provider",
|
|
7579
7579
|
"source-unreachable",
|
|
7580
|
-
"not-configured"
|
|
7580
|
+
"not-configured",
|
|
7581
|
+
"device-disabled"
|
|
7581
7582
|
]);
|
|
7582
7583
|
/**
|
|
7583
7584
|
* One switch, resolved for one camera.
|
|
@@ -12826,7 +12827,12 @@ var ConfigEntrySchema = object({
|
|
|
12826
12827
|
value: unknown(),
|
|
12827
12828
|
description: string().optional()
|
|
12828
12829
|
});
|
|
12829
|
-
|
|
12830
|
+
/**
|
|
12831
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
12832
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
12833
|
+
* drop it once no shipped client reads `mode`.
|
|
12834
|
+
*/
|
|
12835
|
+
var LinkedDevicesModeSchema = _enum(["manual"]);
|
|
12830
12836
|
/** One resolved linked device — the compact projection consumers need. */
|
|
12831
12837
|
var LinkedDeviceSchema = object({
|
|
12832
12838
|
deviceId: number(),
|
|
@@ -23163,12 +23169,20 @@ var BatteryStatusSchema = object({
|
|
|
23163
23169
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23164
23170
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23165
23171
|
* common on other battery cams). `'none'` means running on battery
|
|
23166
|
-
* alone.
|
|
23172
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23173
|
+
*
|
|
23174
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23175
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23176
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23177
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23178
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23179
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23167
23180
|
*/
|
|
23168
23181
|
charging: _enum([
|
|
23169
23182
|
"dc",
|
|
23170
23183
|
"solar",
|
|
23171
|
-
"none"
|
|
23184
|
+
"none",
|
|
23185
|
+
"unknown"
|
|
23172
23186
|
]),
|
|
23173
23187
|
/**
|
|
23174
23188
|
* True when the camera firmware has gone into low-power mode. Battery
|
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.66",
|
|
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",
|