@camstack/addon-export-hap 1.2.32 → 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 +37 -3
- package/dist/hap-export.addon.mjs +37 -3
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -20681,6 +20681,14 @@ var ClipSchema = object({
|
|
|
20681
20681
|
endMs: number()
|
|
20682
20682
|
}),
|
|
20683
20683
|
/**
|
|
20684
|
+
* Distinct object classes attached to this visit (`person`, `car`, …),
|
|
20685
|
+
* dominant first, capped at {@link MAX_CLIP_LABELS}. The ribbon renders these
|
|
20686
|
+
* instead of the bare kind — "Object" tells the operator nothing a colour bar
|
|
20687
|
+
* did not. Absent (never empty) when the visit attached no classified object
|
|
20688
|
+
* event, so a motion/audio-only visit keeps its kind label.
|
|
20689
|
+
*/
|
|
20690
|
+
labels: array(string()).max(3).optional(),
|
|
20691
|
+
/**
|
|
20684
20692
|
* Lazy thumbnail URL, never inlined.
|
|
20685
20693
|
*
|
|
20686
20694
|
* Recording-derived clips (events-mode keep-window, and the prepared
|
|
@@ -25063,9 +25071,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
25063
25071
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
25064
25072
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
25065
25073
|
locationIds: array(string()).optional(),
|
|
25066
|
-
/**
|
|
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`. */
|
|
25067
25086
|
usedBytes: number(),
|
|
25068
|
-
/** 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). */
|
|
25069
25089
|
availableBytes: number().nullable(),
|
|
25070
25090
|
/** Total bytes of the location's volume; null when unknown. */
|
|
25071
25091
|
totalBytes: number().nullable()
|
|
@@ -25077,7 +25097,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
25077
25097
|
nodeId: string(),
|
|
25078
25098
|
totalUsedBytes: number(),
|
|
25079
25099
|
devices: array(RecordingDeviceUsageSchema),
|
|
25080
|
-
|
|
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()
|
|
25081
25109
|
});
|
|
25082
25110
|
/**
|
|
25083
25111
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -34218,8 +34246,14 @@ Object.freeze({
|
|
|
34218
34246
|
"network-access": "ingress",
|
|
34219
34247
|
"smtp-provider": "email"
|
|
34220
34248
|
});
|
|
34249
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
34250
|
+
var NC_AUDIO_DEFAULTS = {
|
|
34251
|
+
hitPercent: 60,
|
|
34252
|
+
samplingSeconds: 10
|
|
34253
|
+
};
|
|
34221
34254
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
34222
34255
|
new Set(["devices", "classes"]);
|
|
34256
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
34223
34257
|
/**
|
|
34224
34258
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
34225
34259
|
*
|
|
@@ -20669,6 +20669,14 @@ var ClipSchema = object({
|
|
|
20669
20669
|
endMs: number()
|
|
20670
20670
|
}),
|
|
20671
20671
|
/**
|
|
20672
|
+
* Distinct object classes attached to this visit (`person`, `car`, …),
|
|
20673
|
+
* dominant first, capped at {@link MAX_CLIP_LABELS}. The ribbon renders these
|
|
20674
|
+
* instead of the bare kind — "Object" tells the operator nothing a colour bar
|
|
20675
|
+
* did not. Absent (never empty) when the visit attached no classified object
|
|
20676
|
+
* event, so a motion/audio-only visit keeps its kind label.
|
|
20677
|
+
*/
|
|
20678
|
+
labels: array(string()).max(3).optional(),
|
|
20679
|
+
/**
|
|
20672
20680
|
* Lazy thumbnail URL, never inlined.
|
|
20673
20681
|
*
|
|
20674
20682
|
* Recording-derived clips (events-mode keep-window, and the prepared
|
|
@@ -25051,9 +25059,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
25051
25059
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
25052
25060
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
25053
25061
|
locationIds: array(string()).optional(),
|
|
25054
|
-
/**
|
|
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`. */
|
|
25055
25074
|
usedBytes: number(),
|
|
25056
|
-
/** 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). */
|
|
25057
25077
|
availableBytes: number().nullable(),
|
|
25058
25078
|
/** Total bytes of the location's volume; null when unknown. */
|
|
25059
25079
|
totalBytes: number().nullable()
|
|
@@ -25065,7 +25085,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
25065
25085
|
nodeId: string(),
|
|
25066
25086
|
totalUsedBytes: number(),
|
|
25067
25087
|
devices: array(RecordingDeviceUsageSchema),
|
|
25068
|
-
|
|
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()
|
|
25069
25097
|
});
|
|
25070
25098
|
/**
|
|
25071
25099
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -34206,8 +34234,14 @@ Object.freeze({
|
|
|
34206
34234
|
"network-access": "ingress",
|
|
34207
34235
|
"smtp-provider": "email"
|
|
34208
34236
|
});
|
|
34237
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
34238
|
+
var NC_AUDIO_DEFAULTS = {
|
|
34239
|
+
hitPercent: 60,
|
|
34240
|
+
samplingSeconds: 10
|
|
34241
|
+
};
|
|
34209
34242
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
34210
34243
|
new Set(["devices", "classes"]);
|
|
34244
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
34211
34245
|
/**
|
|
34212
34246
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
34213
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",
|