@camstack/addon-smtp-nodemailer 1.2.76 → 1.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.
@@ -10570,12 +10570,30 @@ var BackupDestinationInfoSchema = object({
10570
10570
  lastSuccessAt: number().optional(),
10571
10571
  /** Newest-archive size from `manifests.json`, or undefined. */
10572
10572
  lastSuccessSizeBytes: number().optional(),
10573
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10573
+ /**
10574
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10575
+ * destination, comma-joined. Absent when no enabled schedule targets it
10576
+ * — a destination nothing is scheduled to write to must not advertise a
10577
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10578
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10579
+ * and reading it made a destination with a DISABLED schedule claim a
10580
+ * nightly run.
10581
+ */
10574
10582
  cron: string().optional(),
10575
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10583
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10576
10584
  nextRunAt: number().optional(),
10577
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10578
- lastRunAt: number().optional()
10585
+ /**
10586
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10587
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10588
+ * newest archive that actually landed) and `lastError`.
10589
+ */
10590
+ lastAttemptAt: number().optional(),
10591
+ /**
10592
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10593
+ * landed the archive. A destination that has never been written to has
10594
+ * neither this nor `lastAttemptAt`.
10595
+ */
10596
+ lastError: string().optional()
10579
10597
  });
10580
10598
  /**
10581
10599
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10738,8 +10756,16 @@ var BackupScheduleSchema = object({
10738
10756
  retentionCount: number().int().min(1).max(1e3),
10739
10757
  /** Optional subset of source locations to include; omitted = all. */
10740
10758
  dataSources: array(string()).readonly().optional(),
10741
- /** ms-epoch of last successful run. */
10742
- lastRunAt: number().optional(),
10759
+ /**
10760
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10761
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10762
+ * "succeeded" — a run refused by every destination stamps it too.
10763
+ */
10764
+ lastAttemptAt: number().optional(),
10765
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10766
+ lastSuccessAt: number().optional(),
10767
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10768
+ lastError: string().optional(),
10743
10769
  /** ms-epoch of next computed firing (read-only, filled on list). */
10744
10770
  nextRunAt: number().optional()
10745
10771
  });
@@ -10788,14 +10814,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10788
10814
  locationId: string(),
10789
10815
  enabled: boolean(),
10790
10816
  retentionCount: number().int().min(1).max(1e3),
10791
- label: string().optional(),
10792
- /**
10793
- * Per-destination cron expression. Empty string clears the
10794
- * schedule (manual-only). Validated server-side via croner;
10795
- * malformed expressions reject the upsert with an actionable
10796
- * message.
10797
- */
10798
- cron: string().optional()
10817
+ label: string().optional()
10799
10818
  }), _void(), {
10800
10819
  kind: "mutation",
10801
10820
  auth: "admin"
@@ -10568,12 +10568,30 @@ var BackupDestinationInfoSchema = object({
10568
10568
  lastSuccessAt: number().optional(),
10569
10569
  /** Newest-archive size from `manifests.json`, or undefined. */
10570
10570
  lastSuccessSizeBytes: number().optional(),
10571
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10571
+ /**
10572
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10573
+ * destination, comma-joined. Absent when no enabled schedule targets it
10574
+ * — a destination nothing is scheduled to write to must not advertise a
10575
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10576
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10577
+ * and reading it made a destination with a DISABLED schedule claim a
10578
+ * nightly run.
10579
+ */
10572
10580
  cron: string().optional(),
10573
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10581
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10574
10582
  nextRunAt: number().optional(),
10575
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10576
- lastRunAt: number().optional()
10583
+ /**
10584
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10585
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10586
+ * newest archive that actually landed) and `lastError`.
10587
+ */
10588
+ lastAttemptAt: number().optional(),
10589
+ /**
10590
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10591
+ * landed the archive. A destination that has never been written to has
10592
+ * neither this nor `lastAttemptAt`.
10593
+ */
10594
+ lastError: string().optional()
10577
10595
  });
10578
10596
  /**
10579
10597
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10736,8 +10754,16 @@ var BackupScheduleSchema = object({
10736
10754
  retentionCount: number().int().min(1).max(1e3),
10737
10755
  /** Optional subset of source locations to include; omitted = all. */
10738
10756
  dataSources: array(string()).readonly().optional(),
10739
- /** ms-epoch of last successful run. */
10740
- lastRunAt: number().optional(),
10757
+ /**
10758
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10759
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10760
+ * "succeeded" — a run refused by every destination stamps it too.
10761
+ */
10762
+ lastAttemptAt: number().optional(),
10763
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10764
+ lastSuccessAt: number().optional(),
10765
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10766
+ lastError: string().optional(),
10741
10767
  /** ms-epoch of next computed firing (read-only, filled on list). */
10742
10768
  nextRunAt: number().optional()
10743
10769
  });
@@ -10786,14 +10812,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10786
10812
  locationId: string(),
10787
10813
  enabled: boolean(),
10788
10814
  retentionCount: number().int().min(1).max(1e3),
10789
- label: string().optional(),
10790
- /**
10791
- * Per-destination cron expression. Empty string clears the
10792
- * schedule (manual-only). Validated server-side via croner;
10793
- * malformed expressions reject the upsert with an actionable
10794
- * message.
10795
- */
10796
- cron: string().optional()
10815
+ label: string().optional()
10797
10816
  }), _void(), {
10798
10817
  kind: "mutation",
10799
10818
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.76",
3
+ "version": "1.2.77",
4
4
  "description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
5
5
  "keywords": [
6
6
  "camstack",