@camstack/addon-tailscale 1.2.112 → 1.2.113
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-hh5BU3VH.mjs → dist-BU3Zv12X.mjs} +27 -6
- package/dist/{dist-gpHMMfYp.js → dist-QU6Z21ZC.js} +27 -6
- 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-QU6Z21ZC.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-BU3Zv12X.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";
|
|
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
|
|
|
5359
5359
|
var ZodFirstPartyTypeKind;
|
|
5360
5360
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5361
5361
|
//#endregion
|
|
5362
|
-
//#region ../types/dist/sleep-
|
|
5362
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5363
5363
|
/**
|
|
5364
5364
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5365
5365
|
* window to float samples (D455).
|
|
@@ -28957,6 +28957,26 @@ var PtzHomePresetSchema = object({
|
|
|
28957
28957
|
"none"
|
|
28958
28958
|
])
|
|
28959
28959
|
});
|
|
28960
|
+
/**
|
|
28961
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
28962
|
+
* after how long.
|
|
28963
|
+
*
|
|
28964
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
28965
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
28966
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
28967
|
+
* can disagree.
|
|
28968
|
+
*
|
|
28969
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
28970
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
28971
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
28972
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
28973
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
28974
|
+
* return at all.
|
|
28975
|
+
*/
|
|
28976
|
+
var PtzHomeReturnSchema = object({
|
|
28977
|
+
enabled: boolean(),
|
|
28978
|
+
seconds: number().int()
|
|
28979
|
+
});
|
|
28960
28980
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
28961
28981
|
deviceId: number(),
|
|
28962
28982
|
presetId: string()
|
|
@@ -28982,8 +29002,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
28982
29002
|
}), method(object({ deviceId: number() }), _void(), {
|
|
28983
29003
|
kind: "mutation",
|
|
28984
29004
|
auth: "admin"
|
|
28985
|
-
}), method(object({ deviceId: number() }),
|
|
29005
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
28986
29006
|
deviceId: number(),
|
|
29007
|
+
enabled: boolean(),
|
|
28987
29008
|
seconds: number().int().min(0).max(3600)
|
|
28988
29009
|
}), _void(), {
|
|
28989
29010
|
kind: "mutation",
|
|
@@ -36015,7 +36036,7 @@ Object.freeze({
|
|
|
36015
36036
|
addonId: null,
|
|
36016
36037
|
access: "view"
|
|
36017
36038
|
},
|
|
36018
|
-
"ptz.
|
|
36039
|
+
"ptz.getHomeReturn": {
|
|
36019
36040
|
capName: "ptz",
|
|
36020
36041
|
capScope: "device",
|
|
36021
36042
|
addonId: null,
|
|
@@ -36075,7 +36096,7 @@ Object.freeze({
|
|
|
36075
36096
|
addonId: null,
|
|
36076
36097
|
access: "create"
|
|
36077
36098
|
},
|
|
36078
|
-
"ptz.
|
|
36099
|
+
"ptz.setHomeReturn": {
|
|
36079
36100
|
capName: "ptz",
|
|
36080
36101
|
capScope: "device",
|
|
36081
36102
|
addonId: null,
|
|
@@ -39264,7 +39285,7 @@ Object.freeze({
|
|
|
39264
39285
|
form: "single",
|
|
39265
39286
|
optional: false
|
|
39266
39287
|
}],
|
|
39267
|
-
"ptz.
|
|
39288
|
+
"ptz.getHomeReturn": [{
|
|
39268
39289
|
name: "deviceId",
|
|
39269
39290
|
form: "single",
|
|
39270
39291
|
optional: false
|
|
@@ -39314,7 +39335,7 @@ Object.freeze({
|
|
|
39314
39335
|
form: "single",
|
|
39315
39336
|
optional: false
|
|
39316
39337
|
}],
|
|
39317
|
-
"ptz.
|
|
39338
|
+
"ptz.setHomeReturn": [{
|
|
39318
39339
|
name: "deviceId",
|
|
39319
39340
|
form: "single",
|
|
39320
39341
|
optional: false
|
|
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
|
|
|
5359
5359
|
var ZodFirstPartyTypeKind;
|
|
5360
5360
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5361
5361
|
//#endregion
|
|
5362
|
-
//#region ../types/dist/sleep-
|
|
5362
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5363
5363
|
/**
|
|
5364
5364
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5365
5365
|
* window to float samples (D455).
|
|
@@ -28957,6 +28957,26 @@ var PtzHomePresetSchema = object({
|
|
|
28957
28957
|
"none"
|
|
28958
28958
|
])
|
|
28959
28959
|
});
|
|
28960
|
+
/**
|
|
28961
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
28962
|
+
* after how long.
|
|
28963
|
+
*
|
|
28964
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
28965
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
28966
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
28967
|
+
* can disagree.
|
|
28968
|
+
*
|
|
28969
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
28970
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
28971
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
28972
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
28973
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
28974
|
+
* return at all.
|
|
28975
|
+
*/
|
|
28976
|
+
var PtzHomeReturnSchema = object({
|
|
28977
|
+
enabled: boolean(),
|
|
28978
|
+
seconds: number().int()
|
|
28979
|
+
});
|
|
28960
28980
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
28961
28981
|
deviceId: number(),
|
|
28962
28982
|
presetId: string()
|
|
@@ -28982,8 +29002,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
28982
29002
|
}), method(object({ deviceId: number() }), _void(), {
|
|
28983
29003
|
kind: "mutation",
|
|
28984
29004
|
auth: "admin"
|
|
28985
|
-
}), method(object({ deviceId: number() }),
|
|
29005
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
28986
29006
|
deviceId: number(),
|
|
29007
|
+
enabled: boolean(),
|
|
28987
29008
|
seconds: number().int().min(0).max(3600)
|
|
28988
29009
|
}), _void(), {
|
|
28989
29010
|
kind: "mutation",
|
|
@@ -36015,7 +36036,7 @@ Object.freeze({
|
|
|
36015
36036
|
addonId: null,
|
|
36016
36037
|
access: "view"
|
|
36017
36038
|
},
|
|
36018
|
-
"ptz.
|
|
36039
|
+
"ptz.getHomeReturn": {
|
|
36019
36040
|
capName: "ptz",
|
|
36020
36041
|
capScope: "device",
|
|
36021
36042
|
addonId: null,
|
|
@@ -36075,7 +36096,7 @@ Object.freeze({
|
|
|
36075
36096
|
addonId: null,
|
|
36076
36097
|
access: "create"
|
|
36077
36098
|
},
|
|
36078
|
-
"ptz.
|
|
36099
|
+
"ptz.setHomeReturn": {
|
|
36079
36100
|
capName: "ptz",
|
|
36080
36101
|
capScope: "device",
|
|
36081
36102
|
addonId: null,
|
|
@@ -39264,7 +39285,7 @@ Object.freeze({
|
|
|
39264
39285
|
form: "single",
|
|
39265
39286
|
optional: false
|
|
39266
39287
|
}],
|
|
39267
|
-
"ptz.
|
|
39288
|
+
"ptz.getHomeReturn": [{
|
|
39268
39289
|
name: "deviceId",
|
|
39269
39290
|
form: "single",
|
|
39270
39291
|
optional: false
|
|
@@ -39314,7 +39335,7 @@ Object.freeze({
|
|
|
39314
39335
|
form: "single",
|
|
39315
39336
|
optional: false
|
|
39316
39337
|
}],
|
|
39317
|
-
"ptz.
|
|
39338
|
+
"ptz.setHomeReturn": [{
|
|
39318
39339
|
name: "deviceId",
|
|
39319
39340
|
form: "single",
|
|
39320
39341
|
optional: false
|
|
@@ -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-QU6Z21ZC.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-BU3Zv12X.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.113",
|
|
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",
|