@camstack/addon-agent-ui 1.2.69 → 1.2.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/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -7556,7 +7556,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7556
7556
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7557
7557
|
"no-provider",
|
|
7558
7558
|
"source-unreachable",
|
|
7559
|
-
"not-configured"
|
|
7559
|
+
"not-configured",
|
|
7560
|
+
"device-disabled"
|
|
7560
7561
|
]);
|
|
7561
7562
|
/**
|
|
7562
7563
|
* One switch, resolved for one camera.
|
|
@@ -23079,12 +23080,20 @@ var BatteryStatusSchema = object({
|
|
|
23079
23080
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23080
23081
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23081
23082
|
* common on other battery cams). `'none'` means running on battery
|
|
23082
|
-
* alone.
|
|
23083
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23084
|
+
*
|
|
23085
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23086
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23087
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23088
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23089
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23090
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23083
23091
|
*/
|
|
23084
23092
|
charging: _enum([
|
|
23085
23093
|
"dc",
|
|
23086
23094
|
"solar",
|
|
23087
|
-
"none"
|
|
23095
|
+
"none",
|
|
23096
|
+
"unknown"
|
|
23088
23097
|
]),
|
|
23089
23098
|
/**
|
|
23090
23099
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
@@ -37406,7 +37415,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
37406
37415
|
capability: adminUiCapability,
|
|
37407
37416
|
provider: {
|
|
37408
37417
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
37409
|
-
getVersion: async () => ({ version: "1.2.
|
|
37418
|
+
getVersion: async () => ({ version: "1.2.71" })
|
|
37410
37419
|
}
|
|
37411
37420
|
}];
|
|
37412
37421
|
}
|