@camstack/addon-provider-wyze 0.2.25 → 0.2.26
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 +29 -3
- package/dist/addon.mjs +29 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -26413,9 +26413,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
26413
26413
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
26414
26414
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
26415
26415
|
locationIds: array(string()).optional(),
|
|
26416
|
-
/**
|
|
26416
|
+
/**
|
|
26417
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
26418
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
26419
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
26420
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
26421
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
26422
|
+
*/
|
|
26423
|
+
root: string().optional(),
|
|
26424
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
26425
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
26426
|
+
* also holds everything that is not recordings. Volume fill is
|
|
26427
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
26417
26428
|
usedBytes: number(),
|
|
26418
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
26429
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
26430
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
26419
26431
|
availableBytes: number().nullable(),
|
|
26420
26432
|
/** Total bytes of the location's volume; null when unknown. */
|
|
26421
26433
|
totalBytes: number().nullable()
|
|
@@ -26427,7 +26439,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
26427
26439
|
nodeId: string(),
|
|
26428
26440
|
totalUsedBytes: number(),
|
|
26429
26441
|
devices: array(RecordingDeviceUsageSchema),
|
|
26430
|
-
|
|
26442
|
+
/**
|
|
26443
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
26444
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
26445
|
+
* router, so a hub whose framework train predates a change to this array
|
|
26446
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
26447
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
26448
|
+
* missing disk bar.
|
|
26449
|
+
*/
|
|
26450
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
26431
26451
|
});
|
|
26432
26452
|
/**
|
|
26433
26453
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -37212,8 +37232,14 @@ Object.freeze({
|
|
|
37212
37232
|
"network-access": "ingress",
|
|
37213
37233
|
"smtp-provider": "email"
|
|
37214
37234
|
});
|
|
37235
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
37236
|
+
var NC_AUDIO_DEFAULTS = {
|
|
37237
|
+
hitPercent: 60,
|
|
37238
|
+
samplingSeconds: 10
|
|
37239
|
+
};
|
|
37215
37240
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
37216
37241
|
new Set(["devices", "classes"]);
|
|
37242
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
37217
37243
|
/**
|
|
37218
37244
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
37219
37245
|
*
|
package/dist/addon.mjs
CHANGED
|
@@ -26392,9 +26392,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
26392
26392
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
26393
26393
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
26394
26394
|
locationIds: array(string()).optional(),
|
|
26395
|
-
/**
|
|
26395
|
+
/**
|
|
26396
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
26397
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
26398
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
26399
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
26400
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
26401
|
+
*/
|
|
26402
|
+
root: string().optional(),
|
|
26403
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
26404
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
26405
|
+
* also holds everything that is not recordings. Volume fill is
|
|
26406
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
26396
26407
|
usedBytes: number(),
|
|
26397
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
26408
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
26409
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
26398
26410
|
availableBytes: number().nullable(),
|
|
26399
26411
|
/** Total bytes of the location's volume; null when unknown. */
|
|
26400
26412
|
totalBytes: number().nullable()
|
|
@@ -26406,7 +26418,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
26406
26418
|
nodeId: string(),
|
|
26407
26419
|
totalUsedBytes: number(),
|
|
26408
26420
|
devices: array(RecordingDeviceUsageSchema),
|
|
26409
|
-
|
|
26421
|
+
/**
|
|
26422
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
26423
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
26424
|
+
* router, so a hub whose framework train predates a change to this array
|
|
26425
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
26426
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
26427
|
+
* missing disk bar.
|
|
26428
|
+
*/
|
|
26429
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
26410
26430
|
});
|
|
26411
26431
|
/**
|
|
26412
26432
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -37191,8 +37211,14 @@ Object.freeze({
|
|
|
37191
37211
|
"network-access": "ingress",
|
|
37192
37212
|
"smtp-provider": "email"
|
|
37193
37213
|
});
|
|
37214
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
37215
|
+
var NC_AUDIO_DEFAULTS = {
|
|
37216
|
+
hitPercent: 60,
|
|
37217
|
+
samplingSeconds: 10
|
|
37218
|
+
};
|
|
37194
37219
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
37195
37220
|
new Set(["devices", "classes"]);
|
|
37221
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
37196
37222
|
/**
|
|
37197
37223
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
37198
37224
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|