@camstack/addon-decoder-nodeav 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/index.js +18 -4
- package/dist/index.mjs +18 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7553,7 +7553,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7553
7553
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7554
7554
|
"no-provider",
|
|
7555
7555
|
"source-unreachable",
|
|
7556
|
-
"not-configured"
|
|
7556
|
+
"not-configured",
|
|
7557
|
+
"device-disabled"
|
|
7557
7558
|
]);
|
|
7558
7559
|
/**
|
|
7559
7560
|
* One switch, resolved for one camera.
|
|
@@ -12883,7 +12884,12 @@ var ConfigEntrySchema = object({
|
|
|
12883
12884
|
value: unknown(),
|
|
12884
12885
|
description: string().optional()
|
|
12885
12886
|
});
|
|
12886
|
-
|
|
12887
|
+
/**
|
|
12888
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
12889
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
12890
|
+
* drop it once no shipped client reads `mode`.
|
|
12891
|
+
*/
|
|
12892
|
+
var LinkedDevicesModeSchema = _enum(["manual"]);
|
|
12887
12893
|
/** One resolved linked device — the compact projection consumers need. */
|
|
12888
12894
|
var LinkedDeviceSchema = object({
|
|
12889
12895
|
deviceId: number(),
|
|
@@ -23201,12 +23207,20 @@ var BatteryStatusSchema = object({
|
|
|
23201
23207
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23202
23208
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23203
23209
|
* common on other battery cams). `'none'` means running on battery
|
|
23204
|
-
* alone.
|
|
23210
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23211
|
+
*
|
|
23212
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23213
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23214
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23215
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23216
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23217
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23205
23218
|
*/
|
|
23206
23219
|
charging: _enum([
|
|
23207
23220
|
"dc",
|
|
23208
23221
|
"solar",
|
|
23209
|
-
"none"
|
|
23222
|
+
"none",
|
|
23223
|
+
"unknown"
|
|
23210
23224
|
]),
|
|
23211
23225
|
/**
|
|
23212
23226
|
* True when the camera firmware has gone into low-power mode. Battery
|
package/dist/index.mjs
CHANGED
|
@@ -7549,7 +7549,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7549
7549
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7550
7550
|
"no-provider",
|
|
7551
7551
|
"source-unreachable",
|
|
7552
|
-
"not-configured"
|
|
7552
|
+
"not-configured",
|
|
7553
|
+
"device-disabled"
|
|
7553
7554
|
]);
|
|
7554
7555
|
/**
|
|
7555
7556
|
* One switch, resolved for one camera.
|
|
@@ -12879,7 +12880,12 @@ var ConfigEntrySchema = object({
|
|
|
12879
12880
|
value: unknown(),
|
|
12880
12881
|
description: string().optional()
|
|
12881
12882
|
});
|
|
12882
|
-
|
|
12883
|
+
/**
|
|
12884
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
12885
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
12886
|
+
* drop it once no shipped client reads `mode`.
|
|
12887
|
+
*/
|
|
12888
|
+
var LinkedDevicesModeSchema = _enum(["manual"]);
|
|
12883
12889
|
/** One resolved linked device — the compact projection consumers need. */
|
|
12884
12890
|
var LinkedDeviceSchema = object({
|
|
12885
12891
|
deviceId: number(),
|
|
@@ -23197,12 +23203,20 @@ var BatteryStatusSchema = object({
|
|
|
23197
23203
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23198
23204
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23199
23205
|
* common on other battery cams). `'none'` means running on battery
|
|
23200
|
-
* alone.
|
|
23206
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23207
|
+
*
|
|
23208
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23209
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23210
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23211
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23212
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23213
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23201
23214
|
*/
|
|
23202
23215
|
charging: _enum([
|
|
23203
23216
|
"dc",
|
|
23204
23217
|
"solar",
|
|
23205
|
-
"none"
|
|
23218
|
+
"none",
|
|
23219
|
+
"unknown"
|
|
23206
23220
|
]),
|
|
23207
23221
|
/**
|
|
23208
23222
|
* True when the camera firmware has gone into low-power mode. Battery
|