@camstack/server 1.0.6 → 1.0.7
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.
|
@@ -4575,6 +4575,15 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4575
4575
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4576
4576
|
return p.reprobeEngine();
|
|
4577
4577
|
}),
|
|
4578
|
+
getEngineProvisioning: trpc_middleware_js_1.protectedProcedure
|
|
4579
|
+
.input(types_70.pipelineExecutorCapability.methods.getEngineProvisioning.input.loose())
|
|
4580
|
+
.output(types_70.pipelineExecutorCapability.methods.getEngineProvisioning.output)
|
|
4581
|
+
.query(async ({ input, ctx }) => {
|
|
4582
|
+
const { nodeId, ...methodInput } = input;
|
|
4583
|
+
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4584
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4585
|
+
return p.getEngineProvisioning(methodInput);
|
|
4586
|
+
}),
|
|
4578
4587
|
getVideoPipelineSteps: trpc_middleware_js_1.protectedProcedure
|
|
4579
4588
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4580
4589
|
.output(types_70.pipelineExecutorCapability.methods.getVideoPipelineSteps.output)
|
|
@@ -5050,6 +5059,15 @@ function createCapRouter_pipelineOrchestrator(getProvider, createRemoteProxy) {
|
|
|
5050
5059
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5051
5060
|
return p.removeAgentSettings(methodInput);
|
|
5052
5061
|
}),
|
|
5062
|
+
setAgentMaxCameras: trpc_middleware_js_1.adminProcedure
|
|
5063
|
+
.input(types_71.pipelineOrchestratorCapability.methods.setAgentMaxCameras.input.loose())
|
|
5064
|
+
.output(types_71.pipelineOrchestratorCapability.methods.setAgentMaxCameras.output)
|
|
5065
|
+
.mutation(async ({ input, ctx }) => {
|
|
5066
|
+
const { nodeId, ...methodInput } = input;
|
|
5067
|
+
const p = resolveProvider('pipeline-orchestrator', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5068
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5069
|
+
return p.setAgentMaxCameras(methodInput);
|
|
5070
|
+
}),
|
|
5053
5071
|
getCameraSettings: trpc_middleware_js_1.protectedProcedure
|
|
5054
5072
|
.input(types_71.pipelineOrchestratorCapability.methods.getCameraSettings.input.loose())
|
|
5055
5073
|
.output(types_71.pipelineOrchestratorCapability.methods.getCameraSettings.output)
|
|
@@ -5104,6 +5122,24 @@ function createCapRouter_pipelineOrchestrator(getProvider, createRemoteProxy) {
|
|
|
5104
5122
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5105
5123
|
return p.resolvePipeline(methodInput);
|
|
5106
5124
|
}),
|
|
5125
|
+
getCameraStatus: trpc_middleware_js_1.protectedProcedure
|
|
5126
|
+
.input(types_71.pipelineOrchestratorCapability.methods.getCameraStatus.input.loose())
|
|
5127
|
+
.output(types_71.pipelineOrchestratorCapability.methods.getCameraStatus.output)
|
|
5128
|
+
.query(async ({ input, ctx }) => {
|
|
5129
|
+
const { nodeId, ...methodInput } = input;
|
|
5130
|
+
const p = resolveProvider('pipeline-orchestrator', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5131
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5132
|
+
return p.getCameraStatus(methodInput);
|
|
5133
|
+
}),
|
|
5134
|
+
getCameraStatuses: trpc_middleware_js_1.protectedProcedure
|
|
5135
|
+
.input(types_71.pipelineOrchestratorCapability.methods.getCameraStatuses.input.loose())
|
|
5136
|
+
.output(types_71.pipelineOrchestratorCapability.methods.getCameraStatuses.output)
|
|
5137
|
+
.query(async ({ input, ctx }) => {
|
|
5138
|
+
const { nodeId, ...methodInput } = input;
|
|
5139
|
+
const p = resolveProvider('pipeline-orchestrator', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5140
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5141
|
+
return p.getCameraStatuses(methodInput);
|
|
5142
|
+
}),
|
|
5107
5143
|
listTemplates: trpc_middleware_js_1.protectedProcedure
|
|
5108
5144
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5109
5145
|
.output(types_71.pipelineOrchestratorCapability.methods.listTemplates.output)
|