@camstack/addon-terminal 0.1.70 → 0.1.71
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/addon.js +13 -4
- package/dist/addon.mjs +13 -4
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -7644,7 +7644,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7644
7644
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7645
7645
|
"no-provider",
|
|
7646
7646
|
"source-unreachable",
|
|
7647
|
-
"not-configured"
|
|
7647
|
+
"not-configured",
|
|
7648
|
+
"device-disabled"
|
|
7648
7649
|
]);
|
|
7649
7650
|
/**
|
|
7650
7651
|
* One switch, resolved for one camera.
|
|
@@ -23742,12 +23743,20 @@ var BatteryStatusSchema = object({
|
|
|
23742
23743
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23743
23744
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23744
23745
|
* common on other battery cams). `'none'` means running on battery
|
|
23745
|
-
* alone.
|
|
23746
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23747
|
+
*
|
|
23748
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23749
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23750
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23751
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23752
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23753
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23746
23754
|
*/
|
|
23747
23755
|
charging: _enum([
|
|
23748
23756
|
"dc",
|
|
23749
23757
|
"solar",
|
|
23750
|
-
"none"
|
|
23758
|
+
"none",
|
|
23759
|
+
"unknown"
|
|
23751
23760
|
]),
|
|
23752
23761
|
/**
|
|
23753
23762
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
@@ -23837,7 +23846,7 @@ onStatusChanged: { data: object({
|
|
|
23837
23846
|
kind: "push",
|
|
23838
23847
|
empty: {
|
|
23839
23848
|
percentage: 0,
|
|
23840
|
-
charging: "
|
|
23849
|
+
charging: "unknown",
|
|
23841
23850
|
sleeping: false,
|
|
23842
23851
|
lastUpdated: 0
|
|
23843
23852
|
}
|
package/dist/addon.mjs
CHANGED
|
@@ -7621,7 +7621,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7621
7621
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7622
7622
|
"no-provider",
|
|
7623
7623
|
"source-unreachable",
|
|
7624
|
-
"not-configured"
|
|
7624
|
+
"not-configured",
|
|
7625
|
+
"device-disabled"
|
|
7625
7626
|
]);
|
|
7626
7627
|
/**
|
|
7627
7628
|
* One switch, resolved for one camera.
|
|
@@ -23719,12 +23720,20 @@ var BatteryStatusSchema = object({
|
|
|
23719
23720
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23720
23721
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23721
23722
|
* common on other battery cams). `'none'` means running on battery
|
|
23722
|
-
* alone.
|
|
23723
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23724
|
+
*
|
|
23725
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23726
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23727
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23728
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23729
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23730
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23723
23731
|
*/
|
|
23724
23732
|
charging: _enum([
|
|
23725
23733
|
"dc",
|
|
23726
23734
|
"solar",
|
|
23727
|
-
"none"
|
|
23735
|
+
"none",
|
|
23736
|
+
"unknown"
|
|
23728
23737
|
]),
|
|
23729
23738
|
/**
|
|
23730
23739
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
@@ -23814,7 +23823,7 @@ onStatusChanged: { data: object({
|
|
|
23814
23823
|
kind: "push",
|
|
23815
23824
|
empty: {
|
|
23816
23825
|
percentage: 0,
|
|
23817
|
-
charging: "
|
|
23826
|
+
charging: "unknown",
|
|
23818
23827
|
sleeping: false,
|
|
23819
23828
|
lastUpdated: 0
|
|
23820
23829
|
}
|