@camstack/addon-provider-tuya 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
|
@@ -8771,13 +8771,28 @@ var RecordingBandSchema = object({
|
|
|
8771
8771
|
end: string().regex(HHMM),
|
|
8772
8772
|
mode: RecordingBandModeSchema,
|
|
8773
8773
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8774
|
+
/**
|
|
8775
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8776
|
+
*
|
|
8777
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8778
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8779
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8780
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8781
|
+
* expression of the broker's retention, in different units, in a different
|
|
8782
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8783
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8784
|
+
* left to configure here.
|
|
8785
|
+
*
|
|
8786
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8787
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8788
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8789
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8790
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8791
|
+
*/
|
|
8774
8792
|
preBufferSec: number().min(0).optional(),
|
|
8775
8793
|
postBufferSec: number().min(0).optional()
|
|
8776
8794
|
});
|
|
8777
|
-
({
|
|
8778
|
-
preBufferSec: 15,
|
|
8779
|
-
postBufferSec: 30
|
|
8780
|
-
}).postBufferSec * 1e3;
|
|
8795
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8781
8796
|
/**
|
|
8782
8797
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8783
8798
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
package/dist/addon.mjs
CHANGED
|
@@ -8770,13 +8770,28 @@ var RecordingBandSchema = object({
|
|
|
8770
8770
|
end: string().regex(HHMM),
|
|
8771
8771
|
mode: RecordingBandModeSchema,
|
|
8772
8772
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8773
|
+
/**
|
|
8774
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8775
|
+
*
|
|
8776
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8777
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8778
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8779
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8780
|
+
* expression of the broker's retention, in different units, in a different
|
|
8781
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8782
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8783
|
+
* left to configure here.
|
|
8784
|
+
*
|
|
8785
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8786
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8787
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8788
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8789
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8790
|
+
*/
|
|
8773
8791
|
preBufferSec: number().min(0).optional(),
|
|
8774
8792
|
postBufferSec: number().min(0).optional()
|
|
8775
8793
|
});
|
|
8776
|
-
({
|
|
8777
|
-
preBufferSec: 15,
|
|
8778
|
-
postBufferSec: 30
|
|
8779
|
-
}).postBufferSec * 1e3;
|
|
8794
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8780
8795
|
/**
|
|
8781
8796
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8782
8797
|
* 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-tuya",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.77",
|
|
4
4
|
"description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|