@camstack/types 1.2.126 → 1.2.128
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 +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/device-manager.cap.d.ts +9 -0
- package/dist/capabilities/face-gallery.cap.d.ts +1 -1
- package/dist/capabilities/index.d.ts +8 -8
- package/dist/capabilities/pipeline-analytics.cap.d.ts +155 -10
- package/dist/capabilities/plate-gallery.cap.d.ts +1 -1
- package/dist/capabilities/recording.cap.d.ts +2 -0
- package/dist/capabilities/storage-migration.cap.d.ts +2 -0
- package/dist/device/system-mirror.d.ts +7 -0
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.js +434 -253
- package/dist/index.mjs +433 -254
- package/dist/interfaces/relocate.d.ts +45 -7
- package/dist/{sleep-CWWLTM6W.js → sleep-C3AniWy-.js} +1 -0
- package/dist/{sleep-bm0x6zZF.mjs → sleep-ot6dTHCA.mjs} +1 -0
- package/package.json +1 -1
|
@@ -39,6 +39,7 @@ export declare const RelocateJobSchema: z.ZodObject<{
|
|
|
39
39
|
filesMoved: z.ZodNumber;
|
|
40
40
|
bytesMoved: z.ZodNumber;
|
|
41
41
|
filesTotal: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
rowsReconciled: z.ZodOptional<z.ZodNumber>;
|
|
42
43
|
startedAt: z.ZodNumber;
|
|
43
44
|
finishedAt: z.ZodNullable<z.ZodNumber>;
|
|
44
45
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -128,14 +129,47 @@ export declare const RelocateMediaInputSchema: z.ZodObject<{
|
|
|
128
129
|
}>>;
|
|
129
130
|
}, z.core.$strip>;
|
|
130
131
|
export type RelocateMediaInput = z.infer<typeof RelocateMediaInputSchema>;
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
132
|
+
/**
|
|
133
|
+
* The unstamped population of ONE collection — split, because the gate and the
|
|
134
|
+
* operator ask two different questions and only one of them has to be cheap.
|
|
135
|
+
*
|
|
136
|
+
* `present` is the GATE: "is there at least one row that would be orphaned by a
|
|
137
|
+
* repoint". It is a single indexed seek to the first matching row, so it stays
|
|
138
|
+
* answerable on a saturated disk and answers in O(log n) precisely in the state
|
|
139
|
+
* that matters — after a seal, when the population is empty.
|
|
140
|
+
*
|
|
141
|
+
* `rows` is the NUMBER, for the refusal message and the operator's sense of
|
|
142
|
+
* scale. It is a second, indexed `COUNT(*)`, and `null` means **not
|
|
143
|
+
* measurable** — never zero. `{ present: true, rows: null }` is a legitimate
|
|
144
|
+
* and useful answer: "there are some, and this read could not say how many"
|
|
145
|
+
* still refuses the cutover, which is the whole job.
|
|
146
|
+
*/
|
|
147
|
+
export declare const UnstampedRowsSchema: z.ZodObject<{
|
|
148
|
+
present: z.ZodBoolean;
|
|
149
|
+
rows: z.ZodNullable<z.ZodNumber>;
|
|
138
150
|
}, z.core.$strip>;
|
|
151
|
+
export type UnstampedRows = z.infer<typeof UnstampedRowsSchema>;
|
|
152
|
+
/**
|
|
153
|
+
* How many rows still carry NO `locationId` — the population a repoint would
|
|
154
|
+
* silently re-aim at a disk that does not hold their bytes.
|
|
155
|
+
*
|
|
156
|
+
* **`null` = the count could not be taken**, and it is NOT permission to cut
|
|
157
|
+
* over. The gate opens on a measured absence and on nothing else; an unread
|
|
158
|
+
* collection and an empty one are different facts, and this repo has already
|
|
159
|
+
* paid for conflating them (`RelocateResidueSchema`, D295).
|
|
160
|
+
*/
|
|
161
|
+
export declare const UnstampedEventMediaCountSchema: z.ZodNullable<z.ZodObject<{
|
|
162
|
+
media: z.ZodObject<{
|
|
163
|
+
present: z.ZodBoolean;
|
|
164
|
+
rows: z.ZodNullable<z.ZodNumber>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
retrainFrames: z.ZodObject<{
|
|
167
|
+
present: z.ZodBoolean;
|
|
168
|
+
rows: z.ZodNullable<z.ZodNumber>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
anyPresent: z.ZodBoolean;
|
|
171
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
139
173
|
export type UnstampedEventMediaCount = z.infer<typeof UnstampedEventMediaCountSchema>;
|
|
140
174
|
export declare const StorageMigrationMediaMoveInputSchema: z.ZodObject<{
|
|
141
175
|
toLocationId: z.ZodString;
|
|
@@ -273,6 +307,7 @@ export declare const StorageMigrationMoveProgressSchema: z.ZodObject<{
|
|
|
273
307
|
filesMoved: z.ZodNumber;
|
|
274
308
|
filesTotal: z.ZodNullable<z.ZodNumber>;
|
|
275
309
|
bytesMoved: z.ZodNumber;
|
|
310
|
+
rowsReconciled: z.ZodOptional<z.ZodNumber>;
|
|
276
311
|
startedAt: z.ZodNumber;
|
|
277
312
|
observedAt: z.ZodNumber;
|
|
278
313
|
}, z.core.$strip>;
|
|
@@ -300,6 +335,7 @@ export declare const StorageMigrationMoveSchema: z.ZodObject<{
|
|
|
300
335
|
filesMoved: z.ZodNumber;
|
|
301
336
|
filesTotal: z.ZodNullable<z.ZodNumber>;
|
|
302
337
|
bytesMoved: z.ZodNumber;
|
|
338
|
+
rowsReconciled: z.ZodOptional<z.ZodNumber>;
|
|
303
339
|
startedAt: z.ZodNumber;
|
|
304
340
|
observedAt: z.ZodNumber;
|
|
305
341
|
}, z.core.$strip>>;
|
|
@@ -356,6 +392,7 @@ export declare const StorageMigrationJobSchema: z.ZodObject<{
|
|
|
356
392
|
filesMoved: z.ZodNumber;
|
|
357
393
|
filesTotal: z.ZodNullable<z.ZodNumber>;
|
|
358
394
|
bytesMoved: z.ZodNumber;
|
|
395
|
+
rowsReconciled: z.ZodOptional<z.ZodNumber>;
|
|
359
396
|
startedAt: z.ZodNumber;
|
|
360
397
|
observedAt: z.ZodNumber;
|
|
361
398
|
}, z.core.$strip>>;
|
|
@@ -511,6 +548,7 @@ export declare const StorageMigrationMoverSchema: z.ZodObject<{
|
|
|
511
548
|
filesMoved: z.ZodNumber;
|
|
512
549
|
bytesMoved: z.ZodNumber;
|
|
513
550
|
filesTotal: z.ZodNullable<z.ZodNumber>;
|
|
551
|
+
rowsReconciled: z.ZodOptional<z.ZodNumber>;
|
|
514
552
|
startedAt: z.ZodNumber;
|
|
515
553
|
finishedAt: z.ZodNullable<z.ZodNumber>;
|
|
516
554
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -3467,6 +3467,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3467
3467
|
getEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventMedia", "query", input),
|
|
3468
3468
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
3469
3469
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
3470
|
+
listEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listEventMedia", "query", input),
|
|
3470
3471
|
searchObjectEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "searchObjectEvents", "query", input),
|
|
3471
3472
|
wipeObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "wipeObjectEmbeddings", "mutation", input),
|
|
3472
3473
|
rebuildObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "rebuildObjectEmbeddings", "mutation", input),
|
|
@@ -3467,6 +3467,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3467
3467
|
getEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventMedia", "query", input),
|
|
3468
3468
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
3469
3469
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
3470
|
+
listEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listEventMedia", "query", input),
|
|
3470
3471
|
searchObjectEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "searchObjectEvents", "query", input),
|
|
3471
3472
|
wipeObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "wipeObjectEmbeddings", "mutation", input),
|
|
3472
3473
|
rebuildObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "rebuildObjectEmbeddings", "mutation", input),
|