@camstack/server 1.0.6 → 1.0.8
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.
|
@@ -3913,6 +3913,15 @@ function createCapRouter_metricsProvider(getProvider, createRemoteProxy) {
|
|
|
3913
3913
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3914
3914
|
return p.killProcess(methodInput);
|
|
3915
3915
|
}),
|
|
3916
|
+
dumpHeapSnapshot: trpc_middleware_js_1.adminProcedure
|
|
3917
|
+
.input(types_55.metricsProviderCapability.methods.dumpHeapSnapshot.input.loose())
|
|
3918
|
+
.output(types_55.metricsProviderCapability.methods.dumpHeapSnapshot.output)
|
|
3919
|
+
.mutation(async ({ input, ctx }) => {
|
|
3920
|
+
const { nodeId, ...methodInput } = input;
|
|
3921
|
+
const p = resolveProvider('metrics-provider', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
3922
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3923
|
+
return p.dumpHeapSnapshot(methodInput);
|
|
3924
|
+
}),
|
|
3916
3925
|
});
|
|
3917
3926
|
}
|
|
3918
3927
|
function createCapRouter_motion(getProvider, createRemoteProxy) {
|
|
@@ -4575,6 +4584,15 @@ function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
|
4575
4584
|
const p = resolveProvider('pipeline-executor', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4576
4585
|
return p.reprobeEngine();
|
|
4577
4586
|
}),
|
|
4587
|
+
getEngineProvisioning: trpc_middleware_js_1.protectedProcedure
|
|
4588
|
+
.input(types_70.pipelineExecutorCapability.methods.getEngineProvisioning.input.loose())
|
|
4589
|
+
.output(types_70.pipelineExecutorCapability.methods.getEngineProvisioning.output)
|
|
4590
|
+
.query(async ({ input, ctx }) => {
|
|
4591
|
+
const { nodeId, ...methodInput } = input;
|
|
4592
|
+
const p = resolveProvider('pipeline-executor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4593
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4594
|
+
return p.getEngineProvisioning(methodInput);
|
|
4595
|
+
}),
|
|
4578
4596
|
getVideoPipelineSteps: trpc_middleware_js_1.protectedProcedure
|
|
4579
4597
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
4580
4598
|
.output(types_70.pipelineExecutorCapability.methods.getVideoPipelineSteps.output)
|
|
@@ -5050,6 +5068,15 @@ function createCapRouter_pipelineOrchestrator(getProvider, createRemoteProxy) {
|
|
|
5050
5068
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5051
5069
|
return p.removeAgentSettings(methodInput);
|
|
5052
5070
|
}),
|
|
5071
|
+
setAgentMaxCameras: trpc_middleware_js_1.adminProcedure
|
|
5072
|
+
.input(types_71.pipelineOrchestratorCapability.methods.setAgentMaxCameras.input.loose())
|
|
5073
|
+
.output(types_71.pipelineOrchestratorCapability.methods.setAgentMaxCameras.output)
|
|
5074
|
+
.mutation(async ({ input, ctx }) => {
|
|
5075
|
+
const { nodeId, ...methodInput } = input;
|
|
5076
|
+
const p = resolveProvider('pipeline-orchestrator', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5077
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5078
|
+
return p.setAgentMaxCameras(methodInput);
|
|
5079
|
+
}),
|
|
5053
5080
|
getCameraSettings: trpc_middleware_js_1.protectedProcedure
|
|
5054
5081
|
.input(types_71.pipelineOrchestratorCapability.methods.getCameraSettings.input.loose())
|
|
5055
5082
|
.output(types_71.pipelineOrchestratorCapability.methods.getCameraSettings.output)
|
|
@@ -5104,6 +5131,24 @@ function createCapRouter_pipelineOrchestrator(getProvider, createRemoteProxy) {
|
|
|
5104
5131
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5105
5132
|
return p.resolvePipeline(methodInput);
|
|
5106
5133
|
}),
|
|
5134
|
+
getCameraStatus: trpc_middleware_js_1.protectedProcedure
|
|
5135
|
+
.input(types_71.pipelineOrchestratorCapability.methods.getCameraStatus.input.loose())
|
|
5136
|
+
.output(types_71.pipelineOrchestratorCapability.methods.getCameraStatus.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.getCameraStatus(methodInput);
|
|
5142
|
+
}),
|
|
5143
|
+
getCameraStatuses: trpc_middleware_js_1.protectedProcedure
|
|
5144
|
+
.input(types_71.pipelineOrchestratorCapability.methods.getCameraStatuses.input.loose())
|
|
5145
|
+
.output(types_71.pipelineOrchestratorCapability.methods.getCameraStatuses.output)
|
|
5146
|
+
.query(async ({ input, ctx }) => {
|
|
5147
|
+
const { nodeId, ...methodInput } = input;
|
|
5148
|
+
const p = resolveProvider('pipeline-orchestrator', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5149
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5150
|
+
return p.getCameraStatuses(methodInput);
|
|
5151
|
+
}),
|
|
5107
5152
|
listTemplates: trpc_middleware_js_1.protectedProcedure
|
|
5108
5153
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
5109
5154
|
.output(types_71.pipelineOrchestratorCapability.methods.listTemplates.output)
|