@camstack/addon-provider-wyze 0.2.80 → 0.2.82
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 +52 -18
- package/dist/addon.mjs +52 -18
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -7983,13 +7983,28 @@ var RecordingBandSchema = object({
|
|
|
7983
7983
|
end: string().regex(HHMM),
|
|
7984
7984
|
mode: RecordingBandModeSchema,
|
|
7985
7985
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7986
|
+
/**
|
|
7987
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7988
|
+
*
|
|
7989
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7990
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7991
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7992
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7993
|
+
* expression of the broker's retention, in different units, in a different
|
|
7994
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
7995
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
7996
|
+
* left to configure here.
|
|
7997
|
+
*
|
|
7998
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
7999
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8000
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8001
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8002
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8003
|
+
*/
|
|
7986
8004
|
preBufferSec: number().min(0).optional(),
|
|
7987
8005
|
postBufferSec: number().min(0).optional()
|
|
7988
8006
|
});
|
|
7989
|
-
({
|
|
7990
|
-
preBufferSec: 15,
|
|
7991
|
-
postBufferSec: 30
|
|
7992
|
-
}).postBufferSec * 1e3;
|
|
8007
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7993
8008
|
/**
|
|
7994
8009
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7995
8010
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -10566,12 +10581,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10566
10581
|
lastSuccessAt: number().optional(),
|
|
10567
10582
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10568
10583
|
lastSuccessSizeBytes: number().optional(),
|
|
10569
|
-
/**
|
|
10584
|
+
/**
|
|
10585
|
+
* Cron cadence(s) of the ENABLED schedules that fan out to this
|
|
10586
|
+
* destination, comma-joined. Absent when no enabled schedule targets it
|
|
10587
|
+
* — a destination nothing is scheduled to write to must not advertise a
|
|
10588
|
+
* cadence (D384). This is never the `backup_destination_policies.cron`
|
|
10589
|
+
* column: that per-location cron has scheduled nothing since 2026-07-28
|
|
10590
|
+
* and reading it made a destination with a DISABLED schedule claim a
|
|
10591
|
+
* nightly run.
|
|
10592
|
+
*/
|
|
10570
10593
|
cron: string().optional(),
|
|
10571
|
-
/** ms-epoch of next
|
|
10594
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10572
10595
|
nextRunAt: number().optional(),
|
|
10573
|
-
/**
|
|
10574
|
-
|
|
10596
|
+
/**
|
|
10597
|
+
* ms-epoch of the last time a run ATTEMPTED to write here — success or
|
|
10598
|
+
* failure. Never a success stamp: pair it with `lastSuccessAt` (the
|
|
10599
|
+
* newest archive that actually landed) and `lastError`.
|
|
10600
|
+
*/
|
|
10601
|
+
lastAttemptAt: number().optional(),
|
|
10602
|
+
/**
|
|
10603
|
+
* Why the last attempt failed, verbatim. Absent when the last attempt
|
|
10604
|
+
* landed the archive. A destination that has never been written to has
|
|
10605
|
+
* neither this nor `lastAttemptAt`.
|
|
10606
|
+
*/
|
|
10607
|
+
lastError: string().optional()
|
|
10575
10608
|
});
|
|
10576
10609
|
/**
|
|
10577
10610
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10734,8 +10767,16 @@ var BackupScheduleSchema = object({
|
|
|
10734
10767
|
retentionCount: number().int().min(1).max(1e3),
|
|
10735
10768
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10736
10769
|
dataSources: array(string()).readonly().optional(),
|
|
10737
|
-
/**
|
|
10738
|
-
|
|
10770
|
+
/**
|
|
10771
|
+
* ms-epoch of the last tick that FIRED this schedule. Stamped before the
|
|
10772
|
+
* archive runs (it is the dedupe anchor), so it says "attempted", never
|
|
10773
|
+
* "succeeded" — a run refused by every destination stamps it too.
|
|
10774
|
+
*/
|
|
10775
|
+
lastAttemptAt: number().optional(),
|
|
10776
|
+
/** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
|
|
10777
|
+
lastSuccessAt: number().optional(),
|
|
10778
|
+
/** Why the last fired run failed, verbatim. Absent when it succeeded. */
|
|
10779
|
+
lastError: string().optional(),
|
|
10739
10780
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10740
10781
|
nextRunAt: number().optional()
|
|
10741
10782
|
});
|
|
@@ -10784,14 +10825,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10784
10825
|
locationId: string(),
|
|
10785
10826
|
enabled: boolean(),
|
|
10786
10827
|
retentionCount: number().int().min(1).max(1e3),
|
|
10787
|
-
label: string().optional()
|
|
10788
|
-
/**
|
|
10789
|
-
* Per-destination cron expression. Empty string clears the
|
|
10790
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10791
|
-
* malformed expressions reject the upsert with an actionable
|
|
10792
|
-
* message.
|
|
10793
|
-
*/
|
|
10794
|
-
cron: string().optional()
|
|
10828
|
+
label: string().optional()
|
|
10795
10829
|
}), _void(), {
|
|
10796
10830
|
kind: "mutation",
|
|
10797
10831
|
auth: "admin"
|
package/dist/addon.mjs
CHANGED
|
@@ -7962,13 +7962,28 @@ var RecordingBandSchema = object({
|
|
|
7962
7962
|
end: string().regex(HHMM),
|
|
7963
7963
|
mode: RecordingBandModeSchema,
|
|
7964
7964
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7965
|
+
/**
|
|
7966
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7967
|
+
*
|
|
7968
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7969
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7970
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7971
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7972
|
+
* expression of the broker's retention, in different units, in a different
|
|
7973
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
7974
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
7975
|
+
* left to configure here.
|
|
7976
|
+
*
|
|
7977
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
7978
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
7979
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
7980
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
7981
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
7982
|
+
*/
|
|
7965
7983
|
preBufferSec: number().min(0).optional(),
|
|
7966
7984
|
postBufferSec: number().min(0).optional()
|
|
7967
7985
|
});
|
|
7968
|
-
({
|
|
7969
|
-
preBufferSec: 15,
|
|
7970
|
-
postBufferSec: 30
|
|
7971
|
-
}).postBufferSec * 1e3;
|
|
7986
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7972
7987
|
/**
|
|
7973
7988
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7974
7989
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -10545,12 +10560,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10545
10560
|
lastSuccessAt: number().optional(),
|
|
10546
10561
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10547
10562
|
lastSuccessSizeBytes: number().optional(),
|
|
10548
|
-
/**
|
|
10563
|
+
/**
|
|
10564
|
+
* Cron cadence(s) of the ENABLED schedules that fan out to this
|
|
10565
|
+
* destination, comma-joined. Absent when no enabled schedule targets it
|
|
10566
|
+
* — a destination nothing is scheduled to write to must not advertise a
|
|
10567
|
+
* cadence (D384). This is never the `backup_destination_policies.cron`
|
|
10568
|
+
* column: that per-location cron has scheduled nothing since 2026-07-28
|
|
10569
|
+
* and reading it made a destination with a DISABLED schedule claim a
|
|
10570
|
+
* nightly run.
|
|
10571
|
+
*/
|
|
10549
10572
|
cron: string().optional(),
|
|
10550
|
-
/** ms-epoch of next
|
|
10573
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10551
10574
|
nextRunAt: number().optional(),
|
|
10552
|
-
/**
|
|
10553
|
-
|
|
10575
|
+
/**
|
|
10576
|
+
* ms-epoch of the last time a run ATTEMPTED to write here — success or
|
|
10577
|
+
* failure. Never a success stamp: pair it with `lastSuccessAt` (the
|
|
10578
|
+
* newest archive that actually landed) and `lastError`.
|
|
10579
|
+
*/
|
|
10580
|
+
lastAttemptAt: number().optional(),
|
|
10581
|
+
/**
|
|
10582
|
+
* Why the last attempt failed, verbatim. Absent when the last attempt
|
|
10583
|
+
* landed the archive. A destination that has never been written to has
|
|
10584
|
+
* neither this nor `lastAttemptAt`.
|
|
10585
|
+
*/
|
|
10586
|
+
lastError: string().optional()
|
|
10554
10587
|
});
|
|
10555
10588
|
/**
|
|
10556
10589
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10713,8 +10746,16 @@ var BackupScheduleSchema = object({
|
|
|
10713
10746
|
retentionCount: number().int().min(1).max(1e3),
|
|
10714
10747
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10715
10748
|
dataSources: array(string()).readonly().optional(),
|
|
10716
|
-
/**
|
|
10717
|
-
|
|
10749
|
+
/**
|
|
10750
|
+
* ms-epoch of the last tick that FIRED this schedule. Stamped before the
|
|
10751
|
+
* archive runs (it is the dedupe anchor), so it says "attempted", never
|
|
10752
|
+
* "succeeded" — a run refused by every destination stamps it too.
|
|
10753
|
+
*/
|
|
10754
|
+
lastAttemptAt: number().optional(),
|
|
10755
|
+
/** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
|
|
10756
|
+
lastSuccessAt: number().optional(),
|
|
10757
|
+
/** Why the last fired run failed, verbatim. Absent when it succeeded. */
|
|
10758
|
+
lastError: string().optional(),
|
|
10718
10759
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10719
10760
|
nextRunAt: number().optional()
|
|
10720
10761
|
});
|
|
@@ -10763,14 +10804,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10763
10804
|
locationId: string(),
|
|
10764
10805
|
enabled: boolean(),
|
|
10765
10806
|
retentionCount: number().int().min(1).max(1e3),
|
|
10766
|
-
label: string().optional()
|
|
10767
|
-
/**
|
|
10768
|
-
* Per-destination cron expression. Empty string clears the
|
|
10769
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10770
|
-
* malformed expressions reject the upsert with an actionable
|
|
10771
|
-
* message.
|
|
10772
|
-
*/
|
|
10773
|
-
cron: string().optional()
|
|
10807
|
+
label: string().optional()
|
|
10774
10808
|
}), _void(), {
|
|
10775
10809
|
kind: "mutation",
|
|
10776
10810
|
auth: "admin"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.82",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|