@camstack/types 1.2.19 → 1.2.21
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 +2 -1
- package/dist/addon.mjs +2 -1
- package/dist/capabilities/data-store-provider.cap.d.ts +190 -0
- package/dist/capabilities/index.d.ts +4 -2
- package/dist/capabilities/recording.cap.d.ts +1 -5
- package/dist/capabilities/server-management.cap.d.ts +81 -1
- package/dist/capabilities/settings-store.cap.d.ts +19 -6
- package/dist/generated/addon-api.d.ts +86 -222
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/index.js +425 -167
- package/dist/index.mjs +422 -168
- package/dist/interfaces/recording-config.d.ts +0 -1
- package/dist/interfaces/relocate.d.ts +1 -2
- package/dist/types/detection.d.ts +13 -0
- package/package.json +1 -1
|
@@ -205,7 +205,6 @@ export declare const RecordingConfigSchema: z.ZodObject<{
|
|
|
205
205
|
max: "max";
|
|
206
206
|
minimal: "minimal";
|
|
207
207
|
}>>;
|
|
208
|
-
stripsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
209
208
|
}, z.core.$strict>;
|
|
210
209
|
export type RecordingConfig = z.infer<typeof RecordingConfigSchema>;
|
|
211
210
|
/** The bands + enabled flag a mode is derived from — all {@link deriveRecordingMode} reads. */
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
/**
|
|
3
3
|
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
4
4
|
*
|
|
5
|
-
* One shape shared by the recorder's `relocateFootage` (segments
|
|
5
|
+
* One shape shared by the recorder's `relocateFootage` (segments) and
|
|
6
6
|
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7
7
|
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
8
8
|
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
@@ -42,7 +42,6 @@ export declare const RelocateFootageInputSchema: z.ZodObject<{
|
|
|
42
42
|
toLocationId: z.ZodString;
|
|
43
43
|
entities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
44
44
|
segments: "segments";
|
|
45
|
-
strips: "strips";
|
|
46
45
|
}>>>;
|
|
47
46
|
throttleMbps: z.ZodOptional<z.ZodNumber>;
|
|
48
47
|
}, z.core.$strip>;
|
|
@@ -311,6 +311,19 @@ export interface FrameResult {
|
|
|
311
311
|
* that drops nothing allocates nothing and puts no field on the wire.
|
|
312
312
|
*/
|
|
313
313
|
readonly discarded?: readonly DiscardedDetection[];
|
|
314
|
+
/**
|
|
315
|
+
* Overload-shed marker: the inference pool DELIBERATELY skipped a ROOT
|
|
316
|
+
* step of this frame (`EngineOutput.dropped` — flow control, never an
|
|
317
|
+
* error), so no root inference ran and `detections` is empty by
|
|
318
|
+
* construction. First-class so consumers that count drops (the capacity
|
|
319
|
+
* ramp's drop accounting, timing samplers) can distinguish "shed under
|
|
320
|
+
* load" from "genuinely no detections" without guessing from an empty
|
|
321
|
+
* array. Same absence rule as `discarded`: absent when every root step
|
|
322
|
+
* actually ran, never `false` on the wire.
|
|
323
|
+
*/
|
|
324
|
+
readonly shed?: true;
|
|
325
|
+
/** Which bound shed the frame (e.g. `'worker-in-flight-cap'`). Present iff `shed` is. */
|
|
326
|
+
readonly shedReason?: string;
|
|
314
327
|
readonly debug?: FrameDebug;
|
|
315
328
|
}
|
|
316
329
|
/**
|