@camstack/addon-export-google 0.1.41 → 0.1.42

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.
@@ -10768,12 +10768,30 @@ var BackupDestinationInfoSchema = object({
10768
10768
  lastSuccessAt: number().optional(),
10769
10769
  /** Newest-archive size from `manifests.json`, or undefined. */
10770
10770
  lastSuccessSizeBytes: number().optional(),
10771
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10771
+ /**
10772
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10773
+ * destination, comma-joined. Absent when no enabled schedule targets it
10774
+ * — a destination nothing is scheduled to write to must not advertise a
10775
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10776
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10777
+ * and reading it made a destination with a DISABLED schedule claim a
10778
+ * nightly run.
10779
+ */
10772
10780
  cron: string().optional(),
10773
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10781
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10774
10782
  nextRunAt: number().optional(),
10775
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10776
- lastRunAt: number().optional()
10783
+ /**
10784
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10785
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10786
+ * newest archive that actually landed) and `lastError`.
10787
+ */
10788
+ lastAttemptAt: number().optional(),
10789
+ /**
10790
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10791
+ * landed the archive. A destination that has never been written to has
10792
+ * neither this nor `lastAttemptAt`.
10793
+ */
10794
+ lastError: string().optional()
10777
10795
  });
10778
10796
  /**
10779
10797
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10936,8 +10954,16 @@ var BackupScheduleSchema = object({
10936
10954
  retentionCount: number().int().min(1).max(1e3),
10937
10955
  /** Optional subset of source locations to include; omitted = all. */
10938
10956
  dataSources: array(string()).readonly().optional(),
10939
- /** ms-epoch of last successful run. */
10940
- lastRunAt: number().optional(),
10957
+ /**
10958
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10959
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10960
+ * "succeeded" — a run refused by every destination stamps it too.
10961
+ */
10962
+ lastAttemptAt: number().optional(),
10963
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10964
+ lastSuccessAt: number().optional(),
10965
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10966
+ lastError: string().optional(),
10941
10967
  /** ms-epoch of next computed firing (read-only, filled on list). */
10942
10968
  nextRunAt: number().optional()
10943
10969
  });
@@ -10986,14 +11012,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10986
11012
  locationId: string(),
10987
11013
  enabled: boolean(),
10988
11014
  retentionCount: number().int().min(1).max(1e3),
10989
- label: string().optional(),
10990
- /**
10991
- * Per-destination cron expression. Empty string clears the
10992
- * schedule (manual-only). Validated server-side via croner;
10993
- * malformed expressions reject the upsert with an actionable
10994
- * message.
10995
- */
10996
- cron: string().optional()
11015
+ label: string().optional()
10997
11016
  }), _void(), {
10998
11017
  kind: "mutation",
10999
11018
  auth: "admin"
@@ -10764,12 +10764,30 @@ var BackupDestinationInfoSchema = object({
10764
10764
  lastSuccessAt: number().optional(),
10765
10765
  /** Newest-archive size from `manifests.json`, or undefined. */
10766
10766
  lastSuccessSizeBytes: number().optional(),
10767
- /** Per-destination cron expression. Empty = manual-only (no schedule). */
10767
+ /**
10768
+ * Cron cadence(s) of the ENABLED schedules that fan out to this
10769
+ * destination, comma-joined. Absent when no enabled schedule targets it
10770
+ * — a destination nothing is scheduled to write to must not advertise a
10771
+ * cadence (D384). This is never the `backup_destination_policies.cron`
10772
+ * column: that per-location cron has scheduled nothing since 2026-07-28
10773
+ * and reading it made a destination with a DISABLED schedule claim a
10774
+ * nightly run.
10775
+ */
10768
10776
  cron: string().optional(),
10769
- /** ms-epoch of next computed firing for this destination's cron, if any. */
10777
+ /** ms-epoch of the next firing across those schedules (earliest), if any. */
10770
10778
  nextRunAt: number().optional(),
10771
- /** ms-epoch of last successful scheduled run (mirrors policy.lastRunAt). */
10772
- lastRunAt: number().optional()
10779
+ /**
10780
+ * ms-epoch of the last time a run ATTEMPTED to write here — success or
10781
+ * failure. Never a success stamp: pair it with `lastSuccessAt` (the
10782
+ * newest archive that actually landed) and `lastError`.
10783
+ */
10784
+ lastAttemptAt: number().optional(),
10785
+ /**
10786
+ * Why the last attempt failed, verbatim. Absent when the last attempt
10787
+ * landed the archive. A destination that has never been written to has
10788
+ * neither this nor `lastAttemptAt`.
10789
+ */
10790
+ lastError: string().optional()
10773
10791
  });
10774
10792
  /**
10775
10793
  * Per-archive entry returned by `backup.listArchives({ destinationId })`.
@@ -10932,8 +10950,16 @@ var BackupScheduleSchema = object({
10932
10950
  retentionCount: number().int().min(1).max(1e3),
10933
10951
  /** Optional subset of source locations to include; omitted = all. */
10934
10952
  dataSources: array(string()).readonly().optional(),
10935
- /** ms-epoch of last successful run. */
10936
- lastRunAt: number().optional(),
10953
+ /**
10954
+ * ms-epoch of the last tick that FIRED this schedule. Stamped before the
10955
+ * archive runs (it is the dedupe anchor), so it says "attempted", never
10956
+ * "succeeded" — a run refused by every destination stamps it too.
10957
+ */
10958
+ lastAttemptAt: number().optional(),
10959
+ /** ms-epoch of the last run of this schedule that landed at ≥1 destination. */
10960
+ lastSuccessAt: number().optional(),
10961
+ /** Why the last fired run failed, verbatim. Absent when it succeeded. */
10962
+ lastError: string().optional(),
10937
10963
  /** ms-epoch of next computed firing (read-only, filled on list). */
10938
10964
  nextRunAt: number().optional()
10939
10965
  });
@@ -10982,14 +11008,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
10982
11008
  locationId: string(),
10983
11009
  enabled: boolean(),
10984
11010
  retentionCount: number().int().min(1).max(1e3),
10985
- label: string().optional(),
10986
- /**
10987
- * Per-destination cron expression. Empty string clears the
10988
- * schedule (manual-only). Validated server-side via croner;
10989
- * malformed expressions reject the upsert with an actionable
10990
- * message.
10991
- */
10992
- cron: string().optional()
11011
+ label: string().optional()
10993
11012
  }), _void(), {
10994
11013
  kind: "mutation",
10995
11014
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
5
5
  "keywords": [
6
6
  "camstack",