@camstack/addon-export-alexa 1.2.28 → 1.2.29
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.
|
@@ -24523,9 +24523,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
24523
24523
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
24524
24524
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24525
24525
|
locationIds: array(string()).optional(),
|
|
24526
|
-
/**
|
|
24526
|
+
/**
|
|
24527
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
24528
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
24529
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
24530
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
24531
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
24532
|
+
*/
|
|
24533
|
+
root: string().optional(),
|
|
24534
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
24535
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
24536
|
+
* also holds everything that is not recordings. Volume fill is
|
|
24537
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
24527
24538
|
usedBytes: number(),
|
|
24528
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24539
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24540
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
24529
24541
|
availableBytes: number().nullable(),
|
|
24530
24542
|
/** Total bytes of the location's volume; null when unknown. */
|
|
24531
24543
|
totalBytes: number().nullable()
|
|
@@ -24537,7 +24549,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
24537
24549
|
nodeId: string(),
|
|
24538
24550
|
totalUsedBytes: number(),
|
|
24539
24551
|
devices: array(RecordingDeviceUsageSchema),
|
|
24540
|
-
|
|
24552
|
+
/**
|
|
24553
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
24554
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
24555
|
+
* router, so a hub whose framework train predates a change to this array
|
|
24556
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
24557
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
24558
|
+
* missing disk bar.
|
|
24559
|
+
*/
|
|
24560
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
24541
24561
|
});
|
|
24542
24562
|
/**
|
|
24543
24563
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -33653,8 +33673,14 @@ Object.freeze({
|
|
|
33653
33673
|
"network-access": "ingress",
|
|
33654
33674
|
"smtp-provider": "email"
|
|
33655
33675
|
});
|
|
33676
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
33677
|
+
var NC_AUDIO_DEFAULTS = {
|
|
33678
|
+
hitPercent: 60,
|
|
33679
|
+
samplingSeconds: 10
|
|
33680
|
+
};
|
|
33656
33681
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
33657
33682
|
new Set(["devices", "classes"]);
|
|
33683
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
33658
33684
|
/**
|
|
33659
33685
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
33660
33686
|
*
|
|
@@ -24496,9 +24496,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
24496
24496
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
24497
24497
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24498
24498
|
locationIds: array(string()).optional(),
|
|
24499
|
-
/**
|
|
24499
|
+
/**
|
|
24500
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
24501
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
24502
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
24503
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
24504
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
24505
|
+
*/
|
|
24506
|
+
root: string().optional(),
|
|
24507
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
24508
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
24509
|
+
* also holds everything that is not recordings. Volume fill is
|
|
24510
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
24500
24511
|
usedBytes: number(),
|
|
24501
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24512
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24513
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
24502
24514
|
availableBytes: number().nullable(),
|
|
24503
24515
|
/** Total bytes of the location's volume; null when unknown. */
|
|
24504
24516
|
totalBytes: number().nullable()
|
|
@@ -24510,7 +24522,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
24510
24522
|
nodeId: string(),
|
|
24511
24523
|
totalUsedBytes: number(),
|
|
24512
24524
|
devices: array(RecordingDeviceUsageSchema),
|
|
24513
|
-
|
|
24525
|
+
/**
|
|
24526
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
24527
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
24528
|
+
* router, so a hub whose framework train predates a change to this array
|
|
24529
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
24530
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
24531
|
+
* missing disk bar.
|
|
24532
|
+
*/
|
|
24533
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
24514
24534
|
});
|
|
24515
24535
|
/**
|
|
24516
24536
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -33626,8 +33646,14 @@ Object.freeze({
|
|
|
33626
33646
|
"network-access": "ingress",
|
|
33627
33647
|
"smtp-provider": "email"
|
|
33628
33648
|
});
|
|
33649
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
33650
|
+
var NC_AUDIO_DEFAULTS = {
|
|
33651
|
+
hitPercent: 60,
|
|
33652
|
+
samplingSeconds: 10
|
|
33653
|
+
};
|
|
33629
33654
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
33630
33655
|
new Set(["devices", "classes"]);
|
|
33656
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
33631
33657
|
/**
|
|
33632
33658
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
33633
33659
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.29",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|