@camstack/system 1.2.242 → 1.2.244
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/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 +437 -11
- package/dist/builtins/device-manager/device-manager.addon.mjs +437 -11
- package/dist/builtins/device-manager/device-meta-actions.d.ts +97 -0
- package/dist/builtins/device-manager/device-meta-types.d.ts +66 -1
- 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 +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- 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-DkGEz_3L.mjs → dist-4MS1GNc8.mjs} +308 -3
- package/dist/{dist-BETx_5mH.js → dist-Cz6h6Nc3.js} +325 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-BnTBoLTv.js → retired-settings-keys-DBrIdOQp.js} +1 -1
- package/dist/{retired-settings-keys-BSsaf7n4.mjs → retired-settings-keys-D_5MkKII.mjs} +1 -1
- package/package.json +1 -1
|
@@ -11388,6 +11388,126 @@ var deviceExportCapability = {
|
|
|
11388
11388
|
unexposeDevice: method(UnexposeInputSchema, z.void(), { kind: "mutation" })
|
|
11389
11389
|
}
|
|
11390
11390
|
};
|
|
11391
|
+
/** Wire/storage schema for one icon id. */
|
|
11392
|
+
var LocationIconIdSchema = z.enum([
|
|
11393
|
+
"map-pin",
|
|
11394
|
+
"house",
|
|
11395
|
+
"door-open",
|
|
11396
|
+
"sofa",
|
|
11397
|
+
"utensils",
|
|
11398
|
+
"bed-double",
|
|
11399
|
+
"bath",
|
|
11400
|
+
"briefcase",
|
|
11401
|
+
"car",
|
|
11402
|
+
"circle-parking",
|
|
11403
|
+
"route",
|
|
11404
|
+
"trees",
|
|
11405
|
+
"umbrella",
|
|
11406
|
+
"waves-ladder",
|
|
11407
|
+
"fence",
|
|
11408
|
+
"package",
|
|
11409
|
+
"warehouse",
|
|
11410
|
+
"store",
|
|
11411
|
+
"sun",
|
|
11412
|
+
"radar"
|
|
11413
|
+
]);
|
|
11414
|
+
/**
|
|
11415
|
+
* One (location, icon) assignment as it travels.
|
|
11416
|
+
*
|
|
11417
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
11418
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
11419
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
11420
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
11421
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
11422
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
11423
|
+
*/
|
|
11424
|
+
var LocationIconAssignmentSchema = z.object({
|
|
11425
|
+
locationKey: z.string(),
|
|
11426
|
+
icon: LocationIconIdSchema
|
|
11427
|
+
});
|
|
11428
|
+
/**
|
|
11429
|
+
* The join key for a location label: trimmed, lower-cased. The ONE place this
|
|
11430
|
+
* derivation lives — a caller that re-spells it is a rename away from an
|
|
11431
|
+
* orphaned icon.
|
|
11432
|
+
*/
|
|
11433
|
+
function locationIconKey(label) {
|
|
11434
|
+
return label.trim().toLowerCase();
|
|
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
|
+
}
|
|
11391
11511
|
var ProviderStatusSchema = z.object({
|
|
11392
11512
|
connected: z.boolean(),
|
|
11393
11513
|
deviceCount: z.number(),
|
|
@@ -12116,7 +12236,11 @@ var deviceManagerCapability = {
|
|
|
12116
12236
|
* reference this label keep their `meta.location` value — the
|
|
12117
12237
|
* registry is purely a suggestion list. To purge from devices,
|
|
12118
12238
|
* iterate them and call `setLocation(deviceId, null)`
|
|
12119
|
-
* separately (or pass `cascade: true` to do it in one shot).
|
|
12239
|
+
* separately (or pass `cascade: true` to do it in one shot).
|
|
12240
|
+
*
|
|
12241
|
+
* The room's ICON goes with it, always — a key left behind survives in a
|
|
12242
|
+
* map nobody lists, and a room later re-created under the same name would
|
|
12243
|
+
* silently inherit an icon the operator never chose for it. */
|
|
12120
12244
|
removeLocation: method(z.object({
|
|
12121
12245
|
name: z.string(),
|
|
12122
12246
|
cascade: z.boolean().optional()
|
|
@@ -12137,7 +12261,13 @@ var deviceManagerCapability = {
|
|
|
12137
12261
|
* a suggestion list, and the devices that most need a rename are exactly
|
|
12138
12262
|
* the ones carrying a label nobody registered. `to` renames onto an
|
|
12139
12263
|
* existing room by MERGING into it, leaving no duplicate label. An empty
|
|
12140
|
-
* `to` throws before anything is written.
|
|
12264
|
+
* `to` throws before anything is written.
|
|
12265
|
+
*
|
|
12266
|
+
* The room's ICON travels with the rename, including when `from` was
|
|
12267
|
+
* never registered — otherwise it orphans on a key no location carries
|
|
12268
|
+
* any more. A merge keeps the TARGET's icon when it has one: renaming
|
|
12269
|
+
* "Sala" into "Salone" moves devices into Salone, it does not restyle
|
|
12270
|
+
* it. */
|
|
12141
12271
|
renameLocation: method(z.object({
|
|
12142
12272
|
from: z.string(),
|
|
12143
12273
|
to: z.string()
|
|
@@ -12145,6 +12275,127 @@ var deviceManagerCapability = {
|
|
|
12145
12275
|
kind: "mutation",
|
|
12146
12276
|
auth: "admin"
|
|
12147
12277
|
}),
|
|
12278
|
+
/** Every location that carries an ICON, as `(locationKey, icon)` pairs.
|
|
12279
|
+
*
|
|
12280
|
+
* ADDITIVE, deliberately: `listLocations` keeps returning `string[]` —
|
|
12281
|
+
* every consumer of it (the Device Info autocomplete, the HA adoption
|
|
12282
|
+
* import, the recorder) reads a list of labels and none of them wants a
|
|
12283
|
+
* shape change. A surface that wants icons asks for them and joins.
|
|
12284
|
+
*
|
|
12285
|
+
* Only assignments that EXIST are returned — a location with no icon is
|
|
12286
|
+
* absent, not `map-pin`. The fallback belongs to the renderer
|
|
12287
|
+
* (`resolveLocationIcon`), not to the store, so "the operator chose the
|
|
12288
|
+
* pin" and "the operator chose nothing" stay distinguishable.
|
|
12289
|
+
*
|
|
12290
|
+
* The join key is `locationIconKey(label)` (trimmed, lower-cased) — the
|
|
12291
|
+
* same equality the registry uses everywhere. Never the operator's
|
|
12292
|
+
* casing: a case-only rename is a real edit here, and a map keyed on the
|
|
12293
|
+
* displayed spelling would orphan its entry on exactly that edit. */
|
|
12294
|
+
listLocationIcons: method(z.void(), z.array(LocationIconAssignmentSchema)),
|
|
12295
|
+
/** Set (or clear) the icon of a location label. `icon: null` removes the
|
|
12296
|
+
* assignment. The label need NOT be registered — the registry is a
|
|
12297
|
+
* suggestion list and devices carry labels nobody registered — but an
|
|
12298
|
+
* empty / whitespace-only label throws. Idempotent.
|
|
12299
|
+
*
|
|
12300
|
+
* The icon vocabulary is CLOSED (`LOCATION_ICON_IDS`) because the admin UI
|
|
12301
|
+
* and the viewer draw from different icon modules; see
|
|
12302
|
+
* `device/location-icon.ts` for the list and for what a surface that
|
|
12303
|
+
* cannot draw a member must do (fall back to `map-pin`, never a hole). */
|
|
12304
|
+
setLocationIcon: method(z.object({
|
|
12305
|
+
location: z.string(),
|
|
12306
|
+
icon: LocationIconIdSchema.nullable()
|
|
12307
|
+
}), z.void(), {
|
|
12308
|
+
kind: "mutation",
|
|
12309
|
+
auth: "admin"
|
|
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
|
+
}),
|
|
12148
12399
|
/** Soft-disable / re-enable the device. Drivers consult
|
|
12149
12400
|
* `BaseDevice.disabled` to gate lifecycle hooks. */
|
|
12150
12401
|
setDisabled: method(z.object({
|
|
@@ -38968,6 +39219,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
38968
39219
|
addonId: null,
|
|
38969
39220
|
access: "view"
|
|
38970
39221
|
},
|
|
39222
|
+
"deviceManager.listLocationDescriptions": {
|
|
39223
|
+
capName: "device-manager",
|
|
39224
|
+
capScope: "system",
|
|
39225
|
+
addonId: null,
|
|
39226
|
+
access: "view"
|
|
39227
|
+
},
|
|
39228
|
+
"deviceManager.listLocationIcons": {
|
|
39229
|
+
capName: "device-manager",
|
|
39230
|
+
capScope: "system",
|
|
39231
|
+
addonId: null,
|
|
39232
|
+
access: "view"
|
|
39233
|
+
},
|
|
38971
39234
|
"deviceManager.listLocations": {
|
|
38972
39235
|
capName: "device-manager",
|
|
38973
39236
|
capScope: "system",
|
|
@@ -38980,6 +39243,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
38980
39243
|
addonId: null,
|
|
38981
39244
|
access: "view"
|
|
38982
39245
|
},
|
|
39246
|
+
"deviceManager.listSiteZones": {
|
|
39247
|
+
capName: "device-manager",
|
|
39248
|
+
capScope: "system",
|
|
39249
|
+
addonId: null,
|
|
39250
|
+
access: "view"
|
|
39251
|
+
},
|
|
38983
39252
|
"deviceManager.listWrappersForCap": {
|
|
38984
39253
|
capName: "device-manager",
|
|
38985
39254
|
capScope: "system",
|
|
@@ -39064,12 +39333,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39064
39333
|
addonId: null,
|
|
39065
39334
|
access: "delete"
|
|
39066
39335
|
},
|
|
39336
|
+
"deviceManager.removeSiteZone": {
|
|
39337
|
+
capName: "device-manager",
|
|
39338
|
+
capScope: "system",
|
|
39339
|
+
addonId: null,
|
|
39340
|
+
access: "delete"
|
|
39341
|
+
},
|
|
39067
39342
|
"deviceManager.renameLocation": {
|
|
39068
39343
|
capName: "device-manager",
|
|
39069
39344
|
capScope: "system",
|
|
39070
39345
|
addonId: null,
|
|
39071
39346
|
access: "create"
|
|
39072
39347
|
},
|
|
39348
|
+
"deviceManager.renameSiteZone": {
|
|
39349
|
+
capName: "device-manager",
|
|
39350
|
+
capScope: "system",
|
|
39351
|
+
addonId: null,
|
|
39352
|
+
access: "create"
|
|
39353
|
+
},
|
|
39073
39354
|
"deviceManager.runDeviceAction": {
|
|
39074
39355
|
capName: "device-manager",
|
|
39075
39356
|
capScope: "system",
|
|
@@ -39112,6 +39393,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39112
39393
|
addonId: null,
|
|
39113
39394
|
access: "create"
|
|
39114
39395
|
},
|
|
39396
|
+
"deviceManager.setLocationDescription": {
|
|
39397
|
+
capName: "device-manager",
|
|
39398
|
+
capScope: "system",
|
|
39399
|
+
addonId: null,
|
|
39400
|
+
access: "create"
|
|
39401
|
+
},
|
|
39402
|
+
"deviceManager.setLocationIcon": {
|
|
39403
|
+
capName: "device-manager",
|
|
39404
|
+
capScope: "system",
|
|
39405
|
+
addonId: null,
|
|
39406
|
+
access: "create"
|
|
39407
|
+
},
|
|
39408
|
+
"deviceManager.setLocationZone": {
|
|
39409
|
+
capName: "device-manager",
|
|
39410
|
+
capScope: "system",
|
|
39411
|
+
addonId: null,
|
|
39412
|
+
access: "create"
|
|
39413
|
+
},
|
|
39115
39414
|
"deviceManager.setMetadata": {
|
|
39116
39415
|
capName: "device-manager",
|
|
39117
39416
|
capScope: "system",
|
|
@@ -39142,6 +39441,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39142
39441
|
addonId: null,
|
|
39143
39442
|
access: "create"
|
|
39144
39443
|
},
|
|
39444
|
+
"deviceManager.setSiteZone": {
|
|
39445
|
+
capName: "device-manager",
|
|
39446
|
+
capScope: "system",
|
|
39447
|
+
addonId: null,
|
|
39448
|
+
access: "create"
|
|
39449
|
+
},
|
|
39145
39450
|
"deviceManager.setStreamProfileMap": {
|
|
39146
39451
|
capName: "device-manager",
|
|
39147
39452
|
capScope: "system",
|
|
@@ -46673,4 +46978,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
46673
46978
|
return out;
|
|
46674
46979
|
}
|
|
46675
46980
|
//#endregion
|
|
46676
|
-
export {
|
|
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 };
|