@camstack/addon-tailscale 1.2.104 → 1.2.106
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-CQ9xsWl-.mjs → dist-Cjjmvty_.mjs} +56 -0
- package/dist/{dist-CimxBsE_.js → dist-JNv_Bx6K.js} +56 -0
- 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-JNv_Bx6K.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-Cjjmvty_.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";
|
|
@@ -13258,6 +13258,43 @@ var ExposeInputSchema = object({
|
|
|
13258
13258
|
});
|
|
13259
13259
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13260
13260
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13261
|
+
/** Wire/storage schema for one icon id. */
|
|
13262
|
+
var LocationIconIdSchema = _enum([
|
|
13263
|
+
"map-pin",
|
|
13264
|
+
"house",
|
|
13265
|
+
"door-open",
|
|
13266
|
+
"sofa",
|
|
13267
|
+
"utensils",
|
|
13268
|
+
"bed-double",
|
|
13269
|
+
"bath",
|
|
13270
|
+
"briefcase",
|
|
13271
|
+
"car",
|
|
13272
|
+
"circle-parking",
|
|
13273
|
+
"route",
|
|
13274
|
+
"trees",
|
|
13275
|
+
"umbrella",
|
|
13276
|
+
"waves-ladder",
|
|
13277
|
+
"fence",
|
|
13278
|
+
"package",
|
|
13279
|
+
"warehouse",
|
|
13280
|
+
"store",
|
|
13281
|
+
"sun",
|
|
13282
|
+
"radar"
|
|
13283
|
+
]);
|
|
13284
|
+
/**
|
|
13285
|
+
* One (location, icon) assignment as it travels.
|
|
13286
|
+
*
|
|
13287
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13288
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13289
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13290
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13291
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13292
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13293
|
+
*/
|
|
13294
|
+
var LocationIconAssignmentSchema = object({
|
|
13295
|
+
locationKey: string(),
|
|
13296
|
+
icon: LocationIconIdSchema
|
|
13297
|
+
});
|
|
13261
13298
|
var ProviderStatusSchema = object({
|
|
13262
13299
|
connected: boolean(),
|
|
13263
13300
|
deviceCount: number(),
|
|
@@ -13769,6 +13806,12 @@ method(object({
|
|
|
13769
13806
|
}), object({ moved: number() }), {
|
|
13770
13807
|
kind: "mutation",
|
|
13771
13808
|
auth: "admin"
|
|
13809
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13810
|
+
location: string(),
|
|
13811
|
+
icon: LocationIconIdSchema.nullable()
|
|
13812
|
+
}), _void(), {
|
|
13813
|
+
kind: "mutation",
|
|
13814
|
+
auth: "admin"
|
|
13772
13815
|
}), method(object({
|
|
13773
13816
|
deviceId: number(),
|
|
13774
13817
|
disabled: boolean()
|
|
@@ -19682,6 +19725,7 @@ var MediaFileKindEnum = _enum([
|
|
|
19682
19725
|
"keyFrame",
|
|
19683
19726
|
"keyFrameSmall",
|
|
19684
19727
|
"thumbnailSmall",
|
|
19728
|
+
"confirmationCrop",
|
|
19685
19729
|
"sceneFrame"
|
|
19686
19730
|
]);
|
|
19687
19731
|
/**
|
|
@@ -32669,6 +32713,12 @@ Object.freeze({
|
|
|
32669
32713
|
addonId: null,
|
|
32670
32714
|
access: "view"
|
|
32671
32715
|
},
|
|
32716
|
+
"deviceManager.listLocationIcons": {
|
|
32717
|
+
capName: "device-manager",
|
|
32718
|
+
capScope: "system",
|
|
32719
|
+
addonId: null,
|
|
32720
|
+
access: "view"
|
|
32721
|
+
},
|
|
32672
32722
|
"deviceManager.listLocations": {
|
|
32673
32723
|
capName: "device-manager",
|
|
32674
32724
|
capScope: "system",
|
|
@@ -32813,6 +32863,12 @@ Object.freeze({
|
|
|
32813
32863
|
addonId: null,
|
|
32814
32864
|
access: "create"
|
|
32815
32865
|
},
|
|
32866
|
+
"deviceManager.setLocationIcon": {
|
|
32867
|
+
capName: "device-manager",
|
|
32868
|
+
capScope: "system",
|
|
32869
|
+
addonId: null,
|
|
32870
|
+
access: "create"
|
|
32871
|
+
},
|
|
32816
32872
|
"deviceManager.setMetadata": {
|
|
32817
32873
|
capName: "device-manager",
|
|
32818
32874
|
capScope: "system",
|
|
@@ -13258,6 +13258,43 @@ var ExposeInputSchema = object({
|
|
|
13258
13258
|
});
|
|
13259
13259
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13260
13260
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13261
|
+
/** Wire/storage schema for one icon id. */
|
|
13262
|
+
var LocationIconIdSchema = _enum([
|
|
13263
|
+
"map-pin",
|
|
13264
|
+
"house",
|
|
13265
|
+
"door-open",
|
|
13266
|
+
"sofa",
|
|
13267
|
+
"utensils",
|
|
13268
|
+
"bed-double",
|
|
13269
|
+
"bath",
|
|
13270
|
+
"briefcase",
|
|
13271
|
+
"car",
|
|
13272
|
+
"circle-parking",
|
|
13273
|
+
"route",
|
|
13274
|
+
"trees",
|
|
13275
|
+
"umbrella",
|
|
13276
|
+
"waves-ladder",
|
|
13277
|
+
"fence",
|
|
13278
|
+
"package",
|
|
13279
|
+
"warehouse",
|
|
13280
|
+
"store",
|
|
13281
|
+
"sun",
|
|
13282
|
+
"radar"
|
|
13283
|
+
]);
|
|
13284
|
+
/**
|
|
13285
|
+
* One (location, icon) assignment as it travels.
|
|
13286
|
+
*
|
|
13287
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13288
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13289
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13290
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13291
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13292
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13293
|
+
*/
|
|
13294
|
+
var LocationIconAssignmentSchema = object({
|
|
13295
|
+
locationKey: string(),
|
|
13296
|
+
icon: LocationIconIdSchema
|
|
13297
|
+
});
|
|
13261
13298
|
var ProviderStatusSchema = object({
|
|
13262
13299
|
connected: boolean(),
|
|
13263
13300
|
deviceCount: number(),
|
|
@@ -13769,6 +13806,12 @@ method(object({
|
|
|
13769
13806
|
}), object({ moved: number() }), {
|
|
13770
13807
|
kind: "mutation",
|
|
13771
13808
|
auth: "admin"
|
|
13809
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
13810
|
+
location: string(),
|
|
13811
|
+
icon: LocationIconIdSchema.nullable()
|
|
13812
|
+
}), _void(), {
|
|
13813
|
+
kind: "mutation",
|
|
13814
|
+
auth: "admin"
|
|
13772
13815
|
}), method(object({
|
|
13773
13816
|
deviceId: number(),
|
|
13774
13817
|
disabled: boolean()
|
|
@@ -19682,6 +19725,7 @@ var MediaFileKindEnum = _enum([
|
|
|
19682
19725
|
"keyFrame",
|
|
19683
19726
|
"keyFrameSmall",
|
|
19684
19727
|
"thumbnailSmall",
|
|
19728
|
+
"confirmationCrop",
|
|
19685
19729
|
"sceneFrame"
|
|
19686
19730
|
]);
|
|
19687
19731
|
/**
|
|
@@ -32669,6 +32713,12 @@ Object.freeze({
|
|
|
32669
32713
|
addonId: null,
|
|
32670
32714
|
access: "view"
|
|
32671
32715
|
},
|
|
32716
|
+
"deviceManager.listLocationIcons": {
|
|
32717
|
+
capName: "device-manager",
|
|
32718
|
+
capScope: "system",
|
|
32719
|
+
addonId: null,
|
|
32720
|
+
access: "view"
|
|
32721
|
+
},
|
|
32672
32722
|
"deviceManager.listLocations": {
|
|
32673
32723
|
capName: "device-manager",
|
|
32674
32724
|
capScope: "system",
|
|
@@ -32813,6 +32863,12 @@ Object.freeze({
|
|
|
32813
32863
|
addonId: null,
|
|
32814
32864
|
access: "create"
|
|
32815
32865
|
},
|
|
32866
|
+
"deviceManager.setLocationIcon": {
|
|
32867
|
+
capName: "device-manager",
|
|
32868
|
+
capScope: "system",
|
|
32869
|
+
addonId: null,
|
|
32870
|
+
access: "create"
|
|
32871
|
+
},
|
|
32816
32872
|
"deviceManager.setMetadata": {
|
|
32817
32873
|
capName: "device-manager",
|
|
32818
32874
|
capScope: "system",
|
|
@@ -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-JNv_Bx6K.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-Cjjmvty_.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.106",
|
|
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",
|