@camstack/server 1.2.173 → 1.2.174
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.
|
@@ -6101,6 +6101,15 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
6101
6101
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6102
6102
|
return p.proposeRetrainAnnotations(methodInput);
|
|
6103
6103
|
}),
|
|
6104
|
+
runReplayFrameProcessor: trpc_middleware_js_1.adminProcedure
|
|
6105
|
+
.input(types_82.pipelineAnalyticsCapability.methods.runReplayFrameProcessor.input.loose())
|
|
6106
|
+
.output(types_82.pipelineAnalyticsCapability.methods.runReplayFrameProcessor.output)
|
|
6107
|
+
.mutation(async ({ input, ctx }) => {
|
|
6108
|
+
const { nodeId, ...methodInput } = input;
|
|
6109
|
+
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6110
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6111
|
+
return p.runReplayFrameProcessor(methodInput);
|
|
6112
|
+
}),
|
|
6104
6113
|
listRetrainAnnotations: trpc_middleware_js_1.adminProcedure
|
|
6105
6114
|
.input(types_82.pipelineAnalyticsCapability.methods.listRetrainAnnotations.input.loose())
|
|
6106
6115
|
.output(types_82.pipelineAnalyticsCapability.methods.listRetrainAnnotations.output)
|
|
@@ -6270,6 +6279,24 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
6270
6279
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6271
6280
|
return p.clearDeviceOverrides(methodInput);
|
|
6272
6281
|
}),
|
|
6282
|
+
getInferenceDeviceHealth: trpc_middleware_js_1.protectedProcedure
|
|
6283
|
+
.input(types_83.pipelineExecutorCapability.methods.getInferenceDeviceHealth.input.loose())
|
|
6284
|
+
.output(types_83.pipelineExecutorCapability.methods.getInferenceDeviceHealth.output)
|
|
6285
|
+
.query(async ({ input, ctx }) => {
|
|
6286
|
+
const { nodeId, ...methodInput } = input;
|
|
6287
|
+
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6288
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6289
|
+
return p.getInferenceDeviceHealth(methodInput);
|
|
6290
|
+
}),
|
|
6291
|
+
rearmInferenceDevice: trpc_middleware_js_1.adminProcedure
|
|
6292
|
+
.input(types_83.pipelineExecutorCapability.methods.rearmInferenceDevice.input.loose())
|
|
6293
|
+
.output(types_83.pipelineExecutorCapability.methods.rearmInferenceDevice.output)
|
|
6294
|
+
.mutation(async ({ input, ctx }) => {
|
|
6295
|
+
const { nodeId, ...methodInput } = input;
|
|
6296
|
+
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
6297
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6298
|
+
return p.rearmInferenceDevice(methodInput);
|
|
6299
|
+
}),
|
|
6273
6300
|
getSchema: trpc_middleware_js_1.protectedProcedure
|
|
6274
6301
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
6275
6302
|
.output(types_83.pipelineExecutorCapability.methods.getSchema.output)
|