@camstack/system 1.2.243 → 1.2.245
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/addon-utils.js +1 -1
- package/dist/addon-utils.mjs +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
- package/dist/builtins/device-manager/device-manager.addon.js +315 -7
- package/dist/builtins/device-manager/device-manager.addon.mjs +315 -7
- package/dist/builtins/device-manager/device-meta-actions.d.ts +65 -0
- package/dist/builtins/device-manager/device-meta-types.d.ts +49 -0
- package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
- package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +2 -2
- package/dist/builtins/snapshot/index.mjs +2 -2
- package/dist/builtins/snapshot/snapshot-courtesy.d.ts +12 -2
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +1 -1
- package/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{dist-B4htkDVv.mjs → dist-4MS1GNc8.mjs} +206 -1
- package/dist/{dist-D6kqBW1G.js → dist-Cz6h6Nc3.js} +211 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-BPIyHR4_.js → retired-settings-keys-DBrIdOQp.js} +1 -1
- package/dist/{retired-settings-keys-C9w4b4TV.mjs → retired-settings-keys-D_5MkKII.mjs} +1 -1
- package/dist/{snapshot-courtesy-LoJNgHHZ.mjs → snapshot-courtesy-CZPvteq2.mjs} +34 -7
- package/dist/{snapshot-courtesy-oeTWCXPv.js → snapshot-courtesy-Cqs7GkOV.js} +34 -7
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Cz6h6Nc3.js");
|
|
7
7
|
//#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
|
|
8
8
|
/**
|
|
9
9
|
* Reconcile the durable `enabledProviders` set against authoritative
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as EventCategory, Zt as BaseAddon } from "../../dist-4MS1GNc8.mjs";
|
|
2
2
|
//#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
|
|
3
3
|
/**
|
|
4
4
|
* Reconcile the durable `enabledProviders` set against authoritative
|
|
@@ -3,8 +3,8 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
7
|
-
const require_snapshot_courtesy = require("../../snapshot-courtesy-
|
|
6
|
+
const require_dist = require("../../dist-Cz6h6Nc3.js");
|
|
7
|
+
const require_snapshot_courtesy = require("../../snapshot-courtesy-Cqs7GkOV.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
10
10
|
let _camstack_types_node = require("@camstack/types/node");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg } from "../../snapshot-courtesy-
|
|
1
|
+
import { Bt as snapshotCapability, Cn as EventCategory, G as deriveBatteryPresence, Gt as streamQualityLabel, I as bareAddonId, L as batteryCapability, Xt as errMsg, Zt as BaseAddon, gn as nodePin, i as BatteryStatusSchema, rn as DeviceType, tn as DeviceFeature } from "../../dist-4MS1GNc8.mjs";
|
|
2
|
+
import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg } from "../../snapshot-courtesy-CZPvteq2.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import { signExpiringUrl, verifyExpiringUrl } from "@camstack/types/node";
|
|
@@ -36,8 +36,18 @@ export interface CourtesyFrameSpec {
|
|
|
36
36
|
*/
|
|
37
37
|
export declare function buildCourtesySvg(spec: CourtesyFrameSpec): string;
|
|
38
38
|
/**
|
|
39
|
-
* The
|
|
40
|
-
*
|
|
39
|
+
* The state treatment for a frame that HAS a picture under it: a band along the
|
|
40
|
+
* bottom, and nothing else touched.
|
|
41
|
+
*
|
|
42
|
+
* It was a full-frame wash at 0.62 opacity, under a docblock claiming the frame
|
|
43
|
+
* "remains visible underneath". A 38 % view of a dark room is not a view of it,
|
|
44
|
+
* and the operator read the result as a placeholder rather than as their own
|
|
45
|
+
* camera: *"ma perché Waking? Dovremmo mostrare l'ultimo snapshot
|
|
46
|
+
* disponibile"* (Baby monitor, 2026-09-16).
|
|
47
|
+
*
|
|
48
|
+
* The marker still has to earn its place — a stale frame shown clean gets
|
|
49
|
+
* mistaken for live, which is the reason the treatment exists at all. A band
|
|
50
|
+
* says the same thing a wash said. Covering the picture was never the message.
|
|
41
51
|
*/
|
|
42
52
|
export declare function buildCourtesyOverlaySvg(spec: CourtesyFrameSpec): string;
|
|
43
53
|
/** Cache key — a courtesy frame is a pure function of these four. */
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Cz6h6Nc3.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
let node_fs_promises = require("node:fs/promises");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Wt as storageProviderCapability, Zt as BaseAddon, nt as filesystemBrowseCapability } from "../../dist-4MS1GNc8.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { mkdir, readdir, realpath, statfs } from "node:fs/promises";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Cz6h6Nc3.js");
|
|
7
7
|
const require_hub_cap_forward = require("../../hub-cap-forward-DmHNjbB0.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as EventCategory, Ct as modeMayWrite, D as StorageLocationTypeSchema, E as StorageLocationModeSchema, Ht as storageMigrationCapability, Mt as resolveLocationMode, O as StorageMigrationJobSchema, Rt as settingsStoreCapability, T as StorageCleanupJobSchema, Vt as storageCapability, Yt as withLocationMode, Zt as BaseAddon, _ as REDACTED_SECRET, _n as parseJsonObject, bt as mayReadLocation, et as evictionPolicyOfLocation, it as gbToBytes, m as LegacyStorageLocationDefaultSchema, pt as legacyModeOf, st as isLocationEnabled, xt as mayWriteToLocation, z as collectSecretConfigKeys } from "../../dist-4MS1GNc8.mjs";
|
|
2
2
|
import { t as HUB_CAP_FWD_ACTION } from "../../hub-cap-forward-BdT320dq.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Cz6h6Nc3.js");
|
|
7
7
|
//#region src/builtins/system-config/system-config.addon.ts
|
|
8
8
|
/**
|
|
9
9
|
* Built-in `system-config` addon — Phase 4 of the settings redesign.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xt as
|
|
1
|
+
import { Xt as errMsg, Zt as BaseAddon, mn as hydrateSchema } from "../../dist-4MS1GNc8.mjs";
|
|
2
2
|
//#region src/builtins/system-config/system-config.addon.ts
|
|
3
3
|
/**
|
|
4
4
|
* Built-in `system-config` addon — Phase 4 of the settings redesign.
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-Cz6h6Nc3.js");
|
|
7
7
|
const require_formatter = require("../../formatter-DqAKDlvN.js");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
node_path = require_chunk.__toESM(node_path);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Zt as BaseAddon, _t as logDestinationCapability } from "../../dist-4MS1GNc8.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
|
|
3
3
|
import * as path$1 from "node:path";
|
|
4
4
|
import path from "node:path";
|
|
@@ -11433,6 +11433,81 @@ var LocationIconAssignmentSchema = z.object({
|
|
|
11433
11433
|
function locationIconKey(label) {
|
|
11434
11434
|
return label.trim().toLowerCase();
|
|
11435
11435
|
}
|
|
11436
|
+
/**
|
|
11437
|
+
* One (location, description) assignment as it travels.
|
|
11438
|
+
*
|
|
11439
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
11440
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
11441
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
11442
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
11443
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
11444
|
+
* off the location itself, on `locationIconKey`.
|
|
11445
|
+
*/
|
|
11446
|
+
var LocationDescriptionAssignmentSchema = z.object({
|
|
11447
|
+
locationKey: z.string(),
|
|
11448
|
+
description: z.string()
|
|
11449
|
+
});
|
|
11450
|
+
/**
|
|
11451
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
11452
|
+
*
|
|
11453
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
11454
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
11455
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
11456
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
11457
|
+
*
|
|
11458
|
+
* ## Why not `zone`
|
|
11459
|
+
*
|
|
11460
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
11461
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
11462
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
11463
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
11464
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
11465
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
11466
|
+
*
|
|
11467
|
+
* ## The key
|
|
11468
|
+
*
|
|
11469
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
11470
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
11471
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
11472
|
+
* silently-dropped location description.
|
|
11473
|
+
*
|
|
11474
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
11475
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
11476
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
11477
|
+
*/
|
|
11478
|
+
/**
|
|
11479
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
11480
|
+
* the locations inside it.
|
|
11481
|
+
*
|
|
11482
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
11483
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
11484
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
11485
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
11486
|
+
* it has not fetched yet.
|
|
11487
|
+
*
|
|
11488
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
11489
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
11490
|
+
*/
|
|
11491
|
+
var SiteZoneSchema = z.object({
|
|
11492
|
+
zoneKey: z.string(),
|
|
11493
|
+
label: z.string(),
|
|
11494
|
+
icon: LocationIconIdSchema.nullable(),
|
|
11495
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
11496
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
11497
|
+
* the ones that most want grouping. */
|
|
11498
|
+
locationKeys: z.array(z.string())
|
|
11499
|
+
});
|
|
11500
|
+
/**
|
|
11501
|
+
* The join key for a zone label: trimmed, lower-cased.
|
|
11502
|
+
*
|
|
11503
|
+
* Deliberately a separate export from `locationIconKey` even though the
|
|
11504
|
+
* derivation is identical — they key different maps, and a future change to one
|
|
11505
|
+
* must not silently re-key the other. Their agreement is a fact about today,
|
|
11506
|
+
* not a dependency.
|
|
11507
|
+
*/
|
|
11508
|
+
function siteZoneKey(label) {
|
|
11509
|
+
return label.trim().toLowerCase();
|
|
11510
|
+
}
|
|
11436
11511
|
var ProviderStatusSchema = z.object({
|
|
11437
11512
|
connected: z.boolean(),
|
|
11438
11513
|
deviceCount: z.number(),
|
|
@@ -12233,6 +12308,94 @@ var deviceManagerCapability = {
|
|
|
12233
12308
|
kind: "mutation",
|
|
12234
12309
|
auth: "admin"
|
|
12235
12310
|
}),
|
|
12311
|
+
/** Every location that carries a DESCRIPTION — what the place LOOKS like,
|
|
12312
|
+
* in plain words, given to the vision model alongside the pictures so it
|
|
12313
|
+
* knows what it is looking at. A driveway of cobbles between a brick wall
|
|
12314
|
+
* and three parking spaces reads very differently from a back garden.
|
|
12315
|
+
*
|
|
12316
|
+
* Same additive shape and same join key as `listLocationIcons`, and that
|
|
12317
|
+
* is the point of it being here at all: this lived in the post-analysis
|
|
12318
|
+
* addon's own settings, keyed by a hand-typed label matched exactly and
|
|
12319
|
+
* case-sensitively, while the icon hung off the location itself. A rename
|
|
12320
|
+
* carried the icon and silently orphaned the description. One location,
|
|
12321
|
+
* one authority, one key.
|
|
12322
|
+
*
|
|
12323
|
+
* Absent means nobody wrote one — the digest then tells the model only the
|
|
12324
|
+
* location NAME, exactly as it did before descriptions existed. */
|
|
12325
|
+
listLocationDescriptions: method(z.void(), z.array(LocationDescriptionAssignmentSchema)),
|
|
12326
|
+
/** Set (or clear) a location's description. `description: null`, or a
|
|
12327
|
+
* blank string, removes it — an empty description and no description are
|
|
12328
|
+
* the same thing to every reader, and storing the first would send an
|
|
12329
|
+
* empty line to the model.
|
|
12330
|
+
*
|
|
12331
|
+
* Like `setLocationIcon`, the label need NOT be registered, and an
|
|
12332
|
+
* empty / whitespace-only LABEL throws. */
|
|
12333
|
+
setLocationDescription: method(z.object({
|
|
12334
|
+
location: z.string(),
|
|
12335
|
+
description: z.string().max(400).nullable()
|
|
12336
|
+
}), z.void(), {
|
|
12337
|
+
kind: "mutation",
|
|
12338
|
+
auth: "admin"
|
|
12339
|
+
}),
|
|
12340
|
+
/** Every SITE ZONE — a named part of the property that groups locations
|
|
12341
|
+
* ("Zona notte" holds the bedrooms). One call answers the whole picture:
|
|
12342
|
+
* key, the label as typed, the icon, and the locations inside.
|
|
12343
|
+
*
|
|
12344
|
+
* Together, because a surface that asked for membership separately could
|
|
12345
|
+
* draw a zone whose rooms it has not fetched — and the strip that renders
|
|
12346
|
+
* these puts zones BEFORE locations, so a half-known zone is the first
|
|
12347
|
+
* thing an operator sees.
|
|
12348
|
+
*
|
|
12349
|
+
* Nothing here touches a device: a camera's zone is derived from its
|
|
12350
|
+
* location, never stored on the row. Grouping rooms must not rewrite the
|
|
12351
|
+
* fleet. */
|
|
12352
|
+
listSiteZones: method(z.void(), z.array(SiteZoneSchema)),
|
|
12353
|
+
/** Create a zone, or set the icon of one that exists. `icon: null` clears
|
|
12354
|
+
* the icon and KEEPS the zone — a zone with no icon is a normal zone, and
|
|
12355
|
+
* conflating "no icon" with "no zone" would delete membership on a
|
|
12356
|
+
* mis-click.
|
|
12357
|
+
*
|
|
12358
|
+
* Idempotent, and the label is stored as typed: the key is folded, so
|
|
12359
|
+
* re-running this with different casing re-labels rather than duplicating. */
|
|
12360
|
+
setSiteZone: method(z.object({
|
|
12361
|
+
name: z.string(),
|
|
12362
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
12363
|
+
}), z.void(), {
|
|
12364
|
+
kind: "mutation",
|
|
12365
|
+
auth: "admin"
|
|
12366
|
+
}),
|
|
12367
|
+
/** Delete a zone. Its LOCATIONS survive — they simply stop belonging to
|
|
12368
|
+
* anything. Deleting a grouping must never delete what was grouped. */
|
|
12369
|
+
removeSiteZone: method(z.object({ name: z.string() }), z.void(), {
|
|
12370
|
+
kind: "mutation",
|
|
12371
|
+
auth: "admin"
|
|
12372
|
+
}),
|
|
12373
|
+
/** Rename a zone, carrying its icon AND its membership.
|
|
12374
|
+
*
|
|
12375
|
+
* It exists so that renaming is not delete-then-recreate, which would drop
|
|
12376
|
+
* both — the exact orphaning that lost a location's description when the
|
|
12377
|
+
* two hung off different keys. Renaming onto an existing zone MERGES into
|
|
12378
|
+
* it and the target keeps its own icon. */
|
|
12379
|
+
renameSiteZone: method(z.object({
|
|
12380
|
+
from: z.string(),
|
|
12381
|
+
to: z.string()
|
|
12382
|
+
}), z.void(), {
|
|
12383
|
+
kind: "mutation",
|
|
12384
|
+
auth: "admin"
|
|
12385
|
+
}),
|
|
12386
|
+
/** Put a location in a zone, or take it out with `zone: null`.
|
|
12387
|
+
*
|
|
12388
|
+
* At most one zone per location, by construction: this writes one key, so
|
|
12389
|
+
* there is no state in which a room is in two places at once. The zone
|
|
12390
|
+
* need not exist yet — it is created empty-labelled from this call, the
|
|
12391
|
+
* same way `setLocationIcon` does not require a registered location. */
|
|
12392
|
+
setLocationZone: method(z.object({
|
|
12393
|
+
location: z.string(),
|
|
12394
|
+
zone: z.string().nullable()
|
|
12395
|
+
}), z.void(), {
|
|
12396
|
+
kind: "mutation",
|
|
12397
|
+
auth: "admin"
|
|
12398
|
+
}),
|
|
12236
12399
|
/** Soft-disable / re-enable the device. Drivers consult
|
|
12237
12400
|
* `BaseDevice.disabled` to gate lifecycle hooks. */
|
|
12238
12401
|
setDisabled: method(z.object({
|
|
@@ -39056,6 +39219,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39056
39219
|
addonId: null,
|
|
39057
39220
|
access: "view"
|
|
39058
39221
|
},
|
|
39222
|
+
"deviceManager.listLocationDescriptions": {
|
|
39223
|
+
capName: "device-manager",
|
|
39224
|
+
capScope: "system",
|
|
39225
|
+
addonId: null,
|
|
39226
|
+
access: "view"
|
|
39227
|
+
},
|
|
39059
39228
|
"deviceManager.listLocationIcons": {
|
|
39060
39229
|
capName: "device-manager",
|
|
39061
39230
|
capScope: "system",
|
|
@@ -39074,6 +39243,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39074
39243
|
addonId: null,
|
|
39075
39244
|
access: "view"
|
|
39076
39245
|
},
|
|
39246
|
+
"deviceManager.listSiteZones": {
|
|
39247
|
+
capName: "device-manager",
|
|
39248
|
+
capScope: "system",
|
|
39249
|
+
addonId: null,
|
|
39250
|
+
access: "view"
|
|
39251
|
+
},
|
|
39077
39252
|
"deviceManager.listWrappersForCap": {
|
|
39078
39253
|
capName: "device-manager",
|
|
39079
39254
|
capScope: "system",
|
|
@@ -39158,12 +39333,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39158
39333
|
addonId: null,
|
|
39159
39334
|
access: "delete"
|
|
39160
39335
|
},
|
|
39336
|
+
"deviceManager.removeSiteZone": {
|
|
39337
|
+
capName: "device-manager",
|
|
39338
|
+
capScope: "system",
|
|
39339
|
+
addonId: null,
|
|
39340
|
+
access: "delete"
|
|
39341
|
+
},
|
|
39161
39342
|
"deviceManager.renameLocation": {
|
|
39162
39343
|
capName: "device-manager",
|
|
39163
39344
|
capScope: "system",
|
|
39164
39345
|
addonId: null,
|
|
39165
39346
|
access: "create"
|
|
39166
39347
|
},
|
|
39348
|
+
"deviceManager.renameSiteZone": {
|
|
39349
|
+
capName: "device-manager",
|
|
39350
|
+
capScope: "system",
|
|
39351
|
+
addonId: null,
|
|
39352
|
+
access: "create"
|
|
39353
|
+
},
|
|
39167
39354
|
"deviceManager.runDeviceAction": {
|
|
39168
39355
|
capName: "device-manager",
|
|
39169
39356
|
capScope: "system",
|
|
@@ -39206,12 +39393,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39206
39393
|
addonId: null,
|
|
39207
39394
|
access: "create"
|
|
39208
39395
|
},
|
|
39396
|
+
"deviceManager.setLocationDescription": {
|
|
39397
|
+
capName: "device-manager",
|
|
39398
|
+
capScope: "system",
|
|
39399
|
+
addonId: null,
|
|
39400
|
+
access: "create"
|
|
39401
|
+
},
|
|
39209
39402
|
"deviceManager.setLocationIcon": {
|
|
39210
39403
|
capName: "device-manager",
|
|
39211
39404
|
capScope: "system",
|
|
39212
39405
|
addonId: null,
|
|
39213
39406
|
access: "create"
|
|
39214
39407
|
},
|
|
39408
|
+
"deviceManager.setLocationZone": {
|
|
39409
|
+
capName: "device-manager",
|
|
39410
|
+
capScope: "system",
|
|
39411
|
+
addonId: null,
|
|
39412
|
+
access: "create"
|
|
39413
|
+
},
|
|
39215
39414
|
"deviceManager.setMetadata": {
|
|
39216
39415
|
capName: "device-manager",
|
|
39217
39416
|
capScope: "system",
|
|
@@ -39242,6 +39441,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39242
39441
|
addonId: null,
|
|
39243
39442
|
access: "create"
|
|
39244
39443
|
},
|
|
39444
|
+
"deviceManager.setSiteZone": {
|
|
39445
|
+
capName: "device-manager",
|
|
39446
|
+
capScope: "system",
|
|
39447
|
+
addonId: null,
|
|
39448
|
+
access: "create"
|
|
39449
|
+
},
|
|
39245
39450
|
"deviceManager.setStreamProfileMap": {
|
|
39246
39451
|
capName: "device-manager",
|
|
39247
39452
|
capScope: "system",
|
|
@@ -46773,4 +46978,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
46773
46978
|
return out;
|
|
46774
46979
|
}
|
|
46775
46980
|
//#endregion
|
|
46776
|
-
export { evaluateSensorEdge as $,
|
|
46981
|
+
export { evaluateSensorEdge as $, DEVICE_SETTINGS_CONTRIBUTION_METHODS as $t, addonPagesCapability as A, resolveBucketMs as At, coreBlockAddonId as B, snapshotCapability as Bt, STREAM_PROFILE_META as C, EventCategory as Cn, modeMayWrite as Ct, StorageLocationTypeSchema as D, platformProbeCapability as Dt, StorageLocationModeSchema as E, parseStreamParamsFormPatch as Et, backupCapability as F, scopesAllowAddon as Ft, deriveBatteryPresence as G, streamQualityLabel as Gt, coreBlocksCapability as H, storageMigrationCapability as Ht, bareAddonId as I, scopesAllowDeviceCap as It, deviceStatusCapability as J, vectorStoreCapability as Jt, deviceManagerCapability as K, userManagementCapability as Kt, batteryCapability as L, scoreRuntimes as Lt, addonWidgetsCapability as M, resolveLocationMode as Mt, alertsCapability as N, resolveMethodAuth as Nt, StorageMigrationJobSchema as O, procedureAuthKey as Ot, authProviderCapability as P, runtimeStatePolicyFor as Pt, enumerateSchemaFields as Q, DATAPLANE_SECRET_HEADER as Qt, buildStreamParamsConfigSchema as R, settingsStoreCapability as Rt, STORAGE_ACCESS_FALLBACK as S, sleep as Sn, metricsProviderCapability as St, StorageCleanupJobSchema as T, objectInputDeclaresAddonId as Tt, dataStoreProviderCapability as U, storageOccupancyCapability as Ut, coreBlockIdFromAddonId as V, storageCapability as Vt, decodeVectorBase64 as W, storageProviderCapability as Wt, enumerateInferenceDevices as X, errMsg as Xt, doorbellCapability as Y, withLocationMode as Yt, enumerateItemArrayFields as Z, BaseAddon as Zt, REDACTED_SECRET as _, parseJsonObject as _n, logDestinationCapability as _t, CAMERA_SWITCH_ORDER as a, ReadinessTimeoutError as an, isArrayOutputSchema as at, SOURCE_CAPS as b, resolveCapMount as bn, mayReadLocation as bt, CORE_BLOCK_ADDON_PREFIX as c, asNumber as cn, isObjectInput as ct, DeclaredDevices as d, emitDownForOwnedCaps as dn, isVoidInput as dt, DEVICE_STATUS_METHOD as en, evictionPolicyOfLocation as et, DeviceStatusSchema as f, emitReadiness as fn, kebabToCamel as ft, METHOD_ACCESS_MAP as g, nodePin as gn, locationIconKey as gt, LocationIconIdSchema as h, isDeviceConfigCap as hn, localNetworkCapability as ht, BatteryStatusSchema as i, ReadinessRegistry as in, gbToBytes as it, addonSettingsCapability as j, resolveContainerPrimaryChild as jt, UserRecordSchema as k, reducePoints as kt, CoreBlockSchema as l, asString as ln, isSameAddonId as lt, LegacyStorageLocationDefaultSchema as m, hydrateSchema as mn, lifecycleJobSchema as mt, AlertSchema as n, DeviceRole as nn, filesystemBrowseCapability as nt, CAP_NAMES_WITH_STATUS as o, WELL_KNOWN_TAB_MAP as on, isCollectionArrayMethod as ot, LOG_LEVEL_RANK as p, expandCapMethods as pn, legacyModeOf as pt, deviceStateCapability as q, vectorDimFromBase64 as qt, ApiKeyRecordSchema as r, DeviceType as rn, foldSnapshotByFunction as rt, CORE_BLOCKS_ADDON_ID as s, asJsonObject as sn, isLocationEnabled as st, ALL_CAPABILITY_DEFINITIONS as t, DeviceFeature as tn, extractNestedAddonId as tt, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as u, createEvent as un, isSourceCap as ut, RUNTIME_DEFAULTS as v, parseJsonUnknown as vn, logLevelAtMost as vt, ScopedTokenSchema as w, normalizeUnit as wt, SOURCE_DEVICE_TYPES as x, scopeKey as xn, mayWriteToLocation as xt, RecordingStatusSchema as y, readinessKey as yn, looseSchema as yt, collectSecretConfigKeys as z, siteZoneKey as zt };
|