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