@camstack/addon-provider-dreame 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 CHANGED
@@ -60624,13 +60624,28 @@ var RecordingBandSchema = object({
60624
60624
  end: string().regex(HHMM),
60625
60625
  mode: RecordingBandModeSchema,
60626
60626
  triggers: RecordingBandTriggersSchema.optional(),
60627
+ /**
60628
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
60629
+ *
60630
+ * It was the retroactive KEEP bound — which already-written segments survive
60631
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
60632
+ * broker could serve, or the gate would delete the seconds the ring had just
60633
+ * handed the writer. That "at least as wide as" is the tell: it was a second
60634
+ * expression of the broker's retention, in different units, in a different
60635
+ * addon, with an invariant the operator had to maintain by hand. The keep
60636
+ * bound is now derived from the one prebuffer ceiling and there is nothing
60637
+ * left to configure here.
60638
+ *
60639
+ * The key survives in the SHAPE so a config written before that record still
60640
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
60641
+ * strict, so simply deleting it would strip an operator's value in silence on
60642
+ * the next save (the failure D380 came one commit from shipping). Nothing
60643
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
60644
+ */
60627
60645
  preBufferSec: number().min(0).optional(),
60628
60646
  postBufferSec: number().min(0).optional()
60629
60647
  });
60630
- ({
60631
- preBufferSec: 15,
60632
- postBufferSec: 30
60633
- }).postBufferSec * 1e3;
60648
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
60634
60649
  /**
60635
60650
  * Per-device retention overrides. Every field is optional; an unset or `0`
60636
60651
  * value inherits the node-wide recorder default. Only footage-lifetime limits
package/dist/addon.mjs CHANGED
@@ -60621,13 +60621,28 @@ var RecordingBandSchema = object({
60621
60621
  end: string().regex(HHMM),
60622
60622
  mode: RecordingBandModeSchema,
60623
60623
  triggers: RecordingBandTriggersSchema.optional(),
60624
+ /**
60625
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
60626
+ *
60627
+ * It was the retroactive KEEP bound — which already-written segments survive
60628
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
60629
+ * broker could serve, or the gate would delete the seconds the ring had just
60630
+ * handed the writer. That "at least as wide as" is the tell: it was a second
60631
+ * expression of the broker's retention, in different units, in a different
60632
+ * addon, with an invariant the operator had to maintain by hand. The keep
60633
+ * bound is now derived from the one prebuffer ceiling and there is nothing
60634
+ * left to configure here.
60635
+ *
60636
+ * The key survives in the SHAPE so a config written before that record still
60637
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
60638
+ * strict, so simply deleting it would strip an operator's value in silence on
60639
+ * the next save (the failure D380 came one commit from shipping). Nothing
60640
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
60641
+ */
60624
60642
  preBufferSec: number().min(0).optional(),
60625
60643
  postBufferSec: number().min(0).optional()
60626
60644
  });
60627
- ({
60628
- preBufferSec: 15,
60629
- postBufferSec: 30
60630
- }).postBufferSec * 1e3;
60645
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
60631
60646
  /**
60632
60647
  * Per-device retention overrides. Every field is optional; an unset or `0`
60633
60648
  * 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-dreame",
3
- "version": "0.2.76",
3
+ "version": "0.2.77",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",