@camstack/addon-provider-dreo 0.2.76 → 0.2.77
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 +19 -4
- package/dist/addon.mjs +19 -4
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -7987,13 +7987,28 @@ var RecordingBandSchema = object({
|
|
|
7987
7987
|
end: string().regex(HHMM),
|
|
7988
7988
|
mode: RecordingBandModeSchema,
|
|
7989
7989
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7990
|
+
/**
|
|
7991
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7992
|
+
*
|
|
7993
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7994
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7995
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7996
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7997
|
+
* expression of the broker's retention, in different units, in a different
|
|
7998
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
7999
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8000
|
+
* left to configure here.
|
|
8001
|
+
*
|
|
8002
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8003
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8004
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8005
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8006
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8007
|
+
*/
|
|
7990
8008
|
preBufferSec: number().min(0).optional(),
|
|
7991
8009
|
postBufferSec: number().min(0).optional()
|
|
7992
8010
|
});
|
|
7993
|
-
({
|
|
7994
|
-
preBufferSec: 15,
|
|
7995
|
-
postBufferSec: 30
|
|
7996
|
-
}).postBufferSec * 1e3;
|
|
8011
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7997
8012
|
/**
|
|
7998
8013
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7999
8014
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
package/dist/addon.mjs
CHANGED
|
@@ -7988,13 +7988,28 @@ var RecordingBandSchema = object({
|
|
|
7988
7988
|
end: string().regex(HHMM),
|
|
7989
7989
|
mode: RecordingBandModeSchema,
|
|
7990
7990
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7991
|
+
/**
|
|
7992
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7993
|
+
*
|
|
7994
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7995
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7996
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7997
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7998
|
+
* expression of the broker's retention, in different units, in a different
|
|
7999
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8000
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8001
|
+
* left to configure here.
|
|
8002
|
+
*
|
|
8003
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8004
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8005
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8006
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8007
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8008
|
+
*/
|
|
7991
8009
|
preBufferSec: number().min(0).optional(),
|
|
7992
8010
|
postBufferSec: number().min(0).optional()
|
|
7993
8011
|
});
|
|
7994
|
-
({
|
|
7995
|
-
preBufferSec: 15,
|
|
7996
|
-
postBufferSec: 30
|
|
7997
|
-
}).postBufferSec * 1e3;
|
|
8012
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7998
8013
|
/**
|
|
7999
8014
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8000
8015
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
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.77",
|
|
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",
|