@camstack/addon-tailscale 1.2.92 → 1.2.93
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-CQfYIy9j.js → dist-CTEYUMoP.js} +41 -4
- package/dist/{dist-Cv5sAvrW.mjs → dist-DhBYDSGp.mjs} +41 -4
- 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-CTEYUMoP.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-DhBYDSGp.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";
|
|
@@ -19581,7 +19581,17 @@ var EventDensityBucketSchema = object({
|
|
|
19581
19581
|
bucketStart: number(),
|
|
19582
19582
|
motion: number().int(),
|
|
19583
19583
|
object: number().int(),
|
|
19584
|
-
audio: number().int()
|
|
19584
|
+
audio: number().int(),
|
|
19585
|
+
/**
|
|
19586
|
+
* Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
|
|
19587
|
+
* as opposed to `audio`, which is their COUNT (D431).
|
|
19588
|
+
*
|
|
19589
|
+
* ABSENT when the bucket holds no audio event. Absence means "nothing was
|
|
19590
|
+
* measured", which is not the same claim as silence, and a lane that cannot
|
|
19591
|
+
* tell them apart paints a quiet hour at full scale — which is exactly what
|
|
19592
|
+
* the count-on-a-level-meter did.
|
|
19593
|
+
*/
|
|
19594
|
+
audioDbfs: number().optional()
|
|
19585
19595
|
});
|
|
19586
19596
|
/**
|
|
19587
19597
|
* One camera's row in a `getEventDensityBatch` answer.
|
|
@@ -27809,7 +27819,23 @@ var RecordingRangeSchema = object({
|
|
|
27809
27819
|
});
|
|
27810
27820
|
var RecordingAvailabilitySchema = object({
|
|
27811
27821
|
deviceId: number(),
|
|
27812
|
-
ranges: array(RecordingRangeSchema)
|
|
27822
|
+
ranges: array(RecordingRangeSchema),
|
|
27823
|
+
/**
|
|
27824
|
+
* Every profile this camera has footage in — not only the one `ranges`
|
|
27825
|
+
* describes (D433).
|
|
27826
|
+
*
|
|
27827
|
+
* `ranges` answers for ONE profile by design: the timeline is a single bar,
|
|
27828
|
+
* and enumerating all of them triples the directory reads for a bar that
|
|
27829
|
+
* would look identical. But the answer used to say nothing about that, so a
|
|
27830
|
+
* caller asking "what can I export?" read the single preferred profile as
|
|
27831
|
+
* the only one that exists — on this deployment every camera records `high`
|
|
27832
|
+
* AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
|
|
27833
|
+
* UI could not see it.
|
|
27834
|
+
*
|
|
27835
|
+
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
27836
|
+
* makes. Ask for a specific profile's ranges with the `profile` input.
|
|
27837
|
+
*/
|
|
27838
|
+
profilesWithFootage: array(string())
|
|
27813
27839
|
});
|
|
27814
27840
|
var RecordingDaysSchema = object({
|
|
27815
27841
|
deviceId: number(),
|
|
@@ -27835,7 +27861,11 @@ var RecordingDaysSchema = object({
|
|
|
27835
27861
|
var RecordingAvailabilityForDeviceSchema = object({
|
|
27836
27862
|
deviceId: number(),
|
|
27837
27863
|
read: _enum(["read", "unreadable"]),
|
|
27838
|
-
ranges: array(RecordingRangeSchema).readonly()
|
|
27864
|
+
ranges: array(RecordingRangeSchema).readonly(),
|
|
27865
|
+
/** Same field, same meaning, as the singular answer (D433). A row that
|
|
27866
|
+
* dropped it would tell a grid caller the archive holds one profile.
|
|
27867
|
+
* Empty on an `'unreadable'` row: nobody looked. */
|
|
27868
|
+
profilesWithFootage: array(string()).readonly()
|
|
27839
27869
|
});
|
|
27840
27870
|
/**
|
|
27841
27871
|
* One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
|
|
@@ -28125,7 +28155,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
|
|
|
28125
28155
|
method(object({
|
|
28126
28156
|
deviceId: number(),
|
|
28127
28157
|
fromMs: number(),
|
|
28128
|
-
toMs: number()
|
|
28158
|
+
toMs: number(),
|
|
28159
|
+
/**
|
|
28160
|
+
* Answer for THIS profile instead of the preferred one (D433). Absent
|
|
28161
|
+
* keeps the timeline's behaviour — one bar, one profile, one set of
|
|
28162
|
+
* reads. `profilesWithFootage` on the answer says what may be asked
|
|
28163
|
+
* for.
|
|
28164
|
+
*/
|
|
28165
|
+
profile: string().optional()
|
|
28129
28166
|
}), RecordingAvailabilitySchema, {
|
|
28130
28167
|
kind: "query",
|
|
28131
28168
|
auth: "protected"
|
|
@@ -19581,7 +19581,17 @@ var EventDensityBucketSchema = object({
|
|
|
19581
19581
|
bucketStart: number(),
|
|
19582
19582
|
motion: number().int(),
|
|
19583
19583
|
object: number().int(),
|
|
19584
|
-
audio: number().int()
|
|
19584
|
+
audio: number().int(),
|
|
19585
|
+
/**
|
|
19586
|
+
* Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
|
|
19587
|
+
* as opposed to `audio`, which is their COUNT (D431).
|
|
19588
|
+
*
|
|
19589
|
+
* ABSENT when the bucket holds no audio event. Absence means "nothing was
|
|
19590
|
+
* measured", which is not the same claim as silence, and a lane that cannot
|
|
19591
|
+
* tell them apart paints a quiet hour at full scale — which is exactly what
|
|
19592
|
+
* the count-on-a-level-meter did.
|
|
19593
|
+
*/
|
|
19594
|
+
audioDbfs: number().optional()
|
|
19585
19595
|
});
|
|
19586
19596
|
/**
|
|
19587
19597
|
* One camera's row in a `getEventDensityBatch` answer.
|
|
@@ -27809,7 +27819,23 @@ var RecordingRangeSchema = object({
|
|
|
27809
27819
|
});
|
|
27810
27820
|
var RecordingAvailabilitySchema = object({
|
|
27811
27821
|
deviceId: number(),
|
|
27812
|
-
ranges: array(RecordingRangeSchema)
|
|
27822
|
+
ranges: array(RecordingRangeSchema),
|
|
27823
|
+
/**
|
|
27824
|
+
* Every profile this camera has footage in — not only the one `ranges`
|
|
27825
|
+
* describes (D433).
|
|
27826
|
+
*
|
|
27827
|
+
* `ranges` answers for ONE profile by design: the timeline is a single bar,
|
|
27828
|
+
* and enumerating all of them triples the directory reads for a bar that
|
|
27829
|
+
* would look identical. But the answer used to say nothing about that, so a
|
|
27830
|
+
* caller asking "what can I export?" read the single preferred profile as
|
|
27831
|
+
* the only one that exists — on this deployment every camera records `high`
|
|
27832
|
+
* AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
|
|
27833
|
+
* UI could not see it.
|
|
27834
|
+
*
|
|
27835
|
+
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
27836
|
+
* makes. Ask for a specific profile's ranges with the `profile` input.
|
|
27837
|
+
*/
|
|
27838
|
+
profilesWithFootage: array(string())
|
|
27813
27839
|
});
|
|
27814
27840
|
var RecordingDaysSchema = object({
|
|
27815
27841
|
deviceId: number(),
|
|
@@ -27835,7 +27861,11 @@ var RecordingDaysSchema = object({
|
|
|
27835
27861
|
var RecordingAvailabilityForDeviceSchema = object({
|
|
27836
27862
|
deviceId: number(),
|
|
27837
27863
|
read: _enum(["read", "unreadable"]),
|
|
27838
|
-
ranges: array(RecordingRangeSchema).readonly()
|
|
27864
|
+
ranges: array(RecordingRangeSchema).readonly(),
|
|
27865
|
+
/** Same field, same meaning, as the singular answer (D433). A row that
|
|
27866
|
+
* dropped it would tell a grid caller the archive holds one profile.
|
|
27867
|
+
* Empty on an `'unreadable'` row: nobody looked. */
|
|
27868
|
+
profilesWithFootage: array(string()).readonly()
|
|
27839
27869
|
});
|
|
27840
27870
|
/**
|
|
27841
27871
|
* One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
|
|
@@ -28125,7 +28155,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
|
|
|
28125
28155
|
method(object({
|
|
28126
28156
|
deviceId: number(),
|
|
28127
28157
|
fromMs: number(),
|
|
28128
|
-
toMs: number()
|
|
28158
|
+
toMs: number(),
|
|
28159
|
+
/**
|
|
28160
|
+
* Answer for THIS profile instead of the preferred one (D433). Absent
|
|
28161
|
+
* keeps the timeline's behaviour — one bar, one profile, one set of
|
|
28162
|
+
* reads. `profilesWithFootage` on the answer says what may be asked
|
|
28163
|
+
* for.
|
|
28164
|
+
*/
|
|
28165
|
+
profile: string().optional()
|
|
28129
28166
|
}), RecordingAvailabilitySchema, {
|
|
28130
28167
|
kind: "query",
|
|
28131
28168
|
auth: "protected"
|
|
@@ -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-CTEYUMoP.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-DhBYDSGp.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.93",
|
|
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",
|