@camstack/addon-import-alexa 0.2.75 → 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 +52 -18
- package/dist/addon.mjs +52 -18
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -8109,13 +8109,28 @@ var RecordingBandSchema = object({
|
|
|
8109
8109
|
end: string().regex(HHMM),
|
|
8110
8110
|
mode: RecordingBandModeSchema,
|
|
8111
8111
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8112
|
+
/**
|
|
8113
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8114
|
+
*
|
|
8115
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8116
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8117
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8118
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8119
|
+
* expression of the broker's retention, in different units, in a different
|
|
8120
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8121
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8122
|
+
* left to configure here.
|
|
8123
|
+
*
|
|
8124
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8125
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8126
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8127
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8128
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8129
|
+
*/
|
|
8112
8130
|
preBufferSec: number().min(0).optional(),
|
|
8113
8131
|
postBufferSec: number().min(0).optional()
|
|
8114
8132
|
});
|
|
8115
|
-
({
|
|
8116
|
-
preBufferSec: 15,
|
|
8117
|
-
postBufferSec: 30
|
|
8118
|
-
}).postBufferSec * 1e3;
|
|
8133
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8119
8134
|
/**
|
|
8120
8135
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8121
8136
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -10711,12 +10726,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10711
10726
|
lastSuccessAt: number().optional(),
|
|
10712
10727
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10713
10728
|
lastSuccessSizeBytes: number().optional(),
|
|
10714
|
-
/**
|
|
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
|
+
*/
|
|
10715
10738
|
cron: string().optional(),
|
|
10716
|
-
/** ms-epoch of next
|
|
10739
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10717
10740
|
nextRunAt: number().optional(),
|
|
10718
|
-
/**
|
|
10719
|
-
|
|
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()
|
|
10720
10753
|
});
|
|
10721
10754
|
/**
|
|
10722
10755
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10879,8 +10912,16 @@ var BackupScheduleSchema = object({
|
|
|
10879
10912
|
retentionCount: number().int().min(1).max(1e3),
|
|
10880
10913
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10881
10914
|
dataSources: array(string()).readonly().optional(),
|
|
10882
|
-
/**
|
|
10883
|
-
|
|
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(),
|
|
10884
10925
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10885
10926
|
nextRunAt: number().optional()
|
|
10886
10927
|
});
|
|
@@ -10929,14 +10970,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10929
10970
|
locationId: string(),
|
|
10930
10971
|
enabled: boolean(),
|
|
10931
10972
|
retentionCount: number().int().min(1).max(1e3),
|
|
10932
|
-
label: string().optional()
|
|
10933
|
-
/**
|
|
10934
|
-
* Per-destination cron expression. Empty string clears the
|
|
10935
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10936
|
-
* malformed expressions reject the upsert with an actionable
|
|
10937
|
-
* message.
|
|
10938
|
-
*/
|
|
10939
|
-
cron: string().optional()
|
|
10973
|
+
label: string().optional()
|
|
10940
10974
|
}), _void(), {
|
|
10941
10975
|
kind: "mutation",
|
|
10942
10976
|
auth: "admin"
|
package/dist/addon.mjs
CHANGED
|
@@ -8109,13 +8109,28 @@ var RecordingBandSchema = object({
|
|
|
8109
8109
|
end: string().regex(HHMM),
|
|
8110
8110
|
mode: RecordingBandModeSchema,
|
|
8111
8111
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8112
|
+
/**
|
|
8113
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8114
|
+
*
|
|
8115
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8116
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8117
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8118
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8119
|
+
* expression of the broker's retention, in different units, in a different
|
|
8120
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8121
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8122
|
+
* left to configure here.
|
|
8123
|
+
*
|
|
8124
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8125
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8126
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8127
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8128
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8129
|
+
*/
|
|
8112
8130
|
preBufferSec: number().min(0).optional(),
|
|
8113
8131
|
postBufferSec: number().min(0).optional()
|
|
8114
8132
|
});
|
|
8115
|
-
({
|
|
8116
|
-
preBufferSec: 15,
|
|
8117
|
-
postBufferSec: 30
|
|
8118
|
-
}).postBufferSec * 1e3;
|
|
8133
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8119
8134
|
/**
|
|
8120
8135
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8121
8136
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -10711,12 +10726,30 @@ var BackupDestinationInfoSchema = object({
|
|
|
10711
10726
|
lastSuccessAt: number().optional(),
|
|
10712
10727
|
/** Newest-archive size from `manifests.json`, or undefined. */
|
|
10713
10728
|
lastSuccessSizeBytes: number().optional(),
|
|
10714
|
-
/**
|
|
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
|
+
*/
|
|
10715
10738
|
cron: string().optional(),
|
|
10716
|
-
/** ms-epoch of next
|
|
10739
|
+
/** ms-epoch of the next firing across those schedules (earliest), if any. */
|
|
10717
10740
|
nextRunAt: number().optional(),
|
|
10718
|
-
/**
|
|
10719
|
-
|
|
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()
|
|
10720
10753
|
});
|
|
10721
10754
|
/**
|
|
10722
10755
|
* Per-archive entry returned by `backup.listArchives({ destinationId })`.
|
|
@@ -10879,8 +10912,16 @@ var BackupScheduleSchema = object({
|
|
|
10879
10912
|
retentionCount: number().int().min(1).max(1e3),
|
|
10880
10913
|
/** Optional subset of source locations to include; omitted = all. */
|
|
10881
10914
|
dataSources: array(string()).readonly().optional(),
|
|
10882
|
-
/**
|
|
10883
|
-
|
|
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(),
|
|
10884
10925
|
/** ms-epoch of next computed firing (read-only, filled on list). */
|
|
10885
10926
|
nextRunAt: number().optional()
|
|
10886
10927
|
});
|
|
@@ -10929,14 +10970,7 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10929
10970
|
locationId: string(),
|
|
10930
10971
|
enabled: boolean(),
|
|
10931
10972
|
retentionCount: number().int().min(1).max(1e3),
|
|
10932
|
-
label: string().optional()
|
|
10933
|
-
/**
|
|
10934
|
-
* Per-destination cron expression. Empty string clears the
|
|
10935
|
-
* schedule (manual-only). Validated server-side via croner;
|
|
10936
|
-
* malformed expressions reject the upsert with an actionable
|
|
10937
|
-
* message.
|
|
10938
|
-
*/
|
|
10939
|
-
cron: string().optional()
|
|
10973
|
+
label: string().optional()
|
|
10940
10974
|
}), _void(), {
|
|
10941
10975
|
kind: "mutation",
|
|
10942
10976
|
auth: "admin"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
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",
|