@camstack/addon-provider-rtsp 1.2.45 → 1.2.46
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 +54 -7
- package/dist/addon.mjs +54 -7
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -8059,6 +8059,21 @@ var RelocateJobSchema = object({
|
|
|
8059
8059
|
bytesMoved: number().int(),
|
|
8060
8060
|
/** Total files discovered up front; null while (or when) unknown. */
|
|
8061
8061
|
filesTotal: number().int().nullable(),
|
|
8062
|
+
/**
|
|
8063
|
+
* Rows this run CORRECTED while moving them — a durable mutation the move
|
|
8064
|
+
* made that nobody asked for, so it is reported where the operator reads the
|
|
8065
|
+
* job rather than only in a log line.
|
|
8066
|
+
*
|
|
8067
|
+
* A footage segment records its byte count in its own NAME, and the durable
|
|
8068
|
+
* hour row derives its aggregates from those names. A file that does not
|
|
8069
|
+
* match its name therefore makes the ledger's sums — and with them quota and
|
|
8070
|
+
* pressure eviction — wrong by the difference, and only a rename can fix it.
|
|
8071
|
+
* On 2026-08-30 one such row also stalled a 110 749-file drain permanently.
|
|
8072
|
+
*
|
|
8073
|
+
* Absent on lanes where the question has no meaning: a media blob's size is
|
|
8074
|
+
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8075
|
+
*/
|
|
8076
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8062
8077
|
startedAt: number(),
|
|
8063
8078
|
finishedAt: number().nullable(),
|
|
8064
8079
|
error: string().nullable()
|
|
@@ -8127,14 +8142,42 @@ var RelocateMediaInputSchema = object({
|
|
|
8127
8142
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8128
8143
|
mode: MediaRelocateModeSchema.optional()
|
|
8129
8144
|
});
|
|
8130
|
-
/**
|
|
8131
|
-
*
|
|
8132
|
-
*
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8145
|
+
/**
|
|
8146
|
+
* The unstamped population of ONE collection — split, because the gate and the
|
|
8147
|
+
* operator ask two different questions and only one of them has to be cheap.
|
|
8148
|
+
*
|
|
8149
|
+
* `present` is the GATE: "is there at least one row that would be orphaned by a
|
|
8150
|
+
* repoint". It is a single indexed seek to the first matching row, so it stays
|
|
8151
|
+
* answerable on a saturated disk and answers in O(log n) precisely in the state
|
|
8152
|
+
* that matters — after a seal, when the population is empty.
|
|
8153
|
+
*
|
|
8154
|
+
* `rows` is the NUMBER, for the refusal message and the operator's sense of
|
|
8155
|
+
* scale. It is a second, indexed `COUNT(*)`, and `null` means **not
|
|
8156
|
+
* measurable** — never zero. `{ present: true, rows: null }` is a legitimate
|
|
8157
|
+
* and useful answer: "there are some, and this read could not say how many"
|
|
8158
|
+
* still refuses the cutover, which is the whole job.
|
|
8159
|
+
*/
|
|
8160
|
+
var UnstampedRowsSchema = object({
|
|
8161
|
+
present: boolean(),
|
|
8162
|
+
rows: number().int().nonnegative().nullable()
|
|
8137
8163
|
});
|
|
8164
|
+
/**
|
|
8165
|
+
* How many rows still carry NO `locationId` — the population a repoint would
|
|
8166
|
+
* silently re-aim at a disk that does not hold their bytes.
|
|
8167
|
+
*
|
|
8168
|
+
* **`null` = the count could not be taken**, and it is NOT permission to cut
|
|
8169
|
+
* over. The gate opens on a measured absence and on nothing else; an unread
|
|
8170
|
+
* collection and an empty one are different facts, and this repo has already
|
|
8171
|
+
* paid for conflating them (`RelocateResidueSchema`, D295).
|
|
8172
|
+
*/
|
|
8173
|
+
var UnstampedEventMediaCountSchema = object({
|
|
8174
|
+
media: UnstampedRowsSchema,
|
|
8175
|
+
retrainFrames: UnstampedRowsSchema,
|
|
8176
|
+
/** True when EITHER collection holds one. The refusal reads this. */
|
|
8177
|
+
anyPresent: boolean(),
|
|
8178
|
+
/** Sum across both, or `null` when either lane could not be counted. */
|
|
8179
|
+
total: number().int().nonnegative().nullable()
|
|
8180
|
+
}).nullable();
|
|
8138
8181
|
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
8139
8182
|
/** The independently selectable logical storage classes — every class
|
|
8140
8183
|
* `storage.listLocationDeclarations` reports, so an operator never meets a
|
|
@@ -8245,6 +8288,10 @@ var StorageMigrationMoveProgressSchema = object({
|
|
|
8245
8288
|
/** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
|
|
8246
8289
|
filesTotal: number().int().nonnegative().nullable(),
|
|
8247
8290
|
bytesMoved: number().int().nonnegative(),
|
|
8291
|
+
/** Rows the mover corrected while moving them — see `RelocateJob`. Absent on
|
|
8292
|
+
* a lane that cannot reconcile. A migration that silently rewrote durable
|
|
8293
|
+
* rows would be the same failure as one that silently skipped them. */
|
|
8294
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8248
8295
|
/** The MOVER's start, not the migration's: a drain restarted after an addon
|
|
8249
8296
|
* crash gets a new mover, and a rate computed from the migration's start
|
|
8250
8297
|
* would silently average in the time nothing was running. */
|
package/dist/addon.mjs
CHANGED
|
@@ -8035,6 +8035,21 @@ var RelocateJobSchema = object({
|
|
|
8035
8035
|
bytesMoved: number().int(),
|
|
8036
8036
|
/** Total files discovered up front; null while (or when) unknown. */
|
|
8037
8037
|
filesTotal: number().int().nullable(),
|
|
8038
|
+
/**
|
|
8039
|
+
* Rows this run CORRECTED while moving them — a durable mutation the move
|
|
8040
|
+
* made that nobody asked for, so it is reported where the operator reads the
|
|
8041
|
+
* job rather than only in a log line.
|
|
8042
|
+
*
|
|
8043
|
+
* A footage segment records its byte count in its own NAME, and the durable
|
|
8044
|
+
* hour row derives its aggregates from those names. A file that does not
|
|
8045
|
+
* match its name therefore makes the ledger's sums — and with them quota and
|
|
8046
|
+
* pressure eviction — wrong by the difference, and only a rename can fix it.
|
|
8047
|
+
* On 2026-08-30 one such row also stalled a 110 749-file drain permanently.
|
|
8048
|
+
*
|
|
8049
|
+
* Absent on lanes where the question has no meaning: a media blob's size is
|
|
8050
|
+
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8051
|
+
*/
|
|
8052
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8038
8053
|
startedAt: number(),
|
|
8039
8054
|
finishedAt: number().nullable(),
|
|
8040
8055
|
error: string().nullable()
|
|
@@ -8103,14 +8118,42 @@ var RelocateMediaInputSchema = object({
|
|
|
8103
8118
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8104
8119
|
mode: MediaRelocateModeSchema.optional()
|
|
8105
8120
|
});
|
|
8106
|
-
/**
|
|
8107
|
-
*
|
|
8108
|
-
*
|
|
8109
|
-
|
|
8110
|
-
|
|
8111
|
-
|
|
8112
|
-
|
|
8121
|
+
/**
|
|
8122
|
+
* The unstamped population of ONE collection — split, because the gate and the
|
|
8123
|
+
* operator ask two different questions and only one of them has to be cheap.
|
|
8124
|
+
*
|
|
8125
|
+
* `present` is the GATE: "is there at least one row that would be orphaned by a
|
|
8126
|
+
* repoint". It is a single indexed seek to the first matching row, so it stays
|
|
8127
|
+
* answerable on a saturated disk and answers in O(log n) precisely in the state
|
|
8128
|
+
* that matters — after a seal, when the population is empty.
|
|
8129
|
+
*
|
|
8130
|
+
* `rows` is the NUMBER, for the refusal message and the operator's sense of
|
|
8131
|
+
* scale. It is a second, indexed `COUNT(*)`, and `null` means **not
|
|
8132
|
+
* measurable** — never zero. `{ present: true, rows: null }` is a legitimate
|
|
8133
|
+
* and useful answer: "there are some, and this read could not say how many"
|
|
8134
|
+
* still refuses the cutover, which is the whole job.
|
|
8135
|
+
*/
|
|
8136
|
+
var UnstampedRowsSchema = object({
|
|
8137
|
+
present: boolean(),
|
|
8138
|
+
rows: number().int().nonnegative().nullable()
|
|
8113
8139
|
});
|
|
8140
|
+
/**
|
|
8141
|
+
* How many rows still carry NO `locationId` — the population a repoint would
|
|
8142
|
+
* silently re-aim at a disk that does not hold their bytes.
|
|
8143
|
+
*
|
|
8144
|
+
* **`null` = the count could not be taken**, and it is NOT permission to cut
|
|
8145
|
+
* over. The gate opens on a measured absence and on nothing else; an unread
|
|
8146
|
+
* collection and an empty one are different facts, and this repo has already
|
|
8147
|
+
* paid for conflating them (`RelocateResidueSchema`, D295).
|
|
8148
|
+
*/
|
|
8149
|
+
var UnstampedEventMediaCountSchema = object({
|
|
8150
|
+
media: UnstampedRowsSchema,
|
|
8151
|
+
retrainFrames: UnstampedRowsSchema,
|
|
8152
|
+
/** True when EITHER collection holds one. The refusal reads this. */
|
|
8153
|
+
anyPresent: boolean(),
|
|
8154
|
+
/** Sum across both, or `null` when either lane could not be counted. */
|
|
8155
|
+
total: number().int().nonnegative().nullable()
|
|
8156
|
+
}).nullable();
|
|
8114
8157
|
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
8115
8158
|
/** The independently selectable logical storage classes — every class
|
|
8116
8159
|
* `storage.listLocationDeclarations` reports, so an operator never meets a
|
|
@@ -8221,6 +8264,10 @@ var StorageMigrationMoveProgressSchema = object({
|
|
|
8221
8264
|
/** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
|
|
8222
8265
|
filesTotal: number().int().nonnegative().nullable(),
|
|
8223
8266
|
bytesMoved: number().int().nonnegative(),
|
|
8267
|
+
/** Rows the mover corrected while moving them — see `RelocateJob`. Absent on
|
|
8268
|
+
* a lane that cannot reconcile. A migration that silently rewrote durable
|
|
8269
|
+
* rows would be the same failure as one that silently skipped them. */
|
|
8270
|
+
rowsReconciled: number().int().nonnegative().optional(),
|
|
8224
8271
|
/** The MOVER's start, not the migration's: a drain restarted after an addon
|
|
8225
8272
|
* crash gets a new mover, and a rate computed from the migration's start
|
|
8226
8273
|
* would silently average in the time nothing was running. */
|