@camstack/addon-import-alexa 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
@@ -10726,12 +10726,30 @@ var BackupDestinationInfoSchema = object({
10726
10726
  lastSuccessAt: number().optional(),
10727
10727
  /** Newest-archive size from `manifests.json`, or undefined. */
10728
10728
  lastSuccessSizeBytes: number().optional(),
10729
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10729
+ /**
10730
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10731
+ * destination, comma-joined. Absent when no enabled schedule targets it
10732
+ * — a destination nothing is scheduled to write to must not advertise a
10733
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10734
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10735
+ * and reading it made a destination with a DISABLED schedule claim a
10736
+ * nightly run.
10737
+ */
10730
10738
  cron: string().optional(),
10731
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10739
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10732
10740
  nextRunAt: number().optional(),
10733
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10734
- lastRunAt: number().optional()
10741
+ /**
10742
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10743
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10744
+ * newest archive that actually landed) and `lastError`.
10745
+ */
10746
+ lastAttemptAt: number().optional(),
10747
+ /**
10748
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10749
+ * landed the archive. A destination that has never been written to has
10750
+ * neither this nor `lastAttemptAt`.
10751
+ */
10752
+ lastError: string().optional()
10735
10753
  });
10736
10754
  /**
10737
10755
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10894,8 +10912,16 @@ var BackupScheduleSchema = object({
10894
10912
  retentionCount: number().int().min(1).max(1e3),
10895
10913
  /** Optional subset of source locations to include; omitted = all. */
10896
10914
  dataSources: array(string()).readonly().optional(),
10897
- /** ms-epoch of last successful run. */
10898
- lastRunAt: number().optional(),
10915
+ /**
10916
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10917
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10918
+ * "succeeded" — a run refused by every destination stamps it too.
10919
+ */
10920
+ lastAttemptAt: number().optional(),
10921
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10922
+ lastSuccessAt: number().optional(),
10923
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10924
+ lastError: string().optional(),
10899
10925
  /** ms-epoch of next computed firing (read-only, filled on list). */
10900
10926
  nextRunAt: number().optional()
10901
10927
  });
@@ -10944,14 +10970,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10944
10970
  locationId: string(),
10945
10971
  enabled: boolean(),
10946
10972
  retentionCount: number().int().min(1).max(1e3),
10947
- label: string().optional(),
10948
- /**
10949
- * Per-destination cron expression. Empty string clears the
10950
- * schedule (manual-only). Validated server-side via croner;
10951
- * malformed expressions reject the upsert with an actionable
10952
- * message.
10953
- */
10954
- cron: string().optional()
10973
+ label: string().optional()
10955
10974
  }), _void(), {
10956
10975
  kind: "mutation",
10957
10976
  auth: "admin"
package/dist/addon.mjs CHANGED
@@ -10726,12 +10726,30 @@ var BackupDestinationInfoSchema = object({
10726
10726
  lastSuccessAt: number().optional(),
10727
10727
  /** Newest-archive size from `manifests.json`, or undefined. */
10728
10728
  lastSuccessSizeBytes: number().optional(),
10729
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10729
+ /**
10730
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10731
+ * destination, comma-joined. Absent when no enabled schedule targets it
10732
+ * — a destination nothing is scheduled to write to must not advertise a
10733
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10734
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10735
+ * and reading it made a destination with a DISABLED schedule claim a
10736
+ * nightly run.
10737
+ */
10730
10738
  cron: string().optional(),
10731
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10739
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10732
10740
  nextRunAt: number().optional(),
10733
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10734
- lastRunAt: number().optional()
10741
+ /**
10742
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10743
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10744
+ * newest archive that actually landed) and `lastError`.
10745
+ */
10746
+ lastAttemptAt: number().optional(),
10747
+ /**
10748
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10749
+ * landed the archive. A destination that has never been written to has
10750
+ * neither this nor `lastAttemptAt`.
10751
+ */
10752
+ lastError: string().optional()
10735
10753
  });
10736
10754
  /**
10737
10755
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10894,8 +10912,16 @@ var BackupScheduleSchema = object({
10894
10912
  retentionCount: number().int().min(1).max(1e3),
10895
10913
  /** Optional subset of source locations to include; omitted = all. */
10896
10914
  dataSources: array(string()).readonly().optional(),
10897
- /** ms-epoch of last successful run. */
10898
- lastRunAt: number().optional(),
10915
+ /**
10916
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10917
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10918
+ * "succeeded" — a run refused by every destination stamps it too.
10919
+ */
10920
+ lastAttemptAt: number().optional(),
10921
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10922
+ lastSuccessAt: number().optional(),
10923
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10924
+ lastError: string().optional(),
10899
10925
  /** ms-epoch of next computed firing (read-only, filled on list). */
10900
10926
  nextRunAt: number().optional()
10901
10927
  });
@@ -10944,14 +10970,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10944
10970
  locationId: string(),
10945
10971
  enabled: boolean(),
10946
10972
  retentionCount: number().int().min(1).max(1e3),
10947
- label: string().optional(),
10948
- /**
10949
- * Per-destination cron expression. Empty string clears the
10950
- * schedule (manual-only). Validated server-side via croner;
10951
- * malformed expressions reject the upsert with an actionable
10952
- * message.
10953
- */
10954
- cron: string().optional()
10973
+ label: string().optional()
10955
10974
  }), _void(), {
10956
10975
  kind: "mutation",
10957
10976
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.76",
3
+ "version": "0.2.77",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",