@camstack/addon-decoder-ffmpeg 1.2.21 → 1.2.22
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/index.js +29 -3
- package/dist/index.mjs +29 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24353,9 +24353,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
24353
24353
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
24354
24354
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24355
24355
|
locationIds: array(string()).optional(),
|
|
24356
|
-
/**
|
|
24356
|
+
/**
|
|
24357
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
24358
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
24359
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
24360
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
24361
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
24362
|
+
*/
|
|
24363
|
+
root: string().optional(),
|
|
24364
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
24365
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
24366
|
+
* also holds everything that is not recordings. Volume fill is
|
|
24367
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
24357
24368
|
usedBytes: number(),
|
|
24358
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24369
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24370
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
24359
24371
|
availableBytes: number().nullable(),
|
|
24360
24372
|
/** Total bytes of the location's volume; null when unknown. */
|
|
24361
24373
|
totalBytes: number().nullable()
|
|
@@ -24367,7 +24379,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
24367
24379
|
nodeId: string(),
|
|
24368
24380
|
totalUsedBytes: number(),
|
|
24369
24381
|
devices: array(RecordingDeviceUsageSchema),
|
|
24370
|
-
|
|
24382
|
+
/**
|
|
24383
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
24384
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
24385
|
+
* router, so a hub whose framework train predates a change to this array
|
|
24386
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
24387
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
24388
|
+
* missing disk bar.
|
|
24389
|
+
*/
|
|
24390
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
24371
24391
|
});
|
|
24372
24392
|
/**
|
|
24373
24393
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -33483,8 +33503,14 @@ Object.freeze({
|
|
|
33483
33503
|
"network-access": "ingress",
|
|
33484
33504
|
"smtp-provider": "email"
|
|
33485
33505
|
});
|
|
33506
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
33507
|
+
var NC_AUDIO_DEFAULTS = {
|
|
33508
|
+
hitPercent: 60,
|
|
33509
|
+
samplingSeconds: 10
|
|
33510
|
+
};
|
|
33486
33511
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
33487
33512
|
new Set(["devices", "classes"]);
|
|
33513
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
33488
33514
|
/**
|
|
33489
33515
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
33490
33516
|
*
|
package/dist/index.mjs
CHANGED
|
@@ -24349,9 +24349,21 @@ var RecordingLocationUsageSchema = object({
|
|
|
24349
24349
|
* previously rendered as two identical "disks" with a nonsensical used
|
|
24350
24350
|
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24351
24351
|
locationIds: array(string()).optional(),
|
|
24352
|
-
/**
|
|
24352
|
+
/**
|
|
24353
|
+
* Filesystem root of the physical volume this row accounts — the only
|
|
24354
|
+
* operator-legible identity when a location has no `displayName` yet, and
|
|
24355
|
+
* what a "which disk is full" alert has to name. OPTIONAL for the same
|
|
24356
|
+
* train-skew reason as `oldestMs`: a recorder that predates the field omits
|
|
24357
|
+
* it, and this schema must keep validating that older provider's payload.
|
|
24358
|
+
*/
|
|
24359
|
+
root: string().optional(),
|
|
24360
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). This is
|
|
24361
|
+
* the footage's SHARE of the volume, not how full the volume is — the disk
|
|
24362
|
+
* also holds everything that is not recordings. Volume fill is
|
|
24363
|
+
* `(totalBytes - availableBytes) / totalBytes`. */
|
|
24353
24364
|
usedBytes: number(),
|
|
24354
|
-
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24365
|
+
/** Free bytes on the location's volume; null when capacity is unknown
|
|
24366
|
+
* (remote/unstattable — the recorder logs the statfs failure with the root). */
|
|
24355
24367
|
availableBytes: number().nullable(),
|
|
24356
24368
|
/** Total bytes of the location's volume; null when unknown. */
|
|
24357
24369
|
totalBytes: number().nullable()
|
|
@@ -24363,7 +24375,15 @@ var RecordingStorageUsageSchema = object({
|
|
|
24363
24375
|
nodeId: string(),
|
|
24364
24376
|
totalUsedBytes: number(),
|
|
24365
24377
|
devices: array(RecordingDeviceUsageSchema),
|
|
24366
|
-
|
|
24378
|
+
/**
|
|
24379
|
+
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
24380
|
+
* of the payload without it: the hub serves this method through a BAKED
|
|
24381
|
+
* router, so a hub whose framework train predates a change to this array
|
|
24382
|
+
* strips it out of an answer a newer recorder happily produced. A UI that
|
|
24383
|
+
* dereferences it unconditionally crashes the whole Storage page over a
|
|
24384
|
+
* missing disk bar.
|
|
24385
|
+
*/
|
|
24386
|
+
locations: array(RecordingLocationUsageSchema).optional()
|
|
24367
24387
|
});
|
|
24368
24388
|
/**
|
|
24369
24389
|
* The OPERATOR-ARMED half of multi-location recordings (D116).
|
|
@@ -33479,8 +33499,14 @@ Object.freeze({
|
|
|
33479
33499
|
"network-access": "ingress",
|
|
33480
33500
|
"smtp-provider": "email"
|
|
33481
33501
|
});
|
|
33502
|
+
/** Schema defaults — an untouched sub-field must author exactly these. */
|
|
33503
|
+
var NC_AUDIO_DEFAULTS = {
|
|
33504
|
+
hitPercent: 60,
|
|
33505
|
+
samplingSeconds: 10
|
|
33506
|
+
};
|
|
33482
33507
|
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
33483
33508
|
new Set(["devices", "classes"]);
|
|
33509
|
+
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
33484
33510
|
/**
|
|
33485
33511
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
33486
33512
|
*
|