@camstack/addon-terminal 0.1.111 → 0.1.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/addon.js +187 -2
- package/dist/addon.mjs +187 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -12391,7 +12391,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12391
12391
|
* This is what lets one picker serve both the bypass and the full source
|
|
12392
12392
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12393
12393
|
*/
|
|
12394
|
-
allowTranscode: boolean().optional()
|
|
12394
|
+
allowTranscode: boolean().optional(),
|
|
12395
|
+
/**
|
|
12396
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12397
|
+
*
|
|
12398
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12399
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12400
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12401
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12402
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12403
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12404
|
+
*
|
|
12405
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12406
|
+
* here when it decides which source to BIND to a slot
|
|
12407
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12408
|
+
* could never bind them.
|
|
12409
|
+
*/
|
|
12410
|
+
requireProfileBound: boolean().optional()
|
|
12395
12411
|
}).readonly();
|
|
12396
12412
|
var PickStreamPreferencesSchema = object({
|
|
12397
12413
|
/**
|
|
@@ -12432,7 +12448,43 @@ var PickedCamStreamSchema = object({
|
|
|
12432
12448
|
*/
|
|
12433
12449
|
transcodes: boolean(),
|
|
12434
12450
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12435
|
-
reason: string()
|
|
12451
|
+
reason: string(),
|
|
12452
|
+
/**
|
|
12453
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12454
|
+
*
|
|
12455
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12456
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12457
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12458
|
+
* the same function a second time.
|
|
12459
|
+
*
|
|
12460
|
+
* Absent when the source has no slot, which a caller passing
|
|
12461
|
+
* `requireProfileBound` can never see.
|
|
12462
|
+
*/
|
|
12463
|
+
profile: CamProfileSchema.optional(),
|
|
12464
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12465
|
+
brokerId: string().optional(),
|
|
12466
|
+
/**
|
|
12467
|
+
* The broker restream URL to dial for this stream.
|
|
12468
|
+
*
|
|
12469
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12470
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12471
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12472
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12473
|
+
*/
|
|
12474
|
+
url: string().optional(),
|
|
12475
|
+
/**
|
|
12476
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12477
|
+
* from.
|
|
12478
|
+
*
|
|
12479
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12480
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12481
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12482
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12483
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12484
|
+
* are not interchangeable.
|
|
12485
|
+
*/
|
|
12486
|
+
fps: number().positive().optional(),
|
|
12487
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12436
12488
|
});
|
|
12437
12489
|
/**
|
|
12438
12490
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -13615,6 +13667,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13615
13667
|
locationKey: string(),
|
|
13616
13668
|
icon: LocationIconIdSchema
|
|
13617
13669
|
});
|
|
13670
|
+
/**
|
|
13671
|
+
* One (location, description) assignment as it travels.
|
|
13672
|
+
*
|
|
13673
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13674
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13675
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13676
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13677
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13678
|
+
* off the location itself, on `locationIconKey`.
|
|
13679
|
+
*/
|
|
13680
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13681
|
+
locationKey: string(),
|
|
13682
|
+
description: string()
|
|
13683
|
+
});
|
|
13684
|
+
/**
|
|
13685
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13686
|
+
*
|
|
13687
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13688
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13689
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13690
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13691
|
+
*
|
|
13692
|
+
* ## Why not `zone`
|
|
13693
|
+
*
|
|
13694
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13695
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13696
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13697
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13698
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13699
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13700
|
+
*
|
|
13701
|
+
* ## The key
|
|
13702
|
+
*
|
|
13703
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13704
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13705
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13706
|
+
* silently-dropped location description.
|
|
13707
|
+
*
|
|
13708
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13709
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13710
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13711
|
+
*/
|
|
13712
|
+
/**
|
|
13713
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13714
|
+
* the locations inside it.
|
|
13715
|
+
*
|
|
13716
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13717
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13718
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13719
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13720
|
+
* it has not fetched yet.
|
|
13721
|
+
*
|
|
13722
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13723
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13724
|
+
*/
|
|
13725
|
+
var SiteZoneSchema = object({
|
|
13726
|
+
zoneKey: string(),
|
|
13727
|
+
label: string(),
|
|
13728
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13729
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13730
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13731
|
+
* the ones that most want grouping. */
|
|
13732
|
+
locationKeys: array(string())
|
|
13733
|
+
});
|
|
13618
13734
|
var ProviderStatusSchema = object({
|
|
13619
13735
|
connected: boolean(),
|
|
13620
13736
|
deviceCount: number(),
|
|
@@ -14132,6 +14248,33 @@ method(object({
|
|
|
14132
14248
|
}), _void(), {
|
|
14133
14249
|
kind: "mutation",
|
|
14134
14250
|
auth: "admin"
|
|
14251
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14252
|
+
location: string(),
|
|
14253
|
+
description: string().max(400).nullable()
|
|
14254
|
+
}), _void(), {
|
|
14255
|
+
kind: "mutation",
|
|
14256
|
+
auth: "admin"
|
|
14257
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14258
|
+
name: string(),
|
|
14259
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14260
|
+
}), _void(), {
|
|
14261
|
+
kind: "mutation",
|
|
14262
|
+
auth: "admin"
|
|
14263
|
+
}), method(object({ name: string() }), _void(), {
|
|
14264
|
+
kind: "mutation",
|
|
14265
|
+
auth: "admin"
|
|
14266
|
+
}), method(object({
|
|
14267
|
+
from: string(),
|
|
14268
|
+
to: string()
|
|
14269
|
+
}), _void(), {
|
|
14270
|
+
kind: "mutation",
|
|
14271
|
+
auth: "admin"
|
|
14272
|
+
}), method(object({
|
|
14273
|
+
location: string(),
|
|
14274
|
+
zone: string().nullable()
|
|
14275
|
+
}), _void(), {
|
|
14276
|
+
kind: "mutation",
|
|
14277
|
+
auth: "admin"
|
|
14135
14278
|
}), method(object({
|
|
14136
14279
|
deviceId: number(),
|
|
14137
14280
|
disabled: boolean()
|
|
@@ -36772,6 +36915,12 @@ Object.freeze({
|
|
|
36772
36915
|
addonId: null,
|
|
36773
36916
|
access: "view"
|
|
36774
36917
|
},
|
|
36918
|
+
"deviceManager.listLocationDescriptions": {
|
|
36919
|
+
capName: "device-manager",
|
|
36920
|
+
capScope: "system",
|
|
36921
|
+
addonId: null,
|
|
36922
|
+
access: "view"
|
|
36923
|
+
},
|
|
36775
36924
|
"deviceManager.listLocationIcons": {
|
|
36776
36925
|
capName: "device-manager",
|
|
36777
36926
|
capScope: "system",
|
|
@@ -36790,6 +36939,12 @@ Object.freeze({
|
|
|
36790
36939
|
addonId: null,
|
|
36791
36940
|
access: "view"
|
|
36792
36941
|
},
|
|
36942
|
+
"deviceManager.listSiteZones": {
|
|
36943
|
+
capName: "device-manager",
|
|
36944
|
+
capScope: "system",
|
|
36945
|
+
addonId: null,
|
|
36946
|
+
access: "view"
|
|
36947
|
+
},
|
|
36793
36948
|
"deviceManager.listWrappersForCap": {
|
|
36794
36949
|
capName: "device-manager",
|
|
36795
36950
|
capScope: "system",
|
|
@@ -36874,12 +37029,24 @@ Object.freeze({
|
|
|
36874
37029
|
addonId: null,
|
|
36875
37030
|
access: "delete"
|
|
36876
37031
|
},
|
|
37032
|
+
"deviceManager.removeSiteZone": {
|
|
37033
|
+
capName: "device-manager",
|
|
37034
|
+
capScope: "system",
|
|
37035
|
+
addonId: null,
|
|
37036
|
+
access: "delete"
|
|
37037
|
+
},
|
|
36877
37038
|
"deviceManager.renameLocation": {
|
|
36878
37039
|
capName: "device-manager",
|
|
36879
37040
|
capScope: "system",
|
|
36880
37041
|
addonId: null,
|
|
36881
37042
|
access: "create"
|
|
36882
37043
|
},
|
|
37044
|
+
"deviceManager.renameSiteZone": {
|
|
37045
|
+
capName: "device-manager",
|
|
37046
|
+
capScope: "system",
|
|
37047
|
+
addonId: null,
|
|
37048
|
+
access: "create"
|
|
37049
|
+
},
|
|
36883
37050
|
"deviceManager.runDeviceAction": {
|
|
36884
37051
|
capName: "device-manager",
|
|
36885
37052
|
capScope: "system",
|
|
@@ -36922,12 +37089,24 @@ Object.freeze({
|
|
|
36922
37089
|
addonId: null,
|
|
36923
37090
|
access: "create"
|
|
36924
37091
|
},
|
|
37092
|
+
"deviceManager.setLocationDescription": {
|
|
37093
|
+
capName: "device-manager",
|
|
37094
|
+
capScope: "system",
|
|
37095
|
+
addonId: null,
|
|
37096
|
+
access: "create"
|
|
37097
|
+
},
|
|
36925
37098
|
"deviceManager.setLocationIcon": {
|
|
36926
37099
|
capName: "device-manager",
|
|
36927
37100
|
capScope: "system",
|
|
36928
37101
|
addonId: null,
|
|
36929
37102
|
access: "create"
|
|
36930
37103
|
},
|
|
37104
|
+
"deviceManager.setLocationZone": {
|
|
37105
|
+
capName: "device-manager",
|
|
37106
|
+
capScope: "system",
|
|
37107
|
+
addonId: null,
|
|
37108
|
+
access: "create"
|
|
37109
|
+
},
|
|
36931
37110
|
"deviceManager.setMetadata": {
|
|
36932
37111
|
capName: "device-manager",
|
|
36933
37112
|
capScope: "system",
|
|
@@ -36958,6 +37137,12 @@ Object.freeze({
|
|
|
36958
37137
|
addonId: null,
|
|
36959
37138
|
access: "create"
|
|
36960
37139
|
},
|
|
37140
|
+
"deviceManager.setSiteZone": {
|
|
37141
|
+
capName: "device-manager",
|
|
37142
|
+
capScope: "system",
|
|
37143
|
+
addonId: null,
|
|
37144
|
+
access: "create"
|
|
37145
|
+
},
|
|
36961
37146
|
"deviceManager.setStreamProfileMap": {
|
|
36962
37147
|
capName: "device-manager",
|
|
36963
37148
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -12368,7 +12368,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12368
12368
|
* This is what lets one picker serve both the bypass and the full source
|
|
12369
12369
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12370
12370
|
*/
|
|
12371
|
-
allowTranscode: boolean().optional()
|
|
12371
|
+
allowTranscode: boolean().optional(),
|
|
12372
|
+
/**
|
|
12373
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12374
|
+
*
|
|
12375
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12376
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12377
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12378
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12379
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12380
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12381
|
+
*
|
|
12382
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12383
|
+
* here when it decides which source to BIND to a slot
|
|
12384
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12385
|
+
* could never bind them.
|
|
12386
|
+
*/
|
|
12387
|
+
requireProfileBound: boolean().optional()
|
|
12372
12388
|
}).readonly();
|
|
12373
12389
|
var PickStreamPreferencesSchema = object({
|
|
12374
12390
|
/**
|
|
@@ -12409,7 +12425,43 @@ var PickedCamStreamSchema = object({
|
|
|
12409
12425
|
*/
|
|
12410
12426
|
transcodes: boolean(),
|
|
12411
12427
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12412
|
-
reason: string()
|
|
12428
|
+
reason: string(),
|
|
12429
|
+
/**
|
|
12430
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12431
|
+
*
|
|
12432
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12433
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12434
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12435
|
+
* the same function a second time.
|
|
12436
|
+
*
|
|
12437
|
+
* Absent when the source has no slot, which a caller passing
|
|
12438
|
+
* `requireProfileBound` can never see.
|
|
12439
|
+
*/
|
|
12440
|
+
profile: CamProfileSchema.optional(),
|
|
12441
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12442
|
+
brokerId: string().optional(),
|
|
12443
|
+
/**
|
|
12444
|
+
* The broker restream URL to dial for this stream.
|
|
12445
|
+
*
|
|
12446
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12447
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12448
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12449
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12450
|
+
*/
|
|
12451
|
+
url: string().optional(),
|
|
12452
|
+
/**
|
|
12453
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12454
|
+
* from.
|
|
12455
|
+
*
|
|
12456
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12457
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12458
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12459
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12460
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12461
|
+
* are not interchangeable.
|
|
12462
|
+
*/
|
|
12463
|
+
fps: number().positive().optional(),
|
|
12464
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12413
12465
|
});
|
|
12414
12466
|
/**
|
|
12415
12467
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -13592,6 +13644,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13592
13644
|
locationKey: string(),
|
|
13593
13645
|
icon: LocationIconIdSchema
|
|
13594
13646
|
});
|
|
13647
|
+
/**
|
|
13648
|
+
* One (location, description) assignment as it travels.
|
|
13649
|
+
*
|
|
13650
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13651
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13652
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13653
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13654
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13655
|
+
* off the location itself, on `locationIconKey`.
|
|
13656
|
+
*/
|
|
13657
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13658
|
+
locationKey: string(),
|
|
13659
|
+
description: string()
|
|
13660
|
+
});
|
|
13661
|
+
/**
|
|
13662
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13663
|
+
*
|
|
13664
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13665
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13666
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13667
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13668
|
+
*
|
|
13669
|
+
* ## Why not `zone`
|
|
13670
|
+
*
|
|
13671
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13672
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13673
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13674
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13675
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13676
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13677
|
+
*
|
|
13678
|
+
* ## The key
|
|
13679
|
+
*
|
|
13680
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13681
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13682
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13683
|
+
* silently-dropped location description.
|
|
13684
|
+
*
|
|
13685
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13686
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13687
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13688
|
+
*/
|
|
13689
|
+
/**
|
|
13690
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13691
|
+
* the locations inside it.
|
|
13692
|
+
*
|
|
13693
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13694
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13695
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13696
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13697
|
+
* it has not fetched yet.
|
|
13698
|
+
*
|
|
13699
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13700
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13701
|
+
*/
|
|
13702
|
+
var SiteZoneSchema = object({
|
|
13703
|
+
zoneKey: string(),
|
|
13704
|
+
label: string(),
|
|
13705
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13706
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13707
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13708
|
+
* the ones that most want grouping. */
|
|
13709
|
+
locationKeys: array(string())
|
|
13710
|
+
});
|
|
13595
13711
|
var ProviderStatusSchema = object({
|
|
13596
13712
|
connected: boolean(),
|
|
13597
13713
|
deviceCount: number(),
|
|
@@ -14109,6 +14225,33 @@ method(object({
|
|
|
14109
14225
|
}), _void(), {
|
|
14110
14226
|
kind: "mutation",
|
|
14111
14227
|
auth: "admin"
|
|
14228
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14229
|
+
location: string(),
|
|
14230
|
+
description: string().max(400).nullable()
|
|
14231
|
+
}), _void(), {
|
|
14232
|
+
kind: "mutation",
|
|
14233
|
+
auth: "admin"
|
|
14234
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14235
|
+
name: string(),
|
|
14236
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14237
|
+
}), _void(), {
|
|
14238
|
+
kind: "mutation",
|
|
14239
|
+
auth: "admin"
|
|
14240
|
+
}), method(object({ name: string() }), _void(), {
|
|
14241
|
+
kind: "mutation",
|
|
14242
|
+
auth: "admin"
|
|
14243
|
+
}), method(object({
|
|
14244
|
+
from: string(),
|
|
14245
|
+
to: string()
|
|
14246
|
+
}), _void(), {
|
|
14247
|
+
kind: "mutation",
|
|
14248
|
+
auth: "admin"
|
|
14249
|
+
}), method(object({
|
|
14250
|
+
location: string(),
|
|
14251
|
+
zone: string().nullable()
|
|
14252
|
+
}), _void(), {
|
|
14253
|
+
kind: "mutation",
|
|
14254
|
+
auth: "admin"
|
|
14112
14255
|
}), method(object({
|
|
14113
14256
|
deviceId: number(),
|
|
14114
14257
|
disabled: boolean()
|
|
@@ -36749,6 +36892,12 @@ Object.freeze({
|
|
|
36749
36892
|
addonId: null,
|
|
36750
36893
|
access: "view"
|
|
36751
36894
|
},
|
|
36895
|
+
"deviceManager.listLocationDescriptions": {
|
|
36896
|
+
capName: "device-manager",
|
|
36897
|
+
capScope: "system",
|
|
36898
|
+
addonId: null,
|
|
36899
|
+
access: "view"
|
|
36900
|
+
},
|
|
36752
36901
|
"deviceManager.listLocationIcons": {
|
|
36753
36902
|
capName: "device-manager",
|
|
36754
36903
|
capScope: "system",
|
|
@@ -36767,6 +36916,12 @@ Object.freeze({
|
|
|
36767
36916
|
addonId: null,
|
|
36768
36917
|
access: "view"
|
|
36769
36918
|
},
|
|
36919
|
+
"deviceManager.listSiteZones": {
|
|
36920
|
+
capName: "device-manager",
|
|
36921
|
+
capScope: "system",
|
|
36922
|
+
addonId: null,
|
|
36923
|
+
access: "view"
|
|
36924
|
+
},
|
|
36770
36925
|
"deviceManager.listWrappersForCap": {
|
|
36771
36926
|
capName: "device-manager",
|
|
36772
36927
|
capScope: "system",
|
|
@@ -36851,12 +37006,24 @@ Object.freeze({
|
|
|
36851
37006
|
addonId: null,
|
|
36852
37007
|
access: "delete"
|
|
36853
37008
|
},
|
|
37009
|
+
"deviceManager.removeSiteZone": {
|
|
37010
|
+
capName: "device-manager",
|
|
37011
|
+
capScope: "system",
|
|
37012
|
+
addonId: null,
|
|
37013
|
+
access: "delete"
|
|
37014
|
+
},
|
|
36854
37015
|
"deviceManager.renameLocation": {
|
|
36855
37016
|
capName: "device-manager",
|
|
36856
37017
|
capScope: "system",
|
|
36857
37018
|
addonId: null,
|
|
36858
37019
|
access: "create"
|
|
36859
37020
|
},
|
|
37021
|
+
"deviceManager.renameSiteZone": {
|
|
37022
|
+
capName: "device-manager",
|
|
37023
|
+
capScope: "system",
|
|
37024
|
+
addonId: null,
|
|
37025
|
+
access: "create"
|
|
37026
|
+
},
|
|
36860
37027
|
"deviceManager.runDeviceAction": {
|
|
36861
37028
|
capName: "device-manager",
|
|
36862
37029
|
capScope: "system",
|
|
@@ -36899,12 +37066,24 @@ Object.freeze({
|
|
|
36899
37066
|
addonId: null,
|
|
36900
37067
|
access: "create"
|
|
36901
37068
|
},
|
|
37069
|
+
"deviceManager.setLocationDescription": {
|
|
37070
|
+
capName: "device-manager",
|
|
37071
|
+
capScope: "system",
|
|
37072
|
+
addonId: null,
|
|
37073
|
+
access: "create"
|
|
37074
|
+
},
|
|
36902
37075
|
"deviceManager.setLocationIcon": {
|
|
36903
37076
|
capName: "device-manager",
|
|
36904
37077
|
capScope: "system",
|
|
36905
37078
|
addonId: null,
|
|
36906
37079
|
access: "create"
|
|
36907
37080
|
},
|
|
37081
|
+
"deviceManager.setLocationZone": {
|
|
37082
|
+
capName: "device-manager",
|
|
37083
|
+
capScope: "system",
|
|
37084
|
+
addonId: null,
|
|
37085
|
+
access: "create"
|
|
37086
|
+
},
|
|
36908
37087
|
"deviceManager.setMetadata": {
|
|
36909
37088
|
capName: "device-manager",
|
|
36910
37089
|
capScope: "system",
|
|
@@ -36935,6 +37114,12 @@ Object.freeze({
|
|
|
36935
37114
|
addonId: null,
|
|
36936
37115
|
access: "create"
|
|
36937
37116
|
},
|
|
37117
|
+
"deviceManager.setSiteZone": {
|
|
37118
|
+
capName: "device-manager",
|
|
37119
|
+
capScope: "system",
|
|
37120
|
+
addonId: null,
|
|
37121
|
+
access: "create"
|
|
37122
|
+
},
|
|
36938
37123
|
"deviceManager.setStreamProfileMap": {
|
|
36939
37124
|
capName: "device-manager",
|
|
36940
37125
|
capScope: "system",
|