@camstack/types 1.2.104 → 1.2.106
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/capabilities/addons.cap.d.ts +4 -4
- package/dist/capabilities/battery.cap.d.ts +4 -4
- package/dist/capabilities/control.cap.d.ts +4 -4
- package/dist/capabilities/core-blocks.cap.d.ts +8 -8
- package/dist/capabilities/custom-model-registry.cap.d.ts +4 -4
- package/dist/capabilities/data-store-provider.cap.d.ts +1 -0
- package/dist/capabilities/device-manager.cap.d.ts +1 -1
- package/dist/capabilities/face-gallery.cap.d.ts +3 -1
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/model-convert.cap.d.ts +6 -6
- package/dist/capabilities/model-distributor.cap.d.ts +4 -4
- package/dist/capabilities/native-object-detection.cap.d.ts +15 -15
- package/dist/capabilities/notification-output.cap.d.ts +18 -18
- package/dist/capabilities/notification-rules.cap.d.ts +26 -26
- package/dist/capabilities/oauth-integration.cap.d.ts +2 -2
- package/dist/capabilities/osd-manager.cap.d.ts +14 -14
- package/dist/capabilities/pipeline-analytics.cap.d.ts +53 -53
- package/dist/capabilities/pipeline-executor.cap.d.ts +7 -7
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +19 -19
- package/dist/capabilities/plate-gallery.cap.d.ts +5 -1
- package/dist/capabilities/platform-probe.cap.d.ts +2 -2
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/recording.cap.d.ts +9 -30
- package/dist/capabilities/scene-monitor.cap.d.ts +8 -8
- package/dist/capabilities/settings-store.cap.d.ts +17 -2
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +6 -6
- package/dist/capabilities/user-management.cap.d.ts +20 -20
- package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
- package/dist/encode-profile.d.ts +2 -2
- package/dist/generated/addon-api.d.ts +2 -6
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/index.js +88 -101
- package/dist/index.mjs +89 -96
- package/dist/interfaces/addon.d.ts +29 -7
- package/dist/interfaces/adoption-job.d.ts +2 -2
- package/dist/interfaces/ops-log.d.ts +2 -2
- package/dist/interfaces/recording-config.d.ts +7 -57
- package/dist/interfaces/relocate.d.ts +4 -4
- package/dist/interfaces/storage.d.ts +23 -0
- package/dist/lifecycle/job.d.ts +4 -4
- package/dist/schemas/auth-records.d.ts +4 -4
- package/dist/types/models.d.ts +7 -7
- package/package.json +1 -1
|
@@ -55,6 +55,7 @@ export declare const plateGalleryCapability: {
|
|
|
55
55
|
readonly listPlates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
|
|
56
56
|
deviceId: z.ZodOptional<z.ZodNumber>;
|
|
57
57
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
includeCrops: z.ZodOptional<z.ZodBoolean>;
|
|
58
59
|
}, z.core.$strip>>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
59
60
|
plateId: z.ZodString;
|
|
60
61
|
deviceId: z.ZodNumber;
|
|
@@ -114,6 +115,7 @@ export declare const plateGalleryCapability: {
|
|
|
114
115
|
text: z.ZodString;
|
|
115
116
|
maxDistance: z.ZodOptional<z.ZodNumber>;
|
|
116
117
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
118
|
+
includeCrops: z.ZodOptional<z.ZodBoolean>;
|
|
117
119
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
118
120
|
plateId: z.ZodString;
|
|
119
121
|
deviceId: z.ZodNumber;
|
|
@@ -155,7 +157,9 @@ export declare const plateGalleryCapability: {
|
|
|
155
157
|
readonly deletePlate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
156
158
|
plateId: z.ZodString;
|
|
157
159
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
158
|
-
readonly listVehicles: import("./capability-definition.js").CapabilityMethodSchema<z.
|
|
160
|
+
readonly listVehicles: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
|
|
161
|
+
includeCrops: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
159
163
|
id: z.ZodString;
|
|
160
164
|
name: z.ZodString;
|
|
161
165
|
sampleCount: z.ZodNumber;
|
|
@@ -274,13 +274,13 @@ export declare const platformProbeCapability: {
|
|
|
274
274
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
275
275
|
readonly resolveHwAccel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
276
276
|
prefer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
277
|
+
coreml: "coreml";
|
|
278
|
+
openvino: "openvino";
|
|
277
279
|
none: "none";
|
|
278
280
|
videotoolbox: "videotoolbox";
|
|
279
281
|
vaapi: "vaapi";
|
|
280
282
|
qsv: "qsv";
|
|
281
283
|
cuda: "cuda";
|
|
282
|
-
coreml: "coreml";
|
|
283
|
-
openvino: "openvino";
|
|
284
284
|
tensorrt: "tensorrt";
|
|
285
285
|
nvdec: "nvdec";
|
|
286
286
|
d3d11va: "d3d11va";
|
|
@@ -105,10 +105,10 @@ export declare const ExportOptionsSchema: z.ZodObject<{
|
|
|
105
105
|
}, z.core.$strip>;
|
|
106
106
|
export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
|
|
107
107
|
export declare const ExportStateSchema: z.ZodEnum<{
|
|
108
|
+
ready: "ready";
|
|
108
109
|
queued: "queued";
|
|
109
110
|
failed: "failed";
|
|
110
111
|
deleted: "deleted";
|
|
111
|
-
ready: "ready";
|
|
112
112
|
rendering: "rendering";
|
|
113
113
|
expired: "expired";
|
|
114
114
|
}>;
|
|
@@ -140,10 +140,10 @@ export declare const ExportRecordSchema: z.ZodObject<{
|
|
|
140
140
|
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
141
|
}, z.core.$strip>;
|
|
142
142
|
state: z.ZodEnum<{
|
|
143
|
+
ready: "ready";
|
|
143
144
|
queued: "queued";
|
|
144
145
|
failed: "failed";
|
|
145
146
|
deleted: "deleted";
|
|
146
|
-
ready: "ready";
|
|
147
147
|
rendering: "rendering";
|
|
148
148
|
expired: "expired";
|
|
149
149
|
}>;
|
|
@@ -297,10 +297,10 @@ export declare const recordingExportCapability: {
|
|
|
297
297
|
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
298
298
|
}, z.core.$strip>;
|
|
299
299
|
state: z.ZodEnum<{
|
|
300
|
+
ready: "ready";
|
|
300
301
|
queued: "queued";
|
|
301
302
|
failed: "failed";
|
|
302
303
|
deleted: "deleted";
|
|
303
|
-
ready: "ready";
|
|
304
304
|
rendering: "rendering";
|
|
305
305
|
expired: "expired";
|
|
306
306
|
}>;
|
|
@@ -342,10 +342,10 @@ export declare const recordingExportCapability: {
|
|
|
342
342
|
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
343
343
|
}, z.core.$strip>;
|
|
344
344
|
state: z.ZodEnum<{
|
|
345
|
+
ready: "ready";
|
|
345
346
|
queued: "queued";
|
|
346
347
|
failed: "failed";
|
|
347
348
|
deleted: "deleted";
|
|
348
|
-
ready: "ready";
|
|
349
349
|
rendering: "rendering";
|
|
350
350
|
expired: "expired";
|
|
351
351
|
}>;
|
|
@@ -386,10 +386,10 @@ export declare const recordingExportCapability: {
|
|
|
386
386
|
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
387
387
|
}, z.core.$strip>;
|
|
388
388
|
state: z.ZodEnum<{
|
|
389
|
+
ready: "ready";
|
|
389
390
|
queued: "queued";
|
|
390
391
|
failed: "failed";
|
|
391
392
|
deleted: "deleted";
|
|
392
|
-
ready: "ready";
|
|
393
393
|
rendering: "rendering";
|
|
394
394
|
expired: "expired";
|
|
395
395
|
}>;
|
|
@@ -431,10 +431,10 @@ export declare const recordingExportCapability: {
|
|
|
431
431
|
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
432
432
|
}, z.core.$strip>;
|
|
433
433
|
state: z.ZodEnum<{
|
|
434
|
+
ready: "ready";
|
|
434
435
|
queued: "queued";
|
|
435
436
|
failed: "failed";
|
|
436
437
|
deleted: "deleted";
|
|
437
|
-
ready: "ready";
|
|
438
438
|
rendering: "rendering";
|
|
439
439
|
expired: "expired";
|
|
440
440
|
}>;
|
|
@@ -476,10 +476,10 @@ export declare const recordingExportCapability: {
|
|
|
476
476
|
notifyTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
477
|
}, z.core.$strip>;
|
|
478
478
|
state: z.ZodEnum<{
|
|
479
|
+
ready: "ready";
|
|
479
480
|
queued: "queued";
|
|
480
481
|
failed: "failed";
|
|
481
482
|
deleted: "deleted";
|
|
482
|
-
ready: "ready";
|
|
483
483
|
rendering: "rendering";
|
|
484
484
|
expired: "expired";
|
|
485
485
|
}>;
|
|
@@ -14,8 +14,8 @@ export declare const RecordingStatusSchema: z.ZodObject<{
|
|
|
14
14
|
deviceId: z.ZodNumber;
|
|
15
15
|
enabled: z.ZodBoolean;
|
|
16
16
|
activeMode: z.ZodEnum<{
|
|
17
|
-
events: "events";
|
|
18
17
|
off: "off";
|
|
18
|
+
events: "events";
|
|
19
19
|
continuous: "continuous";
|
|
20
20
|
}>;
|
|
21
21
|
nodeId: z.ZodString;
|
|
@@ -213,8 +213,8 @@ export declare const recordingCapability: {
|
|
|
213
213
|
deviceId: z.ZodNumber;
|
|
214
214
|
enabled: z.ZodBoolean;
|
|
215
215
|
activeMode: z.ZodEnum<{
|
|
216
|
-
events: "events";
|
|
217
216
|
off: "off";
|
|
217
|
+
events: "events";
|
|
218
218
|
continuous: "continuous";
|
|
219
219
|
}>;
|
|
220
220
|
nodeId: z.ZodString;
|
|
@@ -279,8 +279,8 @@ export declare const recordingCapability: {
|
|
|
279
279
|
}, z.core.$strip>, z.ZodObject<{
|
|
280
280
|
enabled: z.ZodBoolean;
|
|
281
281
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
282
|
-
events: "events";
|
|
283
282
|
off: "off";
|
|
283
|
+
events: "events";
|
|
284
284
|
continuous: "continuous";
|
|
285
285
|
}>>;
|
|
286
286
|
profiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -308,13 +308,6 @@ export declare const recordingCapability: {
|
|
|
308
308
|
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
309
309
|
maxSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
310
310
|
}, z.core.$strip>>;
|
|
311
|
-
scrubThumbnails: z.ZodOptional<z.ZodEnum<{
|
|
312
|
-
high: "high";
|
|
313
|
-
low: "low";
|
|
314
|
-
max: "max";
|
|
315
|
-
standard: "standard";
|
|
316
|
-
minimal: "minimal";
|
|
317
|
-
}>>;
|
|
318
311
|
}, z.core.$strict>, "query">;
|
|
319
312
|
/** Locate footage at a wall-clock instant: the covering segment's window,
|
|
320
313
|
* or a gap with the forward nearest covered edge. Used by a feeder running
|
|
@@ -360,8 +353,8 @@ export declare const recordingCapability: {
|
|
|
360
353
|
config: z.ZodObject<{
|
|
361
354
|
enabled: z.ZodBoolean;
|
|
362
355
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
363
|
-
events: "events";
|
|
364
356
|
off: "off";
|
|
357
|
+
events: "events";
|
|
365
358
|
continuous: "continuous";
|
|
366
359
|
}>>;
|
|
367
360
|
profiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -389,19 +382,12 @@ export declare const recordingCapability: {
|
|
|
389
382
|
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
390
383
|
maxSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
391
384
|
}, z.core.$strip>>;
|
|
392
|
-
scrubThumbnails: z.ZodOptional<z.ZodEnum<{
|
|
393
|
-
high: "high";
|
|
394
|
-
low: "low";
|
|
395
|
-
max: "max";
|
|
396
|
-
standard: "standard";
|
|
397
|
-
minimal: "minimal";
|
|
398
|
-
}>>;
|
|
399
385
|
}, z.core.$strict>;
|
|
400
386
|
}, z.core.$strip>, z.ZodObject<{
|
|
401
387
|
enabled: z.ZodBoolean;
|
|
402
388
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
403
|
-
events: "events";
|
|
404
389
|
off: "off";
|
|
390
|
+
events: "events";
|
|
405
391
|
continuous: "continuous";
|
|
406
392
|
}>>;
|
|
407
393
|
profiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -429,13 +415,6 @@ export declare const recordingCapability: {
|
|
|
429
415
|
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
430
416
|
maxSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
431
417
|
}, z.core.$strip>>;
|
|
432
|
-
scrubThumbnails: z.ZodOptional<z.ZodEnum<{
|
|
433
|
-
high: "high";
|
|
434
|
-
low: "low";
|
|
435
|
-
max: "max";
|
|
436
|
-
standard: "standard";
|
|
437
|
-
minimal: "minimal";
|
|
438
|
-
}>>;
|
|
439
418
|
}, z.core.$strict>, "mutation">;
|
|
440
419
|
/** Re-scan this device's footage from disk (stat sizes) and reseed the
|
|
441
420
|
* index, then return the fresh status. */
|
|
@@ -445,8 +424,8 @@ export declare const recordingCapability: {
|
|
|
445
424
|
deviceId: z.ZodNumber;
|
|
446
425
|
enabled: z.ZodBoolean;
|
|
447
426
|
activeMode: z.ZodEnum<{
|
|
448
|
-
events: "events";
|
|
449
427
|
off: "off";
|
|
428
|
+
events: "events";
|
|
450
429
|
continuous: "continuous";
|
|
451
430
|
}>;
|
|
452
431
|
nodeId: z.ZodString;
|
|
@@ -494,8 +473,8 @@ export declare const recordingCapability: {
|
|
|
494
473
|
id: z.ZodString;
|
|
495
474
|
at: z.ZodNumber;
|
|
496
475
|
domain: z.ZodEnum<{
|
|
497
|
-
events: "events";
|
|
498
476
|
recording: "recording";
|
|
477
|
+
events: "events";
|
|
499
478
|
}>;
|
|
500
479
|
op: z.ZodEnum<{
|
|
501
480
|
prune: "prune";
|
|
@@ -607,10 +586,10 @@ export declare const recordingCapability: {
|
|
|
607
586
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
608
587
|
jobId: z.ZodString;
|
|
609
588
|
state: z.ZodEnum<{
|
|
589
|
+
running: "running";
|
|
610
590
|
queued: "queued";
|
|
611
591
|
done: "done";
|
|
612
592
|
failed: "failed";
|
|
613
|
-
running: "running";
|
|
614
593
|
cancelled: "cancelled";
|
|
615
594
|
}>;
|
|
616
595
|
fromLocationId: z.ZodString;
|
|
@@ -656,10 +635,10 @@ export declare const recordingCapability: {
|
|
|
656
635
|
readonly listRelocateJobs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
657
636
|
jobId: z.ZodString;
|
|
658
637
|
state: z.ZodEnum<{
|
|
638
|
+
running: "running";
|
|
659
639
|
queued: "queued";
|
|
660
640
|
done: "done";
|
|
661
641
|
failed: "failed";
|
|
662
|
-
running: "running";
|
|
663
642
|
cancelled: "cancelled";
|
|
664
643
|
}>;
|
|
665
644
|
fromLocationId: z.ZodString;
|
|
@@ -177,9 +177,9 @@ export declare const SceneMonitorSchema: z.ZodObject<{
|
|
|
177
177
|
}, z.core.$strip>;
|
|
178
178
|
enabled: z.ZodBoolean;
|
|
179
179
|
triggerMode: z.ZodEnum<{
|
|
180
|
+
periodic: "periodic";
|
|
180
181
|
both: "both";
|
|
181
182
|
"on-motion": "on-motion";
|
|
182
|
-
periodic: "periodic";
|
|
183
183
|
}>;
|
|
184
184
|
checkIntervalSec: z.ZodOptional<z.ZodNumber>;
|
|
185
185
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -272,9 +272,9 @@ export declare const SceneMonitorStatusSchema: z.ZodObject<{
|
|
|
272
272
|
}, z.core.$strip>;
|
|
273
273
|
enabled: z.ZodBoolean;
|
|
274
274
|
triggerMode: z.ZodEnum<{
|
|
275
|
+
periodic: "periodic";
|
|
275
276
|
both: "both";
|
|
276
277
|
"on-motion": "on-motion";
|
|
277
|
-
periodic: "periodic";
|
|
278
278
|
}>;
|
|
279
279
|
checkIntervalSec: z.ZodOptional<z.ZodNumber>;
|
|
280
280
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -389,9 +389,9 @@ export declare const sceneMonitorCapability: {
|
|
|
389
389
|
}, z.core.$strip>;
|
|
390
390
|
enabled: z.ZodBoolean;
|
|
391
391
|
triggerMode: z.ZodEnum<{
|
|
392
|
+
periodic: "periodic";
|
|
392
393
|
both: "both";
|
|
393
394
|
"on-motion": "on-motion";
|
|
394
|
-
periodic: "periodic";
|
|
395
395
|
}>;
|
|
396
396
|
checkIntervalSec: z.ZodOptional<z.ZodNumber>;
|
|
397
397
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -494,9 +494,9 @@ export declare const sceneMonitorCapability: {
|
|
|
494
494
|
hysteresisCount: z.ZodNumber;
|
|
495
495
|
}, z.core.$strip>], "mode">;
|
|
496
496
|
triggerMode: z.ZodOptional<z.ZodEnum<{
|
|
497
|
+
periodic: "periodic";
|
|
497
498
|
both: "both";
|
|
498
499
|
"on-motion": "on-motion";
|
|
499
|
-
periodic: "periodic";
|
|
500
500
|
}>>;
|
|
501
501
|
checkIntervalSec: z.ZodOptional<z.ZodNumber>;
|
|
502
502
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -511,9 +511,9 @@ export declare const sceneMonitorCapability: {
|
|
|
511
511
|
}, z.core.$strip>;
|
|
512
512
|
enabled: z.ZodBoolean;
|
|
513
513
|
triggerMode: z.ZodEnum<{
|
|
514
|
+
periodic: "periodic";
|
|
514
515
|
both: "both";
|
|
515
516
|
"on-motion": "on-motion";
|
|
516
|
-
periodic: "periodic";
|
|
517
517
|
}>;
|
|
518
518
|
checkIntervalSec: z.ZodOptional<z.ZodNumber>;
|
|
519
519
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -607,9 +607,9 @@ export declare const sceneMonitorCapability: {
|
|
|
607
607
|
}, z.core.$strip>>;
|
|
608
608
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
609
609
|
triggerMode: z.ZodOptional<z.ZodEnum<{
|
|
610
|
+
periodic: "periodic";
|
|
610
611
|
both: "both";
|
|
611
612
|
"on-motion": "on-motion";
|
|
612
|
-
periodic: "periodic";
|
|
613
613
|
}>>;
|
|
614
614
|
checkIntervalSec: z.ZodOptional<z.ZodNumber>;
|
|
615
615
|
check: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -702,9 +702,9 @@ export declare const sceneMonitorCapability: {
|
|
|
702
702
|
}, z.core.$strip>;
|
|
703
703
|
enabled: z.ZodBoolean;
|
|
704
704
|
triggerMode: z.ZodEnum<{
|
|
705
|
+
periodic: "periodic";
|
|
705
706
|
both: "both";
|
|
706
707
|
"on-motion": "on-motion";
|
|
707
|
-
periodic: "periodic";
|
|
708
708
|
}>;
|
|
709
709
|
checkIntervalSec: z.ZodOptional<z.ZodNumber>;
|
|
710
710
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -801,9 +801,9 @@ export declare const sceneMonitorCapability: {
|
|
|
801
801
|
}, z.core.$strip>;
|
|
802
802
|
enabled: z.ZodBoolean;
|
|
803
803
|
triggerMode: z.ZodEnum<{
|
|
804
|
+
periodic: "periodic";
|
|
804
805
|
both: "both";
|
|
805
806
|
"on-motion": "on-motion";
|
|
806
|
-
periodic: "periodic";
|
|
807
807
|
}>;
|
|
808
808
|
checkIntervalSec: z.ZodOptional<z.ZodNumber>;
|
|
809
809
|
check: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -114,7 +114,21 @@ export declare const settingsStoreCapability: {
|
|
|
114
114
|
key: z.ZodString;
|
|
115
115
|
value: z.ZodUnknown;
|
|
116
116
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
117
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Rows matching a filter.
|
|
119
|
+
*
|
|
120
|
+
* `columns` is a SQL-level projection: the engine SELECTs only those
|
|
121
|
+
* columns (plus the primary key) instead of the whole row. It is the only
|
|
122
|
+
* way to stop paying disk for a column that is discarded — a heavy JSON
|
|
123
|
+
* column dominates the row, and dropping it in JS after the read pays every
|
|
124
|
+
* byte first. Measured on the live `pipeline-analytics:tracks` table: a
|
|
125
|
+
* 501-row page is 4.6 MB whole and 0.11 MB projected, same index, same
|
|
126
|
+
* plan.
|
|
127
|
+
*
|
|
128
|
+
* The engine REFUSES a column it cannot serve rather than omitting it —
|
|
129
|
+
* see `SettingsQueryInput.columns` for why a projection may not be
|
|
130
|
+
* forgiving the way a predicate is.
|
|
131
|
+
*/
|
|
118
132
|
readonly query: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
119
133
|
namespace: z.ZodOptional<z.ZodString>;
|
|
120
134
|
collection: z.ZodString;
|
|
@@ -133,6 +147,7 @@ export declare const settingsStoreCapability: {
|
|
|
133
147
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
134
148
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
135
149
|
}, z.core.$strip>>;
|
|
150
|
+
columns: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
136
151
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
137
152
|
id: z.ZodString;
|
|
138
153
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -301,7 +316,7 @@ export type ISettingsStoreProvider = InferProvider<typeof settingsStoreCapabilit
|
|
|
301
316
|
* Methods are accessed as `client.get.query(input)`, `client.set.mutate(input)`, etc.
|
|
302
317
|
*/
|
|
303
318
|
export type SettingsStoreClient = import('../generated/addon-api.js').AddonApi['settingsStore'];
|
|
304
|
-
export {
|
|
319
|
+
export { CollectionColumnSchema, CollectionIndexSchema, MutationFilterSchema, QueryFilterSchema, SettingsRecordSchema, };
|
|
305
320
|
export type MutationFilter = z.infer<typeof MutationFilterSchema>;
|
|
306
321
|
export type CollectionColumn = z.infer<typeof CollectionColumnSchema>;
|
|
307
322
|
export type CollectionIndex = z.infer<typeof CollectionIndexSchema>;
|
|
@@ -25,8 +25,8 @@ declare const SsoBridgeClaimsSchema: z.ZodObject<{
|
|
|
25
25
|
scopes: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26
26
|
type: z.ZodLiteral<"category">;
|
|
27
27
|
target: z.ZodEnum<{
|
|
28
|
-
system: "system";
|
|
29
28
|
device: "device";
|
|
29
|
+
system: "system";
|
|
30
30
|
}>;
|
|
31
31
|
access: z.ZodArray<z.ZodEnum<{
|
|
32
32
|
view: "view";
|
|
@@ -95,8 +95,8 @@ export declare const ssoBridgeCapability: {
|
|
|
95
95
|
scopes: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
96
96
|
type: z.ZodLiteral<"category">;
|
|
97
97
|
target: z.ZodEnum<{
|
|
98
|
-
system: "system";
|
|
99
98
|
device: "device";
|
|
99
|
+
system: "system";
|
|
100
100
|
}>;
|
|
101
101
|
access: z.ZodArray<z.ZodEnum<{
|
|
102
102
|
view: "view";
|
|
@@ -164,8 +164,8 @@ export declare const ssoBridgeCapability: {
|
|
|
164
164
|
scopes: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
165
165
|
type: z.ZodLiteral<"category">;
|
|
166
166
|
target: z.ZodEnum<{
|
|
167
|
-
system: "system";
|
|
168
167
|
device: "device";
|
|
168
|
+
system: "system";
|
|
169
169
|
}>;
|
|
170
170
|
access: z.ZodArray<z.ZodEnum<{
|
|
171
171
|
view: "view";
|
|
@@ -75,10 +75,10 @@ export declare const storageMigrationCapability: {
|
|
|
75
75
|
toLocationId: z.ZodString;
|
|
76
76
|
moverJobId: z.ZodNullable<z.ZodString>;
|
|
77
77
|
state: z.ZodNullable<z.ZodEnum<{
|
|
78
|
+
running: "running";
|
|
78
79
|
queued: "queued";
|
|
79
80
|
done: "done";
|
|
80
81
|
failed: "failed";
|
|
81
|
-
running: "running";
|
|
82
82
|
cancelled: "cancelled";
|
|
83
83
|
}>>;
|
|
84
84
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -407,11 +407,11 @@ export declare const EgressEncodeSchema: z.ZodObject<{
|
|
|
407
407
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
408
408
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
409
409
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
410
|
+
fast: "fast";
|
|
410
411
|
ultrafast: "ultrafast";
|
|
411
412
|
superfast: "superfast";
|
|
412
413
|
veryfast: "veryfast";
|
|
413
414
|
faster: "faster";
|
|
414
|
-
fast: "fast";
|
|
415
415
|
medium: "medium";
|
|
416
416
|
}>>;
|
|
417
417
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
@@ -478,11 +478,11 @@ export declare const EgressTranscodeRequestSchema: z.ZodObject<{
|
|
|
478
478
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
479
479
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
480
480
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
481
|
+
fast: "fast";
|
|
481
482
|
ultrafast: "ultrafast";
|
|
482
483
|
superfast: "superfast";
|
|
483
484
|
veryfast: "veryfast";
|
|
484
485
|
faster: "faster";
|
|
485
|
-
fast: "fast";
|
|
486
486
|
medium: "medium";
|
|
487
487
|
}>>;
|
|
488
488
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
@@ -507,8 +507,8 @@ export declare const EgressTranscodeRequestSchema: z.ZodObject<{
|
|
|
507
507
|
nv12: "nv12";
|
|
508
508
|
}>>;
|
|
509
509
|
decodeHwAccel: z.ZodOptional<z.ZodEnum<{
|
|
510
|
-
auto: "auto";
|
|
511
510
|
none: "none";
|
|
511
|
+
auto: "auto";
|
|
512
512
|
videotoolbox: "videotoolbox";
|
|
513
513
|
vaapi: "vaapi";
|
|
514
514
|
qsv: "qsv";
|
|
@@ -585,11 +585,11 @@ export declare const streamBrokerCapability: {
|
|
|
585
585
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
586
586
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
587
587
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
588
|
+
fast: "fast";
|
|
588
589
|
ultrafast: "ultrafast";
|
|
589
590
|
superfast: "superfast";
|
|
590
591
|
veryfast: "veryfast";
|
|
591
592
|
faster: "faster";
|
|
592
|
-
fast: "fast";
|
|
593
593
|
medium: "medium";
|
|
594
594
|
}>>;
|
|
595
595
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1100,11 +1100,11 @@ export declare const streamBrokerCapability: {
|
|
|
1100
1100
|
gopFrames: z.ZodOptional<z.ZodNumber>;
|
|
1101
1101
|
bf: z.ZodOptional<z.ZodNumber>;
|
|
1102
1102
|
preset: z.ZodOptional<z.ZodEnum<{
|
|
1103
|
+
fast: "fast";
|
|
1103
1104
|
ultrafast: "ultrafast";
|
|
1104
1105
|
superfast: "superfast";
|
|
1105
1106
|
veryfast: "veryfast";
|
|
1106
1107
|
faster: "faster";
|
|
1107
|
-
fast: "fast";
|
|
1108
1108
|
medium: "medium";
|
|
1109
1109
|
}>>;
|
|
1110
1110
|
tune: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1129,8 +1129,8 @@ export declare const streamBrokerCapability: {
|
|
|
1129
1129
|
nv12: "nv12";
|
|
1130
1130
|
}>>;
|
|
1131
1131
|
decodeHwAccel: z.ZodOptional<z.ZodEnum<{
|
|
1132
|
-
auto: "auto";
|
|
1133
1132
|
none: "none";
|
|
1133
|
+
auto: "auto";
|
|
1134
1134
|
videotoolbox: "videotoolbox";
|
|
1135
1135
|
vaapi: "vaapi";
|
|
1136
1136
|
qsv: "qsv";
|