@camstack/addon-tailscale 1.2.111 → 1.2.112

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.
@@ -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-uDXws1yw.js");
27
+ const require_dist = require("../dist-gpHMMfYp.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-B0V6gFgL.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-hh5BU3VH.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-B1y0Fo1U.mjs
5362
+ //#region ../types/dist/sleep-vl6nBE8d.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).
@@ -28979,6 +28979,15 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
28979
28979
  }), _void(), {
28980
28980
  kind: "mutation",
28981
28981
  auth: "admin"
28982
+ }), method(object({ deviceId: number() }), _void(), {
28983
+ kind: "mutation",
28984
+ auth: "admin"
28985
+ }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
28986
+ deviceId: number(),
28987
+ seconds: number().int().min(0).max(3600)
28988
+ }), _void(), {
28989
+ kind: "mutation",
28990
+ auth: "admin"
28982
28991
  }), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
28983
28992
  deviceId: number(),
28984
28993
  enabled: boolean()
@@ -35982,6 +35991,12 @@ Object.freeze({
35982
35991
  addonId: null,
35983
35992
  access: "create"
35984
35993
  },
35994
+ "ptz.captureHomeHere": {
35995
+ capName: "ptz",
35996
+ capScope: "device",
35997
+ addonId: null,
35998
+ access: "create"
35999
+ },
35985
36000
  "ptz.continuousMove": {
35986
36001
  capName: "ptz",
35987
36002
  capScope: "device",
@@ -36000,6 +36015,12 @@ Object.freeze({
36000
36015
  addonId: null,
36001
36016
  access: "view"
36002
36017
  },
36018
+ "ptz.getHomeReturnSeconds": {
36019
+ capName: "ptz",
36020
+ capScope: "device",
36021
+ addonId: null,
36022
+ access: "view"
36023
+ },
36003
36024
  "ptz.getOptions": {
36004
36025
  capName: "ptz",
36005
36026
  capScope: "device",
@@ -36054,6 +36075,12 @@ Object.freeze({
36054
36075
  addonId: null,
36055
36076
  access: "create"
36056
36077
  },
36078
+ "ptz.setHomeReturnSeconds": {
36079
+ capName: "ptz",
36080
+ capScope: "device",
36081
+ addonId: null,
36082
+ access: "create"
36083
+ },
36057
36084
  "ptz.stop": {
36058
36085
  capName: "ptz",
36059
36086
  capScope: "device",
@@ -39217,6 +39244,11 @@ Object.freeze({
39217
39244
  form: "single",
39218
39245
  optional: false
39219
39246
  }],
39247
+ "ptz.captureHomeHere": [{
39248
+ name: "deviceId",
39249
+ form: "single",
39250
+ optional: false
39251
+ }],
39220
39252
  "ptz.continuousMove": [{
39221
39253
  name: "deviceId",
39222
39254
  form: "single",
@@ -39232,6 +39264,11 @@ Object.freeze({
39232
39264
  form: "single",
39233
39265
  optional: false
39234
39266
  }],
39267
+ "ptz.getHomeReturnSeconds": [{
39268
+ name: "deviceId",
39269
+ form: "single",
39270
+ optional: false
39271
+ }],
39235
39272
  "ptz.getOptions": [{
39236
39273
  name: "deviceId",
39237
39274
  form: "single",
@@ -39277,6 +39314,11 @@ Object.freeze({
39277
39314
  form: "single",
39278
39315
  optional: false
39279
39316
  }],
39317
+ "ptz.setHomeReturnSeconds": [{
39318
+ name: "deviceId",
39319
+ form: "single",
39320
+ optional: false
39321
+ }],
39280
39322
  "ptz.stop": [{
39281
39323
  name: "deviceId",
39282
39324
  form: "single",
@@ -5359,7 +5359,7 @@ var ZodIssueCode = {
5359
5359
  var ZodFirstPartyTypeKind;
5360
5360
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5361
5361
  //#endregion
5362
- //#region ../types/dist/sleep-B1y0Fo1U.mjs
5362
+ //#region ../types/dist/sleep-vl6nBE8d.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).
@@ -28979,6 +28979,15 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
28979
28979
  }), _void(), {
28980
28980
  kind: "mutation",
28981
28981
  auth: "admin"
28982
+ }), method(object({ deviceId: number() }), _void(), {
28983
+ kind: "mutation",
28984
+ auth: "admin"
28985
+ }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
28986
+ deviceId: number(),
28987
+ seconds: number().int().min(0).max(3600)
28988
+ }), _void(), {
28989
+ kind: "mutation",
28990
+ auth: "admin"
28982
28991
  }), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
28983
28992
  deviceId: number(),
28984
28993
  enabled: boolean()
@@ -35982,6 +35991,12 @@ Object.freeze({
35982
35991
  addonId: null,
35983
35992
  access: "create"
35984
35993
  },
35994
+ "ptz.captureHomeHere": {
35995
+ capName: "ptz",
35996
+ capScope: "device",
35997
+ addonId: null,
35998
+ access: "create"
35999
+ },
35985
36000
  "ptz.continuousMove": {
35986
36001
  capName: "ptz",
35987
36002
  capScope: "device",
@@ -36000,6 +36015,12 @@ Object.freeze({
36000
36015
  addonId: null,
36001
36016
  access: "view"
36002
36017
  },
36018
+ "ptz.getHomeReturnSeconds": {
36019
+ capName: "ptz",
36020
+ capScope: "device",
36021
+ addonId: null,
36022
+ access: "view"
36023
+ },
36003
36024
  "ptz.getOptions": {
36004
36025
  capName: "ptz",
36005
36026
  capScope: "device",
@@ -36054,6 +36075,12 @@ Object.freeze({
36054
36075
  addonId: null,
36055
36076
  access: "create"
36056
36077
  },
36078
+ "ptz.setHomeReturnSeconds": {
36079
+ capName: "ptz",
36080
+ capScope: "device",
36081
+ addonId: null,
36082
+ access: "create"
36083
+ },
36057
36084
  "ptz.stop": {
36058
36085
  capName: "ptz",
36059
36086
  capScope: "device",
@@ -39217,6 +39244,11 @@ Object.freeze({
39217
39244
  form: "single",
39218
39245
  optional: false
39219
39246
  }],
39247
+ "ptz.captureHomeHere": [{
39248
+ name: "deviceId",
39249
+ form: "single",
39250
+ optional: false
39251
+ }],
39220
39252
  "ptz.continuousMove": [{
39221
39253
  name: "deviceId",
39222
39254
  form: "single",
@@ -39232,6 +39264,11 @@ Object.freeze({
39232
39264
  form: "single",
39233
39265
  optional: false
39234
39266
  }],
39267
+ "ptz.getHomeReturnSeconds": [{
39268
+ name: "deviceId",
39269
+ form: "single",
39270
+ optional: false
39271
+ }],
39235
39272
  "ptz.getOptions": [{
39236
39273
  name: "deviceId",
39237
39274
  form: "single",
@@ -39277,6 +39314,11 @@ Object.freeze({
39277
39314
  form: "single",
39278
39315
  optional: false
39279
39316
  }],
39317
+ "ptz.setHomeReturnSeconds": [{
39318
+ name: "deviceId",
39319
+ form: "single",
39320
+ optional: false
39321
+ }],
39280
39322
  "ptz.stop": [{
39281
39323
  name: "deviceId",
39282
39324
  form: "single",
@@ -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-uDXws1yw.js");
5
+ const require_dist = require("../dist-gpHMMfYp.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-B0V6gFgL.mjs";
1
+ import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-hh5BU3VH.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.111",
3
+ "version": "1.2.112",
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",