@camstack/addon-decoder-nodeav 1.2.77 → 1.2.78

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/index.js CHANGED
@@ -10586,12 +10586,30 @@ var BackupDestinationInfoSchema = object({
10586
10586
  lastSuccessAt: number().optional(),
10587
10587
  /** Newest-archive size from `manifests.json`, or undefined. */
10588
10588
  lastSuccessSizeBytes: number().optional(),
10589
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10589
+ /**
10590
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10591
+ * destination, comma-joined. Absent when no enabled schedule targets it
10592
+ * — a destination nothing is scheduled to write to must not advertise a
10593
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10594
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10595
+ * and reading it made a destination with a DISABLED schedule claim a
10596
+ * nightly run.
10597
+ */
10590
10598
  cron: string().optional(),
10591
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10599
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10592
10600
  nextRunAt: number().optional(),
10593
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10594
- lastRunAt: number().optional()
10601
+ /**
10602
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10603
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10604
+ * newest archive that actually landed) and `lastError`.
10605
+ */
10606
+ lastAttemptAt: number().optional(),
10607
+ /**
10608
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10609
+ * landed the archive. A destination that has never been written to has
10610
+ * neither this nor `lastAttemptAt`.
10611
+ */
10612
+ lastError: string().optional()
10595
10613
  });
10596
10614
  /**
10597
10615
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10754,8 +10772,16 @@ var BackupScheduleSchema = object({
10754
10772
  retentionCount: number().int().min(1).max(1e3),
10755
10773
  /** Optional subset of source locations to include; omitted = all. */
10756
10774
  dataSources: array(string()).readonly().optional(),
10757
- /** ms-epoch of last successful run. */
10758
- lastRunAt: number().optional(),
10775
+ /**
10776
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10777
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10778
+ * "succeeded" — a run refused by every destination stamps it too.
10779
+ */
10780
+ lastAttemptAt: number().optional(),
10781
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10782
+ lastSuccessAt: number().optional(),
10783
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10784
+ lastError: string().optional(),
10759
10785
  /** ms-epoch of next computed firing (read-only, filled on list). */
10760
10786
  nextRunAt: number().optional()
10761
10787
  });
@@ -10804,14 +10830,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10804
10830
  locationId: string(),
10805
10831
  enabled: boolean(),
10806
10832
  retentionCount: number().int().min(1).max(1e3),
10807
- label: string().optional(),
10808
- /**
10809
- * Per-destination cron expression. Empty string clears the
10810
- * schedule (manual-only). Validated server-side via croner;
10811
- * malformed expressions reject the upsert with an actionable
10812
- * message.
10813
- */
10814
- cron: string().optional()
10833
+ label: string().optional()
10815
10834
  }), _void(), {
10816
10835
  kind: "mutation",
10817
10836
  auth: "admin"
package/dist/index.mjs CHANGED
@@ -10582,12 +10582,30 @@ var BackupDestinationInfoSchema = object({
10582
10582
  lastSuccessAt: number().optional(),
10583
10583
  /** Newest-archive size from `manifests.json`, or undefined. */
10584
10584
  lastSuccessSizeBytes: number().optional(),
10585
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10585
+ /**
10586
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10587
+ * destination, comma-joined. Absent when no enabled schedule targets it
10588
+ * — a destination nothing is scheduled to write to must not advertise a
10589
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10590
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10591
+ * and reading it made a destination with a DISABLED schedule claim a
10592
+ * nightly run.
10593
+ */
10586
10594
  cron: string().optional(),
10587
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10595
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10588
10596
  nextRunAt: number().optional(),
10589
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10590
- lastRunAt: number().optional()
10597
+ /**
10598
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10599
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10600
+ * newest archive that actually landed) and `lastError`.
10601
+ */
10602
+ lastAttemptAt: number().optional(),
10603
+ /**
10604
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10605
+ * landed the archive. A destination that has never been written to has
10606
+ * neither this nor `lastAttemptAt`.
10607
+ */
10608
+ lastError: string().optional()
10591
10609
  });
10592
10610
  /**
10593
10611
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10750,8 +10768,16 @@ var BackupScheduleSchema = object({
10750
10768
  retentionCount: number().int().min(1).max(1e3),
10751
10769
  /** Optional subset of source locations to include; omitted = all. */
10752
10770
  dataSources: array(string()).readonly().optional(),
10753
- /** ms-epoch of last successful run. */
10754
- lastRunAt: number().optional(),
10771
+ /**
10772
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10773
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10774
+ * "succeeded" — a run refused by every destination stamps it too.
10775
+ */
10776
+ lastAttemptAt: number().optional(),
10777
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10778
+ lastSuccessAt: number().optional(),
10779
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10780
+ lastError: string().optional(),
10755
10781
  /** ms-epoch of next computed firing (read-only, filled on list). */
10756
10782
  nextRunAt: number().optional()
10757
10783
  });
@@ -10800,14 +10826,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10800
10826
  locationId: string(),
10801
10827
  enabled: boolean(),
10802
10828
  retentionCount: number().int().min(1).max(1e3),
10803
- label: string().optional(),
10804
- /**
10805
- * Per-destination cron expression. Empty string clears the
10806
- * schedule (manual-only). Validated server-side via croner;
10807
- * malformed expressions reject the upsert with an actionable
10808
- * message.
10809
- */
10810
- cron: string().optional()
10829
+ label: string().optional()
10811
10830
  }), _void(), {
10812
10831
  kind: "mutation",
10813
10832
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.77",
3
+ "version": "1.2.78",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",