@camstack/addon-notifiers 1.2.22 → 1.2.24
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 +44 -2
- package/dist/addon.mjs +44 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19248,7 +19248,31 @@ DeviceType.Camera, method(object({
|
|
|
19248
19248
|
lastCapturedAt: number().nullable(),
|
|
19249
19249
|
cacheAgeMs: number().nullable(),
|
|
19250
19250
|
etag: string().nullable()
|
|
19251
|
-
}))), systemMethod(object({
|
|
19251
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19252
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19253
|
+
battery: object({
|
|
19254
|
+
sleeping: boolean(),
|
|
19255
|
+
lastUpdated: number(),
|
|
19256
|
+
lastContactAt: number().optional()
|
|
19257
|
+
}).nullable(),
|
|
19258
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19259
|
+
state: object({
|
|
19260
|
+
isBattery: boolean(),
|
|
19261
|
+
reason: _enum([
|
|
19262
|
+
"disabled",
|
|
19263
|
+
"sleeping",
|
|
19264
|
+
"unreachable",
|
|
19265
|
+
"waking"
|
|
19266
|
+
]).nullable()
|
|
19267
|
+
}),
|
|
19268
|
+
/** The cached frame behind the next paint. */
|
|
19269
|
+
frame: object({
|
|
19270
|
+
capturedAt: number().nullable(),
|
|
19271
|
+
ageMs: number().nullable()
|
|
19272
|
+
}),
|
|
19273
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19274
|
+
waking: boolean()
|
|
19275
|
+
})), systemMethod(object({
|
|
19252
19276
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19253
19277
|
* width) the caller will paint — the width is snapped to the server's
|
|
19254
19278
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -19287,7 +19311,14 @@ targets: array(object({
|
|
|
19287
19311
|
"sleeping",
|
|
19288
19312
|
"unreachable",
|
|
19289
19313
|
"waking"
|
|
19290
|
-
]).nullable()
|
|
19314
|
+
]).nullable(),
|
|
19315
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19316
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19317
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19318
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19319
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19320
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19321
|
+
battery: boolean()
|
|
19291
19322
|
})));
|
|
19292
19323
|
/**
|
|
19293
19324
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -30463,6 +30494,12 @@ Object.freeze({
|
|
|
30463
30494
|
addonId: null,
|
|
30464
30495
|
access: "view"
|
|
30465
30496
|
},
|
|
30497
|
+
"snapshot.getDebugState": {
|
|
30498
|
+
capName: "snapshot",
|
|
30499
|
+
capScope: "device",
|
|
30500
|
+
addonId: null,
|
|
30501
|
+
access: "view"
|
|
30502
|
+
},
|
|
30466
30503
|
"snapshot.getSnapshot": {
|
|
30467
30504
|
capName: "snapshot",
|
|
30468
30505
|
capScope: "device",
|
|
@@ -33060,6 +33097,11 @@ Object.freeze({
|
|
|
33060
33097
|
form: "single",
|
|
33061
33098
|
optional: false
|
|
33062
33099
|
}],
|
|
33100
|
+
"snapshot.getDebugState": [{
|
|
33101
|
+
name: "deviceId",
|
|
33102
|
+
form: "single",
|
|
33103
|
+
optional: false
|
|
33104
|
+
}],
|
|
33063
33105
|
"snapshot.getSnapshot": [{
|
|
33064
33106
|
name: "deviceId",
|
|
33065
33107
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -19221,7 +19221,31 @@ DeviceType.Camera, method(object({
|
|
|
19221
19221
|
lastCapturedAt: number().nullable(),
|
|
19222
19222
|
cacheAgeMs: number().nullable(),
|
|
19223
19223
|
etag: string().nullable()
|
|
19224
|
-
}))), systemMethod(object({
|
|
19224
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19225
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19226
|
+
battery: object({
|
|
19227
|
+
sleeping: boolean(),
|
|
19228
|
+
lastUpdated: number(),
|
|
19229
|
+
lastContactAt: number().optional()
|
|
19230
|
+
}).nullable(),
|
|
19231
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19232
|
+
state: object({
|
|
19233
|
+
isBattery: boolean(),
|
|
19234
|
+
reason: _enum([
|
|
19235
|
+
"disabled",
|
|
19236
|
+
"sleeping",
|
|
19237
|
+
"unreachable",
|
|
19238
|
+
"waking"
|
|
19239
|
+
]).nullable()
|
|
19240
|
+
}),
|
|
19241
|
+
/** The cached frame behind the next paint. */
|
|
19242
|
+
frame: object({
|
|
19243
|
+
capturedAt: number().nullable(),
|
|
19244
|
+
ageMs: number().nullable()
|
|
19245
|
+
}),
|
|
19246
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19247
|
+
waking: boolean()
|
|
19248
|
+
})), systemMethod(object({
|
|
19225
19249
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19226
19250
|
* width) the caller will paint — the width is snapped to the server's
|
|
19227
19251
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -19260,7 +19284,14 @@ targets: array(object({
|
|
|
19260
19284
|
"sleeping",
|
|
19261
19285
|
"unreachable",
|
|
19262
19286
|
"waking"
|
|
19263
|
-
]).nullable()
|
|
19287
|
+
]).nullable(),
|
|
19288
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19289
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19290
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19291
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19292
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19293
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19294
|
+
battery: boolean()
|
|
19264
19295
|
})));
|
|
19265
19296
|
/**
|
|
19266
19297
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -30436,6 +30467,12 @@ Object.freeze({
|
|
|
30436
30467
|
addonId: null,
|
|
30437
30468
|
access: "view"
|
|
30438
30469
|
},
|
|
30470
|
+
"snapshot.getDebugState": {
|
|
30471
|
+
capName: "snapshot",
|
|
30472
|
+
capScope: "device",
|
|
30473
|
+
addonId: null,
|
|
30474
|
+
access: "view"
|
|
30475
|
+
},
|
|
30439
30476
|
"snapshot.getSnapshot": {
|
|
30440
30477
|
capName: "snapshot",
|
|
30441
30478
|
capScope: "device",
|
|
@@ -33033,6 +33070,11 @@ Object.freeze({
|
|
|
33033
33070
|
form: "single",
|
|
33034
33071
|
optional: false
|
|
33035
33072
|
}],
|
|
33073
|
+
"snapshot.getDebugState": [{
|
|
33074
|
+
name: "deviceId",
|
|
33075
|
+
form: "single",
|
|
33076
|
+
optional: false
|
|
33077
|
+
}],
|
|
33036
33078
|
"snapshot.getSnapshot": [{
|
|
33037
33079
|
name: "deviceId",
|
|
33038
33080
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-notifiers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.24",
|
|
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",
|