@camstack/addon-notifiers 1.2.110 → 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.
- package/dist/addon.js +187 -2
- package/dist/addon.mjs +187 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -12435,7 +12435,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12435
12435
|
* This is what lets one picker serve both the bypass and the full source
|
|
12436
12436
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12437
12437
|
*/
|
|
12438
|
-
allowTranscode: boolean().optional()
|
|
12438
|
+
allowTranscode: boolean().optional(),
|
|
12439
|
+
/**
|
|
12440
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12441
|
+
*
|
|
12442
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12443
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12444
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12445
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12446
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12447
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12448
|
+
*
|
|
12449
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12450
|
+
* here when it decides which source to BIND to a slot
|
|
12451
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12452
|
+
* could never bind them.
|
|
12453
|
+
*/
|
|
12454
|
+
requireProfileBound: boolean().optional()
|
|
12439
12455
|
}).readonly();
|
|
12440
12456
|
var PickStreamPreferencesSchema = object({
|
|
12441
12457
|
/**
|
|
@@ -12476,7 +12492,43 @@ var PickedCamStreamSchema = object({
|
|
|
12476
12492
|
*/
|
|
12477
12493
|
transcodes: boolean(),
|
|
12478
12494
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12479
|
-
reason: string()
|
|
12495
|
+
reason: string(),
|
|
12496
|
+
/**
|
|
12497
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12498
|
+
*
|
|
12499
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12500
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12501
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12502
|
+
* the same function a second time.
|
|
12503
|
+
*
|
|
12504
|
+
* Absent when the source has no slot, which a caller passing
|
|
12505
|
+
* `requireProfileBound` can never see.
|
|
12506
|
+
*/
|
|
12507
|
+
profile: CamProfileSchema.optional(),
|
|
12508
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12509
|
+
brokerId: string().optional(),
|
|
12510
|
+
/**
|
|
12511
|
+
* The broker restream URL to dial for this stream.
|
|
12512
|
+
*
|
|
12513
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12514
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12515
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12516
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12517
|
+
*/
|
|
12518
|
+
url: string().optional(),
|
|
12519
|
+
/**
|
|
12520
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12521
|
+
* from.
|
|
12522
|
+
*
|
|
12523
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12524
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12525
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12526
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12527
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12528
|
+
* are not interchangeable.
|
|
12529
|
+
*/
|
|
12530
|
+
fps: number().positive().optional(),
|
|
12531
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12480
12532
|
});
|
|
12481
12533
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CameraStreamSchema).readonly()), method(object({ deviceId: number().int().nonnegative() }), array(ProfileSlotSchema).readonly()), method(object({
|
|
12482
12534
|
deviceId: number().int().nonnegative(),
|
|
@@ -13450,6 +13502,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13450
13502
|
locationKey: string(),
|
|
13451
13503
|
icon: LocationIconIdSchema
|
|
13452
13504
|
});
|
|
13505
|
+
/**
|
|
13506
|
+
* One (location, description) assignment as it travels.
|
|
13507
|
+
*
|
|
13508
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13509
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13510
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13511
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13512
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13513
|
+
* off the location itself, on `locationIconKey`.
|
|
13514
|
+
*/
|
|
13515
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13516
|
+
locationKey: string(),
|
|
13517
|
+
description: string()
|
|
13518
|
+
});
|
|
13519
|
+
/**
|
|
13520
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13521
|
+
*
|
|
13522
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13523
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13524
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13525
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13526
|
+
*
|
|
13527
|
+
* ## Why not `zone`
|
|
13528
|
+
*
|
|
13529
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13530
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13531
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13532
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13533
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13534
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13535
|
+
*
|
|
13536
|
+
* ## The key
|
|
13537
|
+
*
|
|
13538
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13539
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13540
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13541
|
+
* silently-dropped location description.
|
|
13542
|
+
*
|
|
13543
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13544
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13545
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13546
|
+
*/
|
|
13547
|
+
/**
|
|
13548
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13549
|
+
* the locations inside it.
|
|
13550
|
+
*
|
|
13551
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13552
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13553
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13554
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13555
|
+
* it has not fetched yet.
|
|
13556
|
+
*
|
|
13557
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13558
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13559
|
+
*/
|
|
13560
|
+
var SiteZoneSchema = object({
|
|
13561
|
+
zoneKey: string(),
|
|
13562
|
+
label: string(),
|
|
13563
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13564
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13565
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13566
|
+
* the ones that most want grouping. */
|
|
13567
|
+
locationKeys: array(string())
|
|
13568
|
+
});
|
|
13453
13569
|
var ProviderStatusSchema = object({
|
|
13454
13570
|
connected: boolean(),
|
|
13455
13571
|
deviceCount: number(),
|
|
@@ -13967,6 +14083,33 @@ method(object({
|
|
|
13967
14083
|
}), _void(), {
|
|
13968
14084
|
kind: "mutation",
|
|
13969
14085
|
auth: "admin"
|
|
14086
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14087
|
+
location: string(),
|
|
14088
|
+
description: string().max(400).nullable()
|
|
14089
|
+
}), _void(), {
|
|
14090
|
+
kind: "mutation",
|
|
14091
|
+
auth: "admin"
|
|
14092
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14093
|
+
name: string(),
|
|
14094
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14095
|
+
}), _void(), {
|
|
14096
|
+
kind: "mutation",
|
|
14097
|
+
auth: "admin"
|
|
14098
|
+
}), method(object({ name: string() }), _void(), {
|
|
14099
|
+
kind: "mutation",
|
|
14100
|
+
auth: "admin"
|
|
14101
|
+
}), method(object({
|
|
14102
|
+
from: string(),
|
|
14103
|
+
to: string()
|
|
14104
|
+
}), _void(), {
|
|
14105
|
+
kind: "mutation",
|
|
14106
|
+
auth: "admin"
|
|
14107
|
+
}), method(object({
|
|
14108
|
+
location: string(),
|
|
14109
|
+
zone: string().nullable()
|
|
14110
|
+
}), _void(), {
|
|
14111
|
+
kind: "mutation",
|
|
14112
|
+
auth: "admin"
|
|
13970
14113
|
}), method(object({
|
|
13971
14114
|
deviceId: number(),
|
|
13972
14115
|
disabled: boolean()
|
|
@@ -32804,6 +32947,12 @@ Object.freeze({
|
|
|
32804
32947
|
addonId: null,
|
|
32805
32948
|
access: "view"
|
|
32806
32949
|
},
|
|
32950
|
+
"deviceManager.listLocationDescriptions": {
|
|
32951
|
+
capName: "device-manager",
|
|
32952
|
+
capScope: "system",
|
|
32953
|
+
addonId: null,
|
|
32954
|
+
access: "view"
|
|
32955
|
+
},
|
|
32807
32956
|
"deviceManager.listLocationIcons": {
|
|
32808
32957
|
capName: "device-manager",
|
|
32809
32958
|
capScope: "system",
|
|
@@ -32822,6 +32971,12 @@ Object.freeze({
|
|
|
32822
32971
|
addonId: null,
|
|
32823
32972
|
access: "view"
|
|
32824
32973
|
},
|
|
32974
|
+
"deviceManager.listSiteZones": {
|
|
32975
|
+
capName: "device-manager",
|
|
32976
|
+
capScope: "system",
|
|
32977
|
+
addonId: null,
|
|
32978
|
+
access: "view"
|
|
32979
|
+
},
|
|
32825
32980
|
"deviceManager.listWrappersForCap": {
|
|
32826
32981
|
capName: "device-manager",
|
|
32827
32982
|
capScope: "system",
|
|
@@ -32906,12 +33061,24 @@ Object.freeze({
|
|
|
32906
33061
|
addonId: null,
|
|
32907
33062
|
access: "delete"
|
|
32908
33063
|
},
|
|
33064
|
+
"deviceManager.removeSiteZone": {
|
|
33065
|
+
capName: "device-manager",
|
|
33066
|
+
capScope: "system",
|
|
33067
|
+
addonId: null,
|
|
33068
|
+
access: "delete"
|
|
33069
|
+
},
|
|
32909
33070
|
"deviceManager.renameLocation": {
|
|
32910
33071
|
capName: "device-manager",
|
|
32911
33072
|
capScope: "system",
|
|
32912
33073
|
addonId: null,
|
|
32913
33074
|
access: "create"
|
|
32914
33075
|
},
|
|
33076
|
+
"deviceManager.renameSiteZone": {
|
|
33077
|
+
capName: "device-manager",
|
|
33078
|
+
capScope: "system",
|
|
33079
|
+
addonId: null,
|
|
33080
|
+
access: "create"
|
|
33081
|
+
},
|
|
32915
33082
|
"deviceManager.runDeviceAction": {
|
|
32916
33083
|
capName: "device-manager",
|
|
32917
33084
|
capScope: "system",
|
|
@@ -32954,12 +33121,24 @@ Object.freeze({
|
|
|
32954
33121
|
addonId: null,
|
|
32955
33122
|
access: "create"
|
|
32956
33123
|
},
|
|
33124
|
+
"deviceManager.setLocationDescription": {
|
|
33125
|
+
capName: "device-manager",
|
|
33126
|
+
capScope: "system",
|
|
33127
|
+
addonId: null,
|
|
33128
|
+
access: "create"
|
|
33129
|
+
},
|
|
32957
33130
|
"deviceManager.setLocationIcon": {
|
|
32958
33131
|
capName: "device-manager",
|
|
32959
33132
|
capScope: "system",
|
|
32960
33133
|
addonId: null,
|
|
32961
33134
|
access: "create"
|
|
32962
33135
|
},
|
|
33136
|
+
"deviceManager.setLocationZone": {
|
|
33137
|
+
capName: "device-manager",
|
|
33138
|
+
capScope: "system",
|
|
33139
|
+
addonId: null,
|
|
33140
|
+
access: "create"
|
|
33141
|
+
},
|
|
32963
33142
|
"deviceManager.setMetadata": {
|
|
32964
33143
|
capName: "device-manager",
|
|
32965
33144
|
capScope: "system",
|
|
@@ -32990,6 +33169,12 @@ Object.freeze({
|
|
|
32990
33169
|
addonId: null,
|
|
32991
33170
|
access: "create"
|
|
32992
33171
|
},
|
|
33172
|
+
"deviceManager.setSiteZone": {
|
|
33173
|
+
capName: "device-manager",
|
|
33174
|
+
capScope: "system",
|
|
33175
|
+
addonId: null,
|
|
33176
|
+
access: "create"
|
|
33177
|
+
},
|
|
32993
33178
|
"deviceManager.setStreamProfileMap": {
|
|
32994
33179
|
capName: "device-manager",
|
|
32995
33180
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -12408,7 +12408,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12408
12408
|
* This is what lets one picker serve both the bypass and the full source
|
|
12409
12409
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12410
12410
|
*/
|
|
12411
|
-
allowTranscode: boolean().optional()
|
|
12411
|
+
allowTranscode: boolean().optional(),
|
|
12412
|
+
/**
|
|
12413
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12414
|
+
*
|
|
12415
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12416
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12417
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12418
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12419
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12420
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12421
|
+
*
|
|
12422
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12423
|
+
* here when it decides which source to BIND to a slot
|
|
12424
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12425
|
+
* could never bind them.
|
|
12426
|
+
*/
|
|
12427
|
+
requireProfileBound: boolean().optional()
|
|
12412
12428
|
}).readonly();
|
|
12413
12429
|
var PickStreamPreferencesSchema = object({
|
|
12414
12430
|
/**
|
|
@@ -12449,7 +12465,43 @@ var PickedCamStreamSchema = object({
|
|
|
12449
12465
|
*/
|
|
12450
12466
|
transcodes: boolean(),
|
|
12451
12467
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12452
|
-
reason: string()
|
|
12468
|
+
reason: string(),
|
|
12469
|
+
/**
|
|
12470
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12471
|
+
*
|
|
12472
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12473
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12474
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12475
|
+
* the same function a second time.
|
|
12476
|
+
*
|
|
12477
|
+
* Absent when the source has no slot, which a caller passing
|
|
12478
|
+
* `requireProfileBound` can never see.
|
|
12479
|
+
*/
|
|
12480
|
+
profile: CamProfileSchema.optional(),
|
|
12481
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12482
|
+
brokerId: string().optional(),
|
|
12483
|
+
/**
|
|
12484
|
+
* The broker restream URL to dial for this stream.
|
|
12485
|
+
*
|
|
12486
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12487
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12488
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12489
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12490
|
+
*/
|
|
12491
|
+
url: string().optional(),
|
|
12492
|
+
/**
|
|
12493
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12494
|
+
* from.
|
|
12495
|
+
*
|
|
12496
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12497
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12498
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12499
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12500
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12501
|
+
* are not interchangeable.
|
|
12502
|
+
*/
|
|
12503
|
+
fps: number().positive().optional(),
|
|
12504
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12453
12505
|
});
|
|
12454
12506
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CameraStreamSchema).readonly()), method(object({ deviceId: number().int().nonnegative() }), array(ProfileSlotSchema).readonly()), method(object({
|
|
12455
12507
|
deviceId: number().int().nonnegative(),
|
|
@@ -13423,6 +13475,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13423
13475
|
locationKey: string(),
|
|
13424
13476
|
icon: LocationIconIdSchema
|
|
13425
13477
|
});
|
|
13478
|
+
/**
|
|
13479
|
+
* One (location, description) assignment as it travels.
|
|
13480
|
+
*
|
|
13481
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13482
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13483
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13484
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13485
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13486
|
+
* off the location itself, on `locationIconKey`.
|
|
13487
|
+
*/
|
|
13488
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13489
|
+
locationKey: string(),
|
|
13490
|
+
description: string()
|
|
13491
|
+
});
|
|
13492
|
+
/**
|
|
13493
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13494
|
+
*
|
|
13495
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13496
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13497
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13498
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13499
|
+
*
|
|
13500
|
+
* ## Why not `zone`
|
|
13501
|
+
*
|
|
13502
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13503
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13504
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13505
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13506
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13507
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13508
|
+
*
|
|
13509
|
+
* ## The key
|
|
13510
|
+
*
|
|
13511
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13512
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13513
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13514
|
+
* silently-dropped location description.
|
|
13515
|
+
*
|
|
13516
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13517
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13518
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13519
|
+
*/
|
|
13520
|
+
/**
|
|
13521
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13522
|
+
* the locations inside it.
|
|
13523
|
+
*
|
|
13524
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13525
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13526
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13527
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13528
|
+
* it has not fetched yet.
|
|
13529
|
+
*
|
|
13530
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13531
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13532
|
+
*/
|
|
13533
|
+
var SiteZoneSchema = object({
|
|
13534
|
+
zoneKey: string(),
|
|
13535
|
+
label: string(),
|
|
13536
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13537
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13538
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13539
|
+
* the ones that most want grouping. */
|
|
13540
|
+
locationKeys: array(string())
|
|
13541
|
+
});
|
|
13426
13542
|
var ProviderStatusSchema = object({
|
|
13427
13543
|
connected: boolean(),
|
|
13428
13544
|
deviceCount: number(),
|
|
@@ -13940,6 +14056,33 @@ method(object({
|
|
|
13940
14056
|
}), _void(), {
|
|
13941
14057
|
kind: "mutation",
|
|
13942
14058
|
auth: "admin"
|
|
14059
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14060
|
+
location: string(),
|
|
14061
|
+
description: string().max(400).nullable()
|
|
14062
|
+
}), _void(), {
|
|
14063
|
+
kind: "mutation",
|
|
14064
|
+
auth: "admin"
|
|
14065
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14066
|
+
name: string(),
|
|
14067
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14068
|
+
}), _void(), {
|
|
14069
|
+
kind: "mutation",
|
|
14070
|
+
auth: "admin"
|
|
14071
|
+
}), method(object({ name: string() }), _void(), {
|
|
14072
|
+
kind: "mutation",
|
|
14073
|
+
auth: "admin"
|
|
14074
|
+
}), method(object({
|
|
14075
|
+
from: string(),
|
|
14076
|
+
to: string()
|
|
14077
|
+
}), _void(), {
|
|
14078
|
+
kind: "mutation",
|
|
14079
|
+
auth: "admin"
|
|
14080
|
+
}), method(object({
|
|
14081
|
+
location: string(),
|
|
14082
|
+
zone: string().nullable()
|
|
14083
|
+
}), _void(), {
|
|
14084
|
+
kind: "mutation",
|
|
14085
|
+
auth: "admin"
|
|
13943
14086
|
}), method(object({
|
|
13944
14087
|
deviceId: number(),
|
|
13945
14088
|
disabled: boolean()
|
|
@@ -32777,6 +32920,12 @@ Object.freeze({
|
|
|
32777
32920
|
addonId: null,
|
|
32778
32921
|
access: "view"
|
|
32779
32922
|
},
|
|
32923
|
+
"deviceManager.listLocationDescriptions": {
|
|
32924
|
+
capName: "device-manager",
|
|
32925
|
+
capScope: "system",
|
|
32926
|
+
addonId: null,
|
|
32927
|
+
access: "view"
|
|
32928
|
+
},
|
|
32780
32929
|
"deviceManager.listLocationIcons": {
|
|
32781
32930
|
capName: "device-manager",
|
|
32782
32931
|
capScope: "system",
|
|
@@ -32795,6 +32944,12 @@ Object.freeze({
|
|
|
32795
32944
|
addonId: null,
|
|
32796
32945
|
access: "view"
|
|
32797
32946
|
},
|
|
32947
|
+
"deviceManager.listSiteZones": {
|
|
32948
|
+
capName: "device-manager",
|
|
32949
|
+
capScope: "system",
|
|
32950
|
+
addonId: null,
|
|
32951
|
+
access: "view"
|
|
32952
|
+
},
|
|
32798
32953
|
"deviceManager.listWrappersForCap": {
|
|
32799
32954
|
capName: "device-manager",
|
|
32800
32955
|
capScope: "system",
|
|
@@ -32879,12 +33034,24 @@ Object.freeze({
|
|
|
32879
33034
|
addonId: null,
|
|
32880
33035
|
access: "delete"
|
|
32881
33036
|
},
|
|
33037
|
+
"deviceManager.removeSiteZone": {
|
|
33038
|
+
capName: "device-manager",
|
|
33039
|
+
capScope: "system",
|
|
33040
|
+
addonId: null,
|
|
33041
|
+
access: "delete"
|
|
33042
|
+
},
|
|
32882
33043
|
"deviceManager.renameLocation": {
|
|
32883
33044
|
capName: "device-manager",
|
|
32884
33045
|
capScope: "system",
|
|
32885
33046
|
addonId: null,
|
|
32886
33047
|
access: "create"
|
|
32887
33048
|
},
|
|
33049
|
+
"deviceManager.renameSiteZone": {
|
|
33050
|
+
capName: "device-manager",
|
|
33051
|
+
capScope: "system",
|
|
33052
|
+
addonId: null,
|
|
33053
|
+
access: "create"
|
|
33054
|
+
},
|
|
32888
33055
|
"deviceManager.runDeviceAction": {
|
|
32889
33056
|
capName: "device-manager",
|
|
32890
33057
|
capScope: "system",
|
|
@@ -32927,12 +33094,24 @@ Object.freeze({
|
|
|
32927
33094
|
addonId: null,
|
|
32928
33095
|
access: "create"
|
|
32929
33096
|
},
|
|
33097
|
+
"deviceManager.setLocationDescription": {
|
|
33098
|
+
capName: "device-manager",
|
|
33099
|
+
capScope: "system",
|
|
33100
|
+
addonId: null,
|
|
33101
|
+
access: "create"
|
|
33102
|
+
},
|
|
32930
33103
|
"deviceManager.setLocationIcon": {
|
|
32931
33104
|
capName: "device-manager",
|
|
32932
33105
|
capScope: "system",
|
|
32933
33106
|
addonId: null,
|
|
32934
33107
|
access: "create"
|
|
32935
33108
|
},
|
|
33109
|
+
"deviceManager.setLocationZone": {
|
|
33110
|
+
capName: "device-manager",
|
|
33111
|
+
capScope: "system",
|
|
33112
|
+
addonId: null,
|
|
33113
|
+
access: "create"
|
|
33114
|
+
},
|
|
32936
33115
|
"deviceManager.setMetadata": {
|
|
32937
33116
|
capName: "device-manager",
|
|
32938
33117
|
capScope: "system",
|
|
@@ -32963,6 +33142,12 @@ Object.freeze({
|
|
|
32963
33142
|
addonId: null,
|
|
32964
33143
|
access: "create"
|
|
32965
33144
|
},
|
|
33145
|
+
"deviceManager.setSiteZone": {
|
|
33146
|
+
capName: "device-manager",
|
|
33147
|
+
capScope: "system",
|
|
33148
|
+
addonId: null,
|
|
33149
|
+
access: "create"
|
|
33150
|
+
},
|
|
32966
33151
|
"deviceManager.setStreamProfileMap": {
|
|
32967
33152
|
capName: "device-manager",
|
|
32968
33153
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-notifiers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.112",
|
|
4
4
|
"description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|