@camstack/addon-export-hap 1.2.33 → 1.2.34
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/hap-export.addon.js +29 -3
- package/dist/hap-export.addon.mjs +29 -3
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -25071,9 +25071,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
25071
25071
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
25072
25072
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
25073
25073
|
locationIds: array(string()).optional(),
|
|
25074
|
-
/**
|
|
25074
|
+
/**
|
|
25075
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
25076
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
25077
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
25078
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
25079
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
25080
|
+
*/
|
|
25081
|
+
root: string().optional(),
|
|
25082
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
25083
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
25084
|
+
* also holds everything that is not recordings. Volume fill is
|
|
25085
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
25075
25086
|
usedBytes: number(),
|
|
25076
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
25087
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
25088
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
25077
25089
|
availableBytes: number().nullable(),
|
|
25078
25090
|
/** Total bytes of the location's volume; null when unknown. */
|
|
25079
25091
|
totalBytes: number().nullable()
|
|
@@ -25085,7 +25097,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
25085
25097
|
nodeId: string(),
|
|
25086
25098
|
totalUsedBytes: number(),
|
|
25087
25099
|
devices: array(RecordingDeviceUsageSchema),
|
|
25088
|
-
|
|
25100
|
+
/**
|
|
25101
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
25102
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
25103
|
+
* router, so a hub whose framework train predates a change to this array
|
|
25104
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
25105
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
25106
|
+
* missing disk bar.
|
|
25107
|
+
*/
|
|
25108
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
25089
25109
|
});
|
|
25090
25110
|
/**
|
|
25091
25111
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -34226,8 +34246,14 @@ Object.freeze({
|
|
|
34226
34246
|
"network-access": "ingress",
|
|
34227
34247
|
"smtp-provider": "email"
|
|
34228
34248
|
});
|
|
34249
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
34250
|
+
var NC_AUDIO_DEFAULTS = {
|
|
34251
|
+
hitPercent: 60,
|
|
34252
|
+
samplingSeconds: 10
|
|
34253
|
+
};
|
|
34229
34254
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
34230
34255
|
new Set(["devices", "classes"]);
|
|
34256
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
34231
34257
|
/**
|
|
34232
34258
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
34233
34259
|
*
|
|
@@ -25059,9 +25059,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
25059
25059
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
25060
25060
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
25061
25061
|
locationIds: array(string()).optional(),
|
|
25062
|
-
/**
|
|
25062
|
+
/**
|
|
25063
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
25064
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
25065
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
25066
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
25067
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
25068
|
+
*/
|
|
25069
|
+
root: string().optional(),
|
|
25070
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
25071
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
25072
|
+
* also holds everything that is not recordings. Volume fill is
|
|
25073
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
25063
25074
|
usedBytes: number(),
|
|
25064
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
25075
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
25076
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
25065
25077
|
availableBytes: number().nullable(),
|
|
25066
25078
|
/** Total bytes of the location's volume; null when unknown. */
|
|
25067
25079
|
totalBytes: number().nullable()
|
|
@@ -25073,7 +25085,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
25073
25085
|
nodeId: string(),
|
|
25074
25086
|
totalUsedBytes: number(),
|
|
25075
25087
|
devices: array(RecordingDeviceUsageSchema),
|
|
25076
|
-
|
|
25088
|
+
/**
|
|
25089
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
25090
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
25091
|
+
* router, so a hub whose framework train predates a change to this array
|
|
25092
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
25093
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
25094
|
+
* missing disk bar.
|
|
25095
|
+
*/
|
|
25096
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
25077
25097
|
});
|
|
25078
25098
|
/**
|
|
25079
25099
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -34214,8 +34234,14 @@ Object.freeze({
|
|
|
34214
34234
|
"network-access": "ingress",
|
|
34215
34235
|
"smtp-provider": "email"
|
|
34216
34236
|
});
|
|
34237
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
34238
|
+
var NC_AUDIO_DEFAULTS = {
|
|
34239
|
+
hitPercent: 60,
|
|
34240
|
+
samplingSeconds: 10
|
|
34241
|
+
};
|
|
34217
34242
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
34218
34243
|
new Set(["devices", "classes"]);
|
|
34244
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
34219
34245
|
/**
|
|
34220
34246
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
34221
34247
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.34",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|