@camstack/addon-provider-dreo 0.2.18 → 0.2.19
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 +36 -1
- package/dist/addon.mjs +36 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19455,7 +19455,31 @@ DeviceType.Camera, method(object({
|
|
|
19455
19455
|
lastCapturedAt: number().nullable(),
|
|
19456
19456
|
cacheAgeMs: number().nullable(),
|
|
19457
19457
|
etag: string().nullable()
|
|
19458
|
-
}))), systemMethod(object({
|
|
19458
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19459
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19460
|
+
battery: object({
|
|
19461
|
+
sleeping: boolean(),
|
|
19462
|
+
lastUpdated: number(),
|
|
19463
|
+
lastContactAt: number().optional()
|
|
19464
|
+
}).nullable(),
|
|
19465
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19466
|
+
state: object({
|
|
19467
|
+
isBattery: boolean(),
|
|
19468
|
+
reason: _enum([
|
|
19469
|
+
"disabled",
|
|
19470
|
+
"sleeping",
|
|
19471
|
+
"unreachable",
|
|
19472
|
+
"waking"
|
|
19473
|
+
]).nullable()
|
|
19474
|
+
}),
|
|
19475
|
+
/** The cached frame behind the next paint. */
|
|
19476
|
+
frame: object({
|
|
19477
|
+
capturedAt: number().nullable(),
|
|
19478
|
+
ageMs: number().nullable()
|
|
19479
|
+
}),
|
|
19480
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19481
|
+
waking: boolean()
|
|
19482
|
+
})), systemMethod(object({
|
|
19459
19483
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19460
19484
|
* width) the caller will paint — the width is snapped to the server's
|
|
19461
19485
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -34051,6 +34075,12 @@ Object.freeze({
|
|
|
34051
34075
|
addonId: null,
|
|
34052
34076
|
access: "view"
|
|
34053
34077
|
},
|
|
34078
|
+
"snapshot.getDebugState": {
|
|
34079
|
+
capName: "snapshot",
|
|
34080
|
+
capScope: "device",
|
|
34081
|
+
addonId: null,
|
|
34082
|
+
access: "view"
|
|
34083
|
+
},
|
|
34054
34084
|
"snapshot.getSnapshot": {
|
|
34055
34085
|
capName: "snapshot",
|
|
34056
34086
|
capScope: "device",
|
|
@@ -36648,6 +36678,11 @@ Object.freeze({
|
|
|
36648
36678
|
form: "single",
|
|
36649
36679
|
optional: false
|
|
36650
36680
|
}],
|
|
36681
|
+
"snapshot.getDebugState": [{
|
|
36682
|
+
name: "deviceId",
|
|
36683
|
+
form: "single",
|
|
36684
|
+
optional: false
|
|
36685
|
+
}],
|
|
36651
36686
|
"snapshot.getSnapshot": [{
|
|
36652
36687
|
name: "deviceId",
|
|
36653
36688
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -19456,7 +19456,31 @@ DeviceType.Camera, method(object({
|
|
|
19456
19456
|
lastCapturedAt: number().nullable(),
|
|
19457
19457
|
cacheAgeMs: number().nullable(),
|
|
19458
19458
|
etag: string().nullable()
|
|
19459
|
-
}))), systemMethod(object({
|
|
19459
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19460
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19461
|
+
battery: object({
|
|
19462
|
+
sleeping: boolean(),
|
|
19463
|
+
lastUpdated: number(),
|
|
19464
|
+
lastContactAt: number().optional()
|
|
19465
|
+
}).nullable(),
|
|
19466
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19467
|
+
state: object({
|
|
19468
|
+
isBattery: boolean(),
|
|
19469
|
+
reason: _enum([
|
|
19470
|
+
"disabled",
|
|
19471
|
+
"sleeping",
|
|
19472
|
+
"unreachable",
|
|
19473
|
+
"waking"
|
|
19474
|
+
]).nullable()
|
|
19475
|
+
}),
|
|
19476
|
+
/** The cached frame behind the next paint. */
|
|
19477
|
+
frame: object({
|
|
19478
|
+
capturedAt: number().nullable(),
|
|
19479
|
+
ageMs: number().nullable()
|
|
19480
|
+
}),
|
|
19481
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19482
|
+
waking: boolean()
|
|
19483
|
+
})), systemMethod(object({
|
|
19460
19484
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19461
19485
|
* width) the caller will paint — the width is snapped to the server's
|
|
19462
19486
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -34052,6 +34076,12 @@ Object.freeze({
|
|
|
34052
34076
|
addonId: null,
|
|
34053
34077
|
access: "view"
|
|
34054
34078
|
},
|
|
34079
|
+
"snapshot.getDebugState": {
|
|
34080
|
+
capName: "snapshot",
|
|
34081
|
+
capScope: "device",
|
|
34082
|
+
addonId: null,
|
|
34083
|
+
access: "view"
|
|
34084
|
+
},
|
|
34055
34085
|
"snapshot.getSnapshot": {
|
|
34056
34086
|
capName: "snapshot",
|
|
34057
34087
|
capScope: "device",
|
|
@@ -36649,6 +36679,11 @@ Object.freeze({
|
|
|
36649
36679
|
form: "single",
|
|
36650
36680
|
optional: false
|
|
36651
36681
|
}],
|
|
36682
|
+
"snapshot.getDebugState": [{
|
|
36683
|
+
name: "deviceId",
|
|
36684
|
+
form: "single",
|
|
36685
|
+
optional: false
|
|
36686
|
+
}],
|
|
36652
36687
|
"snapshot.getSnapshot": [{
|
|
36653
36688
|
name: "deviceId",
|
|
36654
36689
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|