@camstack/addon-mqtt-broker 1.2.22 → 1.2.23
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/mqtt-broker.addon.js +29 -3
- package/dist/mqtt-broker.addon.mjs +29 -3
- package/package.json +1 -1
|
@@ -24319,9 +24319,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
24319
24319
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
24320
24320
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24321
24321
|
locationIds: array(string()).optional(),
|
|
24322
|
-
/**
|
|
24322
|
+
/**
|
|
24323
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
24324
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
24325
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
24326
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
24327
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
24328
|
+
*/
|
|
24329
|
+
root: string().optional(),
|
|
24330
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
24331
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
24332
|
+
* also holds everything that is not recordings. Volume fill is
|
|
24333
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
24323
24334
|
usedBytes: number(),
|
|
24324
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24335
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24336
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
24325
24337
|
availableBytes: number().nullable(),
|
|
24326
24338
|
/** Total bytes of the location's volume; null when unknown. */
|
|
24327
24339
|
totalBytes: number().nullable()
|
|
@@ -24333,7 +24345,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
24333
24345
|
nodeId: string(),
|
|
24334
24346
|
totalUsedBytes: number(),
|
|
24335
24347
|
devices: array(RecordingDeviceUsageSchema),
|
|
24336
|
-
|
|
24348
|
+
/**
|
|
24349
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
24350
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
24351
|
+
* router, so a hub whose framework train predates a change to this array
|
|
24352
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
24353
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
24354
|
+
* missing disk bar.
|
|
24355
|
+
*/
|
|
24356
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
24337
24357
|
});
|
|
24338
24358
|
/**
|
|
24339
24359
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -33449,8 +33469,14 @@ Object.freeze({
|
|
|
33449
33469
|
"network-access": "ingress",
|
|
33450
33470
|
"smtp-provider": "email"
|
|
33451
33471
|
});
|
|
33472
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
33473
|
+
var NC_AUDIO_DEFAULTS = {
|
|
33474
|
+
hitPercent: 60,
|
|
33475
|
+
samplingSeconds: 10
|
|
33476
|
+
};
|
|
33452
33477
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
33453
33478
|
new Set(["devices", "classes"]);
|
|
33479
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
33454
33480
|
/**
|
|
33455
33481
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
33456
33482
|
*
|
|
@@ -24314,9 +24314,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
24314
24314
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
24315
24315
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24316
24316
|
locationIds: array(string()).optional(),
|
|
24317
|
-
/**
|
|
24317
|
+
/**
|
|
24318
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
24319
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
24320
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
24321
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
24322
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
24323
|
+
*/
|
|
24324
|
+
root: string().optional(),
|
|
24325
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
24326
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
24327
|
+
* also holds everything that is not recordings. Volume fill is
|
|
24328
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
24318
24329
|
usedBytes: number(),
|
|
24319
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24330
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24331
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
24320
24332
|
availableBytes: number().nullable(),
|
|
24321
24333
|
/** Total bytes of the location's volume; null when unknown. */
|
|
24322
24334
|
totalBytes: number().nullable()
|
|
@@ -24328,7 +24340,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
24328
24340
|
nodeId: string(),
|
|
24329
24341
|
totalUsedBytes: number(),
|
|
24330
24342
|
devices: array(RecordingDeviceUsageSchema),
|
|
24331
|
-
|
|
24343
|
+
/**
|
|
24344
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
24345
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
24346
|
+
* router, so a hub whose framework train predates a change to this array
|
|
24347
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
24348
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
24349
|
+
* missing disk bar.
|
|
24350
|
+
*/
|
|
24351
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
24332
24352
|
});
|
|
24333
24353
|
/**
|
|
24334
24354
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -33444,8 +33464,14 @@ Object.freeze({
|
|
|
33444
33464
|
"network-access": "ingress",
|
|
33445
33465
|
"smtp-provider": "email"
|
|
33446
33466
|
});
|
|
33467
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
33468
|
+
var NC_AUDIO_DEFAULTS = {
|
|
33469
|
+
hitPercent: 60,
|
|
33470
|
+
samplingSeconds: 10
|
|
33471
|
+
};
|
|
33447
33472
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
33448
33473
|
new Set(["devices", "classes"]);
|
|
33474
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
33449
33475
|
/**
|
|
33450
33476
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
33451
33477
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.23",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|