@camstack/addon-tailscale 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/client/tailscale.addon.js +1 -1
- package/dist/client/tailscale.addon.mjs +1 -1
- package/dist/{dist-DnnREw4Z.js → dist-BZ74BNhY.js} +30 -3
- package/dist/{dist-hjZ5e2qy.mjs → dist-DAMnpDgL.mjs} +30 -3
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
|
-
const require_dist = require("../dist-
|
|
27
|
+
const require_dist = require("../dist-BZ74BNhY.js");
|
|
28
28
|
let node_child_process = require("node:child_process");
|
|
29
29
|
let node_util = require("node:util");
|
|
30
30
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-DAMnpDgL.mjs";
|
|
2
2
|
import { execFile, spawn } from "node:child_process";
|
|
3
3
|
import { promisify } from "node:util";
|
|
4
4
|
import * as fs from "node:fs";
|
|
@@ -18875,7 +18875,20 @@ var RecentTracksQueryInput = object({
|
|
|
18875
18875
|
projection: TrackProjectionSchema.optional(),
|
|
18876
18876
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18877
18877
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18878
|
-
includeStationary: boolean().optional()
|
|
18878
|
+
includeStationary: boolean().optional(),
|
|
18879
|
+
/**
|
|
18880
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18881
|
+
*
|
|
18882
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18883
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18884
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18885
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18886
|
+
*
|
|
18887
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18888
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18889
|
+
* exact one.
|
|
18890
|
+
*/
|
|
18891
|
+
classes: array(string()).optional()
|
|
18879
18892
|
});
|
|
18880
18893
|
var RecentTracksPageSchema = object({
|
|
18881
18894
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -22913,8 +22926,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
22913
22926
|
* threshold.
|
|
22914
22927
|
*/
|
|
22915
22928
|
var BatteryStatusSchema = object({
|
|
22916
|
-
/**
|
|
22917
|
-
|
|
22929
|
+
/**
|
|
22930
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
22931
|
+
* provider has registered the capability but no reading has landed.
|
|
22932
|
+
*
|
|
22933
|
+
* It is nullable because it was not, and the only value a provider could
|
|
22934
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
22935
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
22936
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
22937
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
22938
|
+
* reading the difference is an alarm.
|
|
22939
|
+
*
|
|
22940
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
22941
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
22942
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
22943
|
+
*/
|
|
22944
|
+
percentage: number().min(0).max(100).nullable(),
|
|
22918
22945
|
/**
|
|
22919
22946
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
22920
22947
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -18875,7 +18875,20 @@ var RecentTracksQueryInput = object({
|
|
|
18875
18875
|
projection: TrackProjectionSchema.optional(),
|
|
18876
18876
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18877
18877
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18878
|
-
includeStationary: boolean().optional()
|
|
18878
|
+
includeStationary: boolean().optional(),
|
|
18879
|
+
/**
|
|
18880
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18881
|
+
*
|
|
18882
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18883
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18884
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18885
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18886
|
+
*
|
|
18887
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18888
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18889
|
+
* exact one.
|
|
18890
|
+
*/
|
|
18891
|
+
classes: array(string()).optional()
|
|
18879
18892
|
});
|
|
18880
18893
|
var RecentTracksPageSchema = object({
|
|
18881
18894
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -22913,8 +22926,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
22913
22926
|
* threshold.
|
|
22914
22927
|
*/
|
|
22915
22928
|
var BatteryStatusSchema = object({
|
|
22916
|
-
/**
|
|
22917
|
-
|
|
22929
|
+
/**
|
|
22930
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
22931
|
+
* provider has registered the capability but no reading has landed.
|
|
22932
|
+
*
|
|
22933
|
+
* It is nullable because it was not, and the only value a provider could
|
|
22934
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
22935
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
22936
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
22937
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
22938
|
+
* reading the difference is an alarm.
|
|
22939
|
+
*
|
|
22940
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
22941
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
22942
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
22943
|
+
*/
|
|
22944
|
+
percentage: number().min(0).max(100).nullable(),
|
|
22918
22945
|
/**
|
|
22919
22946
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
22920
22947
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-BZ74BNhY.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_child_process = require("node:child_process");
|
|
8
8
|
//#region src/ingress/tailscale-cli.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-DAMnpDgL.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { execFile } from "node:child_process";
|
|
4
4
|
import { promisify } from "node:util";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-tailscale",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.58",
|
|
4
4
|
"description": "Tailscale bundle for CamStack — joins the host to a tailnet (client) and exposes the hub via Serve/Funnel (ingress). Multi-entry npm package shipping 2 addons under a single bundle.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|