@camstack/types 1.2.321 → 1.2.322
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/index.d.ts +2 -2
- package/dist/capabilities/pipeline-executor.cap.d.ts +1 -112
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +9 -290
- package/dist/client.js +1 -9
- package/dist/client.mjs +1 -9
- package/dist/generated/addon-api.d.ts +0 -56
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11 -134
- package/dist/index.mjs +12 -134
- package/dist/interfaces/pipeline-executor-capability.d.ts +1 -15
- package/dist/types/camera-pipeline.d.ts +3 -20
- package/dist/types/detection.d.ts +1 -1
- package/dist/types/pipeline-schema.d.ts +1 -8
- package/package.json +1 -1
|
@@ -92,8 +92,8 @@ export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthI
|
|
|
92
92
|
export { AnalyticsLtsSeriesSchema, type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, LTS_SCOPE_CLASS_SEPARATOR, type LtsBucket, LtsBucketSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, occupancyScope, parseOccupancyScope, pipelineAnalyticsCapability, type RebuildObjectEmbeddingsRefusal, RebuildObjectEmbeddingsRefusalSchema, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
93
93
|
export type { EffectiveTuning, EffectiveTuningInput, NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, SuppliedRootOutput, } from './pipeline-executor.cap.js';
|
|
94
94
|
export { EffectiveTuningSchema, ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, SuppliedRootOutputSchema, } from './pipeline-executor.cap.js';
|
|
95
|
-
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus,
|
|
96
|
-
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema,
|
|
95
|
+
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, ClusterModelChoice, ClusterModelChoiceUnreadableReason, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, OccupancyLookAnswer, OccupancyLookRefusal, OccupancyLookRequest, SetCameraSensorsInput, } from './pipeline-orchestrator.cap.js';
|
|
96
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, ClusterModelChoiceSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, SetCameraSensorsInputSchema, } from './pipeline-orchestrator.cap.js';
|
|
97
97
|
export type { DetailParent, DetailResult, MotionSource, MotionSources, OccupancyBurstRefusal, ParkedFrameKind, ParkedTrackFrame, ParkRefusal, ParkTrackFrameResult, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunnerJumpStepProvisioning, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
|
|
98
98
|
export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, MOTION_SOURCE_LABELS, MotionSourceEnum, MotionSourcesSchema, motionSourceLabel, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, OccupancyBurstRefusalSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, type SessionTrigger, SessionTriggerSchema, } from './pipeline-runner.cap.js';
|
|
99
99
|
export type { AudioClassifyOutcome, AudioNotClassifiedReason, } from './schemas/detection-shared.js';
|
|
@@ -165,34 +165,6 @@ export type PipelineDefaultStepOutput = {
|
|
|
165
165
|
readonly settings?: Readonly<Record<string, unknown>>;
|
|
166
166
|
};
|
|
167
167
|
declare const PipelineDefaultStepSchema: z.ZodType<PipelineDefaultStepOutput>;
|
|
168
|
-
export type PipelineTemplateStepOutput = {
|
|
169
|
-
readonly addonId: string;
|
|
170
|
-
readonly enabled: boolean;
|
|
171
|
-
readonly modelId: string;
|
|
172
|
-
readonly children: readonly PipelineTemplateStepOutput[];
|
|
173
|
-
readonly settings?: Readonly<Record<string, unknown>>;
|
|
174
|
-
};
|
|
175
|
-
declare const PipelineTemplateStepSchema: z.ZodType<PipelineTemplateStepOutput>;
|
|
176
|
-
declare const PipelineTemplateSchema: z.ZodObject<{
|
|
177
|
-
id: z.ZodString;
|
|
178
|
-
name: z.ZodString;
|
|
179
|
-
createdAt: z.ZodString;
|
|
180
|
-
updatedAt: z.ZodString;
|
|
181
|
-
engine: z.ZodObject<{
|
|
182
|
-
runtime: z.ZodLiteral<"python">;
|
|
183
|
-
backend: z.ZodString;
|
|
184
|
-
format: z.ZodEnum<{
|
|
185
|
-
onnx: "onnx";
|
|
186
|
-
coreml: "coreml";
|
|
187
|
-
openvino: "openvino";
|
|
188
|
-
tflite: "tflite";
|
|
189
|
-
pt: "pt";
|
|
190
|
-
gguf: "gguf";
|
|
191
|
-
}>;
|
|
192
|
-
device: z.ZodOptional<z.ZodString>;
|
|
193
|
-
}, z.core.$strip>;
|
|
194
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
|
|
195
|
-
}, z.core.$strip>;
|
|
196
168
|
declare const PipelineModelOptionSchema: z.ZodObject<{
|
|
197
169
|
id: z.ZodString;
|
|
198
170
|
name: z.ZodString;
|
|
@@ -1086,89 +1058,6 @@ export declare const pipelineExecutorCapability: {
|
|
|
1086
1058
|
}, z.core.$strip>>>;
|
|
1087
1059
|
format: z.ZodString;
|
|
1088
1060
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1089
|
-
readonly listTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1090
|
-
id: z.ZodString;
|
|
1091
|
-
name: z.ZodString;
|
|
1092
|
-
createdAt: z.ZodString;
|
|
1093
|
-
updatedAt: z.ZodString;
|
|
1094
|
-
engine: z.ZodObject<{
|
|
1095
|
-
runtime: z.ZodLiteral<"python">;
|
|
1096
|
-
backend: z.ZodString;
|
|
1097
|
-
format: z.ZodEnum<{
|
|
1098
|
-
onnx: "onnx";
|
|
1099
|
-
coreml: "coreml";
|
|
1100
|
-
openvino: "openvino";
|
|
1101
|
-
tflite: "tflite";
|
|
1102
|
-
pt: "pt";
|
|
1103
|
-
gguf: "gguf";
|
|
1104
|
-
}>;
|
|
1105
|
-
device: z.ZodOptional<z.ZodString>;
|
|
1106
|
-
}, z.core.$strip>;
|
|
1107
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
|
|
1108
|
-
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1109
|
-
readonly saveTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1110
|
-
name: z.ZodString;
|
|
1111
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
|
|
1112
|
-
engine: z.ZodObject<{
|
|
1113
|
-
runtime: z.ZodLiteral<"python">;
|
|
1114
|
-
backend: z.ZodString;
|
|
1115
|
-
format: z.ZodEnum<{
|
|
1116
|
-
onnx: "onnx";
|
|
1117
|
-
coreml: "coreml";
|
|
1118
|
-
openvino: "openvino";
|
|
1119
|
-
tflite: "tflite";
|
|
1120
|
-
pt: "pt";
|
|
1121
|
-
gguf: "gguf";
|
|
1122
|
-
}>;
|
|
1123
|
-
device: z.ZodOptional<z.ZodString>;
|
|
1124
|
-
}, z.core.$strip>;
|
|
1125
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1126
|
-
id: z.ZodString;
|
|
1127
|
-
name: z.ZodString;
|
|
1128
|
-
createdAt: z.ZodString;
|
|
1129
|
-
updatedAt: z.ZodString;
|
|
1130
|
-
engine: z.ZodObject<{
|
|
1131
|
-
runtime: z.ZodLiteral<"python">;
|
|
1132
|
-
backend: z.ZodString;
|
|
1133
|
-
format: z.ZodEnum<{
|
|
1134
|
-
onnx: "onnx";
|
|
1135
|
-
coreml: "coreml";
|
|
1136
|
-
openvino: "openvino";
|
|
1137
|
-
tflite: "tflite";
|
|
1138
|
-
pt: "pt";
|
|
1139
|
-
gguf: "gguf";
|
|
1140
|
-
}>;
|
|
1141
|
-
device: z.ZodOptional<z.ZodString>;
|
|
1142
|
-
}, z.core.$strip>;
|
|
1143
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
|
|
1144
|
-
}, z.core.$strip>, "mutation">;
|
|
1145
|
-
readonly updateTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1146
|
-
id: z.ZodString;
|
|
1147
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1148
|
-
steps: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>>;
|
|
1149
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1150
|
-
id: z.ZodString;
|
|
1151
|
-
name: z.ZodString;
|
|
1152
|
-
createdAt: z.ZodString;
|
|
1153
|
-
updatedAt: z.ZodString;
|
|
1154
|
-
engine: z.ZodObject<{
|
|
1155
|
-
runtime: z.ZodLiteral<"python">;
|
|
1156
|
-
backend: z.ZodString;
|
|
1157
|
-
format: z.ZodEnum<{
|
|
1158
|
-
onnx: "onnx";
|
|
1159
|
-
coreml: "coreml";
|
|
1160
|
-
openvino: "openvino";
|
|
1161
|
-
tflite: "tflite";
|
|
1162
|
-
pt: "pt";
|
|
1163
|
-
gguf: "gguf";
|
|
1164
|
-
}>;
|
|
1165
|
-
device: z.ZodOptional<z.ZodString>;
|
|
1166
|
-
}, z.core.$strip>;
|
|
1167
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<PipelineTemplateStepOutput, unknown, z.core.$ZodTypeInternals<PipelineTemplateStepOutput, unknown>>>>;
|
|
1168
|
-
}, z.core.$strip>, "mutation">;
|
|
1169
|
-
readonly deleteTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1170
|
-
id: z.ZodString;
|
|
1171
|
-
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
1172
1061
|
readonly getCapabilities: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodCustom<InferenceCapabilities, InferenceCapabilities>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1173
1062
|
readonly getAddonModels: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1174
1063
|
addonId: z.ZodString;
|
|
@@ -1530,4 +1419,4 @@ export declare const pipelineExecutorCapability: {
|
|
|
1530
1419
|
};
|
|
1531
1420
|
};
|
|
1532
1421
|
export type IPipelineExecutorProvider = InferProvider<typeof pipelineExecutorCapability>;
|
|
1533
|
-
export { AvailableEngineSchema, EngineDeviceInfoSchema, EngineProvisioningSchema, ModelSubstitutionSchema, PipelineAddonSchemaSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelOptionSchema, PipelineSchemaSchema, PipelineSlotSchemaSchema,
|
|
1422
|
+
export { AvailableEngineSchema, EngineDeviceInfoSchema, EngineProvisioningSchema, ModelSubstitutionSchema, PipelineAddonSchemaSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineModelOptionSchema, PipelineSchemaSchema, PipelineSlotSchemaSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, };
|
|
@@ -35,47 +35,6 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
|
|
|
35
35
|
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
36
36
|
}, z.core.$strip>>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
|
-
declare const PipelineTemplateSchema: z.ZodObject<{
|
|
39
|
-
id: z.ZodString;
|
|
40
|
-
name: z.ZodString;
|
|
41
|
-
description: z.ZodOptional<z.ZodString>;
|
|
42
|
-
config: z.ZodObject<{
|
|
43
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
44
|
-
runtime: z.ZodLiteral<"python">;
|
|
45
|
-
backend: z.ZodString;
|
|
46
|
-
format: z.ZodEnum<{
|
|
47
|
-
onnx: "onnx";
|
|
48
|
-
coreml: "coreml";
|
|
49
|
-
openvino: "openvino";
|
|
50
|
-
tflite: "tflite";
|
|
51
|
-
pt: "pt";
|
|
52
|
-
gguf: "gguf";
|
|
53
|
-
}>;
|
|
54
|
-
device: z.ZodOptional<z.ZodString>;
|
|
55
|
-
}, z.core.$strip>>;
|
|
56
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
57
|
-
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
58
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
59
|
-
runtime: z.ZodLiteral<"python">;
|
|
60
|
-
backend: z.ZodString;
|
|
61
|
-
format: z.ZodEnum<{
|
|
62
|
-
onnx: "onnx";
|
|
63
|
-
coreml: "coreml";
|
|
64
|
-
openvino: "openvino";
|
|
65
|
-
tflite: "tflite";
|
|
66
|
-
pt: "pt";
|
|
67
|
-
gguf: "gguf";
|
|
68
|
-
}>;
|
|
69
|
-
device: z.ZodOptional<z.ZodString>;
|
|
70
|
-
}, z.core.$strip>>;
|
|
71
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
72
|
-
enabled: z.ZodBoolean;
|
|
73
|
-
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
74
|
-
}, z.core.$strip>>>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
createdAt: z.ZodString;
|
|
77
|
-
updatedAt: z.ZodString;
|
|
78
|
-
}, z.core.$strip>;
|
|
79
38
|
declare const CameraStepOverridePatchSchema: z.ZodObject<{
|
|
80
39
|
modelId: z.ZodOptional<z.ZodString>;
|
|
81
40
|
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -229,24 +188,16 @@ declare const CameraBrokerStatusSchema: z.ZodObject<{
|
|
|
229
188
|
webrtcSessions: z.ZodNumber;
|
|
230
189
|
rtspRestream: z.ZodBoolean;
|
|
231
190
|
}, z.core.$strip>;
|
|
232
|
-
/**
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
191
|
+
/**
|
|
192
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
193
|
+
* construction); null when the camera has no detection node. It carries no
|
|
194
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
195
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
196
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
197
|
+
* detector), never from a counter nothing feeds.
|
|
198
|
+
*/
|
|
240
199
|
declare const CameraDecoderStatusSchema: z.ZodObject<{
|
|
241
200
|
nodeId: z.ZodString;
|
|
242
|
-
formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
243
|
-
sessionCount: z.ZodNumber;
|
|
244
|
-
shm: z.ZodObject<{
|
|
245
|
-
framesWritten: z.ZodNumber;
|
|
246
|
-
getFrameHits: z.ZodNumber;
|
|
247
|
-
getFrameMisses: z.ZodNumber;
|
|
248
|
-
budgetMb: z.ZodNumber;
|
|
249
|
-
}, z.core.$strip>;
|
|
250
201
|
}, z.core.$strip>;
|
|
251
202
|
/** Motion block — null when motion detection is not active for this device. */
|
|
252
203
|
declare const CameraMotionStatusSchema: z.ZodObject<{
|
|
@@ -447,14 +398,6 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
447
398
|
}, z.core.$strip>>;
|
|
448
399
|
decoder: z.ZodNullable<z.ZodObject<{
|
|
449
400
|
nodeId: z.ZodString;
|
|
450
|
-
formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
451
|
-
sessionCount: z.ZodNumber;
|
|
452
|
-
shm: z.ZodObject<{
|
|
453
|
-
framesWritten: z.ZodNumber;
|
|
454
|
-
getFrameHits: z.ZodNumber;
|
|
455
|
-
getFrameMisses: z.ZodNumber;
|
|
456
|
-
budgetMb: z.ZodNumber;
|
|
457
|
-
}, z.core.$strip>;
|
|
458
401
|
}, z.core.$strip>>;
|
|
459
402
|
motion: z.ZodNullable<z.ZodObject<{
|
|
460
403
|
enabled: z.ZodBoolean;
|
|
@@ -2250,14 +2193,6 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
2250
2193
|
}, z.core.$strip>>;
|
|
2251
2194
|
decoder: z.ZodNullable<z.ZodObject<{
|
|
2252
2195
|
nodeId: z.ZodString;
|
|
2253
|
-
formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2254
|
-
sessionCount: z.ZodNumber;
|
|
2255
|
-
shm: z.ZodObject<{
|
|
2256
|
-
framesWritten: z.ZodNumber;
|
|
2257
|
-
getFrameHits: z.ZodNumber;
|
|
2258
|
-
getFrameMisses: z.ZodNumber;
|
|
2259
|
-
budgetMb: z.ZodNumber;
|
|
2260
|
-
}, z.core.$strip>;
|
|
2261
2196
|
}, z.core.$strip>>;
|
|
2262
2197
|
motion: z.ZodNullable<z.ZodObject<{
|
|
2263
2198
|
enabled: z.ZodBoolean;
|
|
@@ -2479,14 +2414,6 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
2479
2414
|
}, z.core.$strip>>;
|
|
2480
2415
|
decoder: z.ZodNullable<z.ZodObject<{
|
|
2481
2416
|
nodeId: z.ZodString;
|
|
2482
|
-
formats: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2483
|
-
sessionCount: z.ZodNumber;
|
|
2484
|
-
shm: z.ZodObject<{
|
|
2485
|
-
framesWritten: z.ZodNumber;
|
|
2486
|
-
getFrameHits: z.ZodNumber;
|
|
2487
|
-
getFrameMisses: z.ZodNumber;
|
|
2488
|
-
budgetMb: z.ZodNumber;
|
|
2489
|
-
}, z.core.$strip>;
|
|
2490
2417
|
}, z.core.$strip>>;
|
|
2491
2418
|
motion: z.ZodNullable<z.ZodObject<{
|
|
2492
2419
|
enabled: z.ZodBoolean;
|
|
@@ -2719,213 +2646,6 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
2719
2646
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
2720
2647
|
error: z.ZodNullable<z.ZodString>;
|
|
2721
2648
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
2722
|
-
/** List every template the operator has saved. */
|
|
2723
|
-
readonly listTemplates: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2724
|
-
id: z.ZodString;
|
|
2725
|
-
name: z.ZodString;
|
|
2726
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2727
|
-
config: z.ZodObject<{
|
|
2728
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2729
|
-
runtime: z.ZodLiteral<"python">;
|
|
2730
|
-
backend: z.ZodString;
|
|
2731
|
-
format: z.ZodEnum<{
|
|
2732
|
-
onnx: "onnx";
|
|
2733
|
-
coreml: "coreml";
|
|
2734
|
-
openvino: "openvino";
|
|
2735
|
-
tflite: "tflite";
|
|
2736
|
-
pt: "pt";
|
|
2737
|
-
gguf: "gguf";
|
|
2738
|
-
}>;
|
|
2739
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2740
|
-
}, z.core.$strip>>;
|
|
2741
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
2742
|
-
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2743
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2744
|
-
runtime: z.ZodLiteral<"python">;
|
|
2745
|
-
backend: z.ZodString;
|
|
2746
|
-
format: z.ZodEnum<{
|
|
2747
|
-
onnx: "onnx";
|
|
2748
|
-
coreml: "coreml";
|
|
2749
|
-
openvino: "openvino";
|
|
2750
|
-
tflite: "tflite";
|
|
2751
|
-
pt: "pt";
|
|
2752
|
-
gguf: "gguf";
|
|
2753
|
-
}>;
|
|
2754
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2755
|
-
}, z.core.$strip>>;
|
|
2756
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
2757
|
-
enabled: z.ZodBoolean;
|
|
2758
|
-
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2759
|
-
}, z.core.$strip>>>;
|
|
2760
|
-
}, z.core.$strip>;
|
|
2761
|
-
createdAt: z.ZodString;
|
|
2762
|
-
updatedAt: z.ZodString;
|
|
2763
|
-
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
2764
|
-
/** Create a new named preset from a given CameraPipelineConfig. */
|
|
2765
|
-
readonly saveTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2766
|
-
name: z.ZodString;
|
|
2767
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2768
|
-
config: z.ZodObject<{
|
|
2769
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2770
|
-
runtime: z.ZodLiteral<"python">;
|
|
2771
|
-
backend: z.ZodString;
|
|
2772
|
-
format: z.ZodEnum<{
|
|
2773
|
-
onnx: "onnx";
|
|
2774
|
-
coreml: "coreml";
|
|
2775
|
-
openvino: "openvino";
|
|
2776
|
-
tflite: "tflite";
|
|
2777
|
-
pt: "pt";
|
|
2778
|
-
gguf: "gguf";
|
|
2779
|
-
}>;
|
|
2780
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2781
|
-
}, z.core.$strip>>;
|
|
2782
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
2783
|
-
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2784
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2785
|
-
runtime: z.ZodLiteral<"python">;
|
|
2786
|
-
backend: z.ZodString;
|
|
2787
|
-
format: z.ZodEnum<{
|
|
2788
|
-
onnx: "onnx";
|
|
2789
|
-
coreml: "coreml";
|
|
2790
|
-
openvino: "openvino";
|
|
2791
|
-
tflite: "tflite";
|
|
2792
|
-
pt: "pt";
|
|
2793
|
-
gguf: "gguf";
|
|
2794
|
-
}>;
|
|
2795
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2796
|
-
}, z.core.$strip>>;
|
|
2797
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
2798
|
-
enabled: z.ZodBoolean;
|
|
2799
|
-
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2800
|
-
}, z.core.$strip>>>;
|
|
2801
|
-
}, z.core.$strip>;
|
|
2802
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2803
|
-
id: z.ZodString;
|
|
2804
|
-
name: z.ZodString;
|
|
2805
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2806
|
-
config: z.ZodObject<{
|
|
2807
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2808
|
-
runtime: z.ZodLiteral<"python">;
|
|
2809
|
-
backend: z.ZodString;
|
|
2810
|
-
format: z.ZodEnum<{
|
|
2811
|
-
onnx: "onnx";
|
|
2812
|
-
coreml: "coreml";
|
|
2813
|
-
openvino: "openvino";
|
|
2814
|
-
tflite: "tflite";
|
|
2815
|
-
pt: "pt";
|
|
2816
|
-
gguf: "gguf";
|
|
2817
|
-
}>;
|
|
2818
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2819
|
-
}, z.core.$strip>>;
|
|
2820
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
2821
|
-
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2822
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2823
|
-
runtime: z.ZodLiteral<"python">;
|
|
2824
|
-
backend: z.ZodString;
|
|
2825
|
-
format: z.ZodEnum<{
|
|
2826
|
-
onnx: "onnx";
|
|
2827
|
-
coreml: "coreml";
|
|
2828
|
-
openvino: "openvino";
|
|
2829
|
-
tflite: "tflite";
|
|
2830
|
-
pt: "pt";
|
|
2831
|
-
gguf: "gguf";
|
|
2832
|
-
}>;
|
|
2833
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2834
|
-
}, z.core.$strip>>;
|
|
2835
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
2836
|
-
enabled: z.ZodBoolean;
|
|
2837
|
-
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2838
|
-
}, z.core.$strip>>>;
|
|
2839
|
-
}, z.core.$strip>;
|
|
2840
|
-
createdAt: z.ZodString;
|
|
2841
|
-
updatedAt: z.ZodString;
|
|
2842
|
-
}, z.core.$strip>, "mutation">;
|
|
2843
|
-
/** Partial update of a template. Any omitted field is preserved. */
|
|
2844
|
-
readonly updateTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2845
|
-
id: z.ZodString;
|
|
2846
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2847
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2848
|
-
config: z.ZodOptional<z.ZodObject<{
|
|
2849
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2850
|
-
runtime: z.ZodLiteral<"python">;
|
|
2851
|
-
backend: z.ZodString;
|
|
2852
|
-
format: z.ZodEnum<{
|
|
2853
|
-
onnx: "onnx";
|
|
2854
|
-
coreml: "coreml";
|
|
2855
|
-
openvino: "openvino";
|
|
2856
|
-
tflite: "tflite";
|
|
2857
|
-
pt: "pt";
|
|
2858
|
-
gguf: "gguf";
|
|
2859
|
-
}>;
|
|
2860
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2861
|
-
}, z.core.$strip>>;
|
|
2862
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
2863
|
-
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2864
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2865
|
-
runtime: z.ZodLiteral<"python">;
|
|
2866
|
-
backend: z.ZodString;
|
|
2867
|
-
format: z.ZodEnum<{
|
|
2868
|
-
onnx: "onnx";
|
|
2869
|
-
coreml: "coreml";
|
|
2870
|
-
openvino: "openvino";
|
|
2871
|
-
tflite: "tflite";
|
|
2872
|
-
pt: "pt";
|
|
2873
|
-
gguf: "gguf";
|
|
2874
|
-
}>;
|
|
2875
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2876
|
-
}, z.core.$strip>>;
|
|
2877
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
2878
|
-
enabled: z.ZodBoolean;
|
|
2879
|
-
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2880
|
-
}, z.core.$strip>>>;
|
|
2881
|
-
}, z.core.$strip>>;
|
|
2882
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2883
|
-
id: z.ZodString;
|
|
2884
|
-
name: z.ZodString;
|
|
2885
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2886
|
-
config: z.ZodObject<{
|
|
2887
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2888
|
-
runtime: z.ZodLiteral<"python">;
|
|
2889
|
-
backend: z.ZodString;
|
|
2890
|
-
format: z.ZodEnum<{
|
|
2891
|
-
onnx: "onnx";
|
|
2892
|
-
coreml: "coreml";
|
|
2893
|
-
openvino: "openvino";
|
|
2894
|
-
tflite: "tflite";
|
|
2895
|
-
pt: "pt";
|
|
2896
|
-
gguf: "gguf";
|
|
2897
|
-
}>;
|
|
2898
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2899
|
-
}, z.core.$strip>>;
|
|
2900
|
-
steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
|
|
2901
|
-
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2902
|
-
engine: z.ZodOptional<z.ZodObject<{
|
|
2903
|
-
runtime: z.ZodLiteral<"python">;
|
|
2904
|
-
backend: z.ZodString;
|
|
2905
|
-
format: z.ZodEnum<{
|
|
2906
|
-
onnx: "onnx";
|
|
2907
|
-
coreml: "coreml";
|
|
2908
|
-
openvino: "openvino";
|
|
2909
|
-
tflite: "tflite";
|
|
2910
|
-
pt: "pt";
|
|
2911
|
-
gguf: "gguf";
|
|
2912
|
-
}>;
|
|
2913
|
-
device: z.ZodOptional<z.ZodString>;
|
|
2914
|
-
}, z.core.$strip>>;
|
|
2915
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
2916
|
-
enabled: z.ZodBoolean;
|
|
2917
|
-
settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2918
|
-
}, z.core.$strip>>>;
|
|
2919
|
-
}, z.core.$strip>;
|
|
2920
|
-
createdAt: z.ZodString;
|
|
2921
|
-
updatedAt: z.ZodString;
|
|
2922
|
-
}, z.core.$strip>, "mutation">;
|
|
2923
|
-
/** Remove a template. Camera configs that were seeded from it keep a copy. */
|
|
2924
|
-
readonly deleteTemplate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
2925
|
-
id: z.ZodString;
|
|
2926
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2927
|
-
success: z.ZodLiteral<true>;
|
|
2928
|
-
}, z.core.$strip>, "mutation">;
|
|
2929
2649
|
};
|
|
2930
2650
|
};
|
|
2931
2651
|
export type IPipelineOrchestratorProvider = InferProvider<typeof pipelineOrchestratorCapability>;
|
|
@@ -2942,7 +2662,6 @@ export type CameraSourceStream = z.infer<typeof CameraSourceStreamSchema>;
|
|
|
2942
2662
|
export type CameraBrokerStatus = z.infer<typeof CameraBrokerStatusSchema>;
|
|
2943
2663
|
export type CameraBrokerProfile = z.infer<typeof CameraBrokerProfileSchema>;
|
|
2944
2664
|
export type CameraDecoderStatus = z.infer<typeof CameraDecoderStatusSchema>;
|
|
2945
|
-
export type CameraDecoderShm = z.infer<typeof CameraDecoderShmSchema>;
|
|
2946
2665
|
export type CameraMotionStatus = z.infer<typeof CameraMotionStatusSchema>;
|
|
2947
2666
|
export type CameraDetectionStatus = z.infer<typeof CameraDetectionStatusSchema>;
|
|
2948
2667
|
export type CameraDetectionProvisioning = z.infer<typeof CameraDetectionProvisioningSchema>;
|
|
@@ -2955,4 +2674,4 @@ export type IngestOwner = z.infer<typeof IngestOwnerSchema>;
|
|
|
2955
2674
|
export type NodeInferenceDevice = z.infer<typeof NodeInferenceDeviceSchema>;
|
|
2956
2675
|
export type NodeInferenceDevices = z.infer<typeof NodeInferenceDevicesSchema>;
|
|
2957
2676
|
export type InferenceDeviceExclusionReason = z.infer<typeof InferenceDeviceExclusionReasonSchema>;
|
|
2958
|
-
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema,
|
|
2677
|
+
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, PipelineAssignmentSchema, };
|
package/dist/client.js
CHANGED
|
@@ -7453,10 +7453,6 @@ function createSystemProxy(api) {
|
|
|
7453
7453
|
getGlobalPipelineConfig: (input) => dispatch("pipelineExecutor", "getGlobalPipelineConfig", "query", input),
|
|
7454
7454
|
getOrchestratorConfigSchema: (input) => dispatch("pipelineExecutor", "getOrchestratorConfigSchema", "query", input),
|
|
7455
7455
|
validatePipeline: (input) => dispatch("pipelineExecutor", "validatePipeline", "query", input),
|
|
7456
|
-
listTemplates: (input) => dispatch("pipelineExecutor", "listTemplates", "query", input),
|
|
7457
|
-
saveTemplate: (input) => dispatch("pipelineExecutor", "saveTemplate", "mutation", input),
|
|
7458
|
-
updateTemplate: (input) => dispatch("pipelineExecutor", "updateTemplate", "mutation", input),
|
|
7459
|
-
deleteTemplate: (input) => dispatch("pipelineExecutor", "deleteTemplate", "mutation", input),
|
|
7460
7456
|
getCapabilities: (input) => dispatch("pipelineExecutor", "getCapabilities", "query", input),
|
|
7461
7457
|
getAddonModels: (input) => dispatch("pipelineExecutor", "getAddonModels", "query", input),
|
|
7462
7458
|
downloadModel: (input) => dispatch("pipelineExecutor", "downloadModel", "mutation", input),
|
|
@@ -7510,11 +7506,7 @@ function createSystemProxy(api) {
|
|
|
7510
7506
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
7511
7507
|
setCameraSensors: (input) => dispatch("pipelineOrchestrator", "setCameraSensors", "mutation", input),
|
|
7512
7508
|
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
7513
|
-
getReconcileFromDiskStatus: (input) => dispatch("pipelineOrchestrator", "getReconcileFromDiskStatus", "query", input)
|
|
7514
|
-
listTemplates: (input) => dispatch("pipelineOrchestrator", "listTemplates", "query", input),
|
|
7515
|
-
saveTemplate: (input) => dispatch("pipelineOrchestrator", "saveTemplate", "mutation", input),
|
|
7516
|
-
updateTemplate: (input) => dispatch("pipelineOrchestrator", "updateTemplate", "mutation", input),
|
|
7517
|
-
deleteTemplate: (input) => dispatch("pipelineOrchestrator", "deleteTemplate", "mutation", input)
|
|
7509
|
+
getReconcileFromDiskStatus: (input) => dispatch("pipelineOrchestrator", "getReconcileFromDiskStatus", "query", input)
|
|
7518
7510
|
},
|
|
7519
7511
|
pipelineRunner: {
|
|
7520
7512
|
attachCamera: (input) => dispatch("pipelineRunner", "attachCamera", "mutation", input),
|
package/dist/client.mjs
CHANGED
|
@@ -7452,10 +7452,6 @@ function createSystemProxy(api) {
|
|
|
7452
7452
|
getGlobalPipelineConfig: (input) => dispatch("pipelineExecutor", "getGlobalPipelineConfig", "query", input),
|
|
7453
7453
|
getOrchestratorConfigSchema: (input) => dispatch("pipelineExecutor", "getOrchestratorConfigSchema", "query", input),
|
|
7454
7454
|
validatePipeline: (input) => dispatch("pipelineExecutor", "validatePipeline", "query", input),
|
|
7455
|
-
listTemplates: (input) => dispatch("pipelineExecutor", "listTemplates", "query", input),
|
|
7456
|
-
saveTemplate: (input) => dispatch("pipelineExecutor", "saveTemplate", "mutation", input),
|
|
7457
|
-
updateTemplate: (input) => dispatch("pipelineExecutor", "updateTemplate", "mutation", input),
|
|
7458
|
-
deleteTemplate: (input) => dispatch("pipelineExecutor", "deleteTemplate", "mutation", input),
|
|
7459
7455
|
getCapabilities: (input) => dispatch("pipelineExecutor", "getCapabilities", "query", input),
|
|
7460
7456
|
getAddonModels: (input) => dispatch("pipelineExecutor", "getAddonModels", "query", input),
|
|
7461
7457
|
downloadModel: (input) => dispatch("pipelineExecutor", "downloadModel", "mutation", input),
|
|
@@ -7509,11 +7505,7 @@ function createSystemProxy(api) {
|
|
|
7509
7505
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
7510
7506
|
setCameraSensors: (input) => dispatch("pipelineOrchestrator", "setCameraSensors", "mutation", input),
|
|
7511
7507
|
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
7512
|
-
getReconcileFromDiskStatus: (input) => dispatch("pipelineOrchestrator", "getReconcileFromDiskStatus", "query", input)
|
|
7513
|
-
listTemplates: (input) => dispatch("pipelineOrchestrator", "listTemplates", "query", input),
|
|
7514
|
-
saveTemplate: (input) => dispatch("pipelineOrchestrator", "saveTemplate", "mutation", input),
|
|
7515
|
-
updateTemplate: (input) => dispatch("pipelineOrchestrator", "updateTemplate", "mutation", input),
|
|
7516
|
-
deleteTemplate: (input) => dispatch("pipelineOrchestrator", "deleteTemplate", "mutation", input)
|
|
7508
|
+
getReconcileFromDiskStatus: (input) => dispatch("pipelineOrchestrator", "getReconcileFromDiskStatus", "query", input)
|
|
7517
7509
|
},
|
|
7518
7510
|
pipelineRunner: {
|
|
7519
7511
|
attachCamera: (input) => dispatch("pipelineRunner", "attachCamera", "mutation", input),
|
|
@@ -6175,34 +6175,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
6175
6175
|
output: z.infer<typeof pipelineExecutorCapability.methods.validatePipeline.output>;
|
|
6176
6176
|
meta: object;
|
|
6177
6177
|
}>;
|
|
6178
|
-
listTemplates: TRPCQueryProcedure<{
|
|
6179
|
-
input: {
|
|
6180
|
-
nodeId?: string | undefined;
|
|
6181
|
-
} | undefined;
|
|
6182
|
-
output: z.infer<typeof pipelineExecutorCapability.methods.listTemplates.output>;
|
|
6183
|
-
meta: object;
|
|
6184
|
-
}>;
|
|
6185
|
-
saveTemplate: TRPCMutationProcedure<{
|
|
6186
|
-
input: {
|
|
6187
|
-
[x: string]: unknown;
|
|
6188
|
-
} & z.input<typeof pipelineExecutorCapability.methods.saveTemplate.input>;
|
|
6189
|
-
output: z.infer<typeof pipelineExecutorCapability.methods.saveTemplate.output>;
|
|
6190
|
-
meta: object;
|
|
6191
|
-
}>;
|
|
6192
|
-
updateTemplate: TRPCMutationProcedure<{
|
|
6193
|
-
input: {
|
|
6194
|
-
[x: string]: unknown;
|
|
6195
|
-
} & z.input<typeof pipelineExecutorCapability.methods.updateTemplate.input>;
|
|
6196
|
-
output: z.infer<typeof pipelineExecutorCapability.methods.updateTemplate.output>;
|
|
6197
|
-
meta: object;
|
|
6198
|
-
}>;
|
|
6199
|
-
deleteTemplate: TRPCMutationProcedure<{
|
|
6200
|
-
input: {
|
|
6201
|
-
[x: string]: unknown;
|
|
6202
|
-
} & z.input<typeof pipelineExecutorCapability.methods.deleteTemplate.input>;
|
|
6203
|
-
output: z.infer<typeof pipelineExecutorCapability.methods.deleteTemplate.output>;
|
|
6204
|
-
meta: object;
|
|
6205
|
-
}>;
|
|
6206
6178
|
getCapabilities: TRPCQueryProcedure<{
|
|
6207
6179
|
input: {
|
|
6208
6180
|
nodeId?: string | undefined;
|
|
@@ -6742,34 +6714,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
6742
6714
|
output: z.infer<typeof pipelineOrchestratorCapability.methods.getReconcileFromDiskStatus.output>;
|
|
6743
6715
|
meta: object;
|
|
6744
6716
|
}>;
|
|
6745
|
-
listTemplates: TRPCQueryProcedure<{
|
|
6746
|
-
input: {
|
|
6747
|
-
nodeId?: string | undefined;
|
|
6748
|
-
} | undefined;
|
|
6749
|
-
output: z.infer<typeof pipelineOrchestratorCapability.methods.listTemplates.output>;
|
|
6750
|
-
meta: object;
|
|
6751
|
-
}>;
|
|
6752
|
-
saveTemplate: TRPCMutationProcedure<{
|
|
6753
|
-
input: {
|
|
6754
|
-
[x: string]: unknown;
|
|
6755
|
-
} & z.input<typeof pipelineOrchestratorCapability.methods.saveTemplate.input>;
|
|
6756
|
-
output: z.infer<typeof pipelineOrchestratorCapability.methods.saveTemplate.output>;
|
|
6757
|
-
meta: object;
|
|
6758
|
-
}>;
|
|
6759
|
-
updateTemplate: TRPCMutationProcedure<{
|
|
6760
|
-
input: {
|
|
6761
|
-
[x: string]: unknown;
|
|
6762
|
-
} & z.input<typeof pipelineOrchestratorCapability.methods.updateTemplate.input>;
|
|
6763
|
-
output: z.infer<typeof pipelineOrchestratorCapability.methods.updateTemplate.output>;
|
|
6764
|
-
meta: object;
|
|
6765
|
-
}>;
|
|
6766
|
-
deleteTemplate: TRPCMutationProcedure<{
|
|
6767
|
-
input: {
|
|
6768
|
-
[x: string]: unknown;
|
|
6769
|
-
} & z.input<typeof pipelineOrchestratorCapability.methods.deleteTemplate.input>;
|
|
6770
|
-
output: z.infer<typeof pipelineOrchestratorCapability.methods.deleteTemplate.output>;
|
|
6771
|
-
meta: object;
|
|
6772
|
-
}>;
|
|
6773
6717
|
}>>;
|
|
6774
6718
|
pipelineRunner: TRPCBuiltRouter<{
|
|
6775
6719
|
ctx: TrpcContext;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 1227 method paths across 165 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|