@camstack/server 1.2.617 → 1.2.619
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.
|
@@ -3029,6 +3029,26 @@ function createCapRouter_deviceHistory(getProvider, createRemoteProxy) {
|
|
|
3029
3029
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3030
3030
|
return p.getStatus(methodInput);
|
|
3031
3031
|
}),
|
|
3032
|
+
listOrphanSeries: trpc_middleware_js_1.adminProcedure
|
|
3033
|
+
.input(types_50.deviceHistoryCapability.methods.listOrphanSeries.input.loose())
|
|
3034
|
+
.output(types_50.deviceHistoryCapability.methods.listOrphanSeries.output)
|
|
3035
|
+
.query(async ({ input, ctx }) => {
|
|
3036
|
+
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
3037
|
+
const { nodeId, ...methodInput } = parsedInput;
|
|
3038
|
+
const p = resolveProvider('device-history', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
3039
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3040
|
+
return p.listOrphanSeries(methodInput);
|
|
3041
|
+
}),
|
|
3042
|
+
deleteOrphanSeries: trpc_middleware_js_1.adminProcedure
|
|
3043
|
+
.input(types_50.deviceHistoryCapability.methods.deleteOrphanSeries.input.loose())
|
|
3044
|
+
.output(types_50.deviceHistoryCapability.methods.deleteOrphanSeries.output)
|
|
3045
|
+
.mutation(async ({ input, ctx }) => {
|
|
3046
|
+
const parsedInput = ctx.req !== undefined ? (0, types_3.withoutCallerStamp)(input) : input;
|
|
3047
|
+
const { nodeId, ...methodInput } = parsedInput;
|
|
3048
|
+
const p = resolveProvider('device-history', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
3049
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3050
|
+
return p.deleteOrphanSeries(methodInput);
|
|
3051
|
+
}),
|
|
3032
3052
|
});
|
|
3033
3053
|
}
|
|
3034
3054
|
function createCapRouter_deviceManager(getProvider, createRemoteProxy) {
|
|
@@ -6213,7 +6233,7 @@ function createCapRouter_motionTrigger(getProvider, createRemoteProxy) {
|
|
|
6213
6233
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
6214
6234
|
return p.getStatus(methodInput);
|
|
6215
6235
|
}),
|
|
6216
|
-
setMotionTrigger: trpc_middleware_js_1.
|
|
6236
|
+
setMotionTrigger: trpc_middleware_js_1.protectedProcedure
|
|
6217
6237
|
.input(types_84.motionTriggerCapability.methods.setMotionTrigger.input.loose())
|
|
6218
6238
|
.output(types_84.motionTriggerCapability.methods.setMotionTrigger.output)
|
|
6219
6239
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8833,6 +8853,14 @@ function createCapRouter_pipelineOrchestrator(getProvider, _createRemoteProxy) {
|
|
|
8833
8853
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8834
8854
|
return p.getNodeInferenceDevices(input);
|
|
8835
8855
|
}),
|
|
8856
|
+
forgetInferenceDevice: trpc_middleware_js_1.adminProcedure
|
|
8857
|
+
.input(types_103.pipelineOrchestratorCapability.methods.forgetInferenceDevice.input.loose())
|
|
8858
|
+
.output(types_103.pipelineOrchestratorCapability.methods.forgetInferenceDevice.output)
|
|
8859
|
+
.mutation(async ({ input, ctx }) => {
|
|
8860
|
+
const p = requireCapProvider('pipeline-orchestrator', () => getProvider(ctx));
|
|
8861
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8862
|
+
return p.forgetInferenceDevice(input);
|
|
8863
|
+
}),
|
|
8836
8864
|
resetNodePipelineDefaults: trpc_middleware_js_1.adminProcedure
|
|
8837
8865
|
.input(types_103.pipelineOrchestratorCapability.methods.resetNodePipelineDefaults.input.loose())
|
|
8838
8866
|
.output(types_103.pipelineOrchestratorCapability.methods.resetNodePipelineDefaults.output)
|
|
@@ -9426,6 +9454,13 @@ function createCapRouter_platformProbe(getProvider, createRemoteProxy) {
|
|
|
9426
9454
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9427
9455
|
return p.resolveHwAccel(methodInput);
|
|
9428
9456
|
}),
|
|
9457
|
+
rescanAccelerators: trpc_middleware_js_1.adminProcedure
|
|
9458
|
+
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
9459
|
+
.output(types_106.platformProbeCapability.methods.rescanAccelerators.output)
|
|
9460
|
+
.mutation(async ({ input, ctx }) => {
|
|
9461
|
+
const p = resolveProvider('platform-probe', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9462
|
+
return p.rescanAccelerators();
|
|
9463
|
+
}),
|
|
9429
9464
|
});
|
|
9430
9465
|
}
|
|
9431
9466
|
function createCapRouter_powerMeter(getProvider, createRemoteProxy) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.619",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"files": [
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
42
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
43
|
-
"@camstack/addon-auth": "1.2.
|
|
44
|
-
"@camstack/addon-decoder-nodeav": "1.2.
|
|
45
|
-
"@camstack/addon-notifiers": "1.2.
|
|
46
|
-
"@camstack/addon-pipeline": "1.2.
|
|
47
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
48
|
-
"@camstack/addon-post-analysis": "1.2.
|
|
49
|
-
"@camstack/develop": "0.1.
|
|
50
|
-
"@camstack/sdk": "1.2.
|
|
51
|
-
"@camstack/system": "1.2.
|
|
52
|
-
"@camstack/types": "1.2.
|
|
53
|
-
"@camstack/ui-library": "1.2.
|
|
41
|
+
"@camstack/addon-admin-ui": "1.2.456",
|
|
42
|
+
"@camstack/addon-agent-ui": "1.2.261",
|
|
43
|
+
"@camstack/addon-auth": "1.2.166",
|
|
44
|
+
"@camstack/addon-decoder-nodeav": "1.2.141",
|
|
45
|
+
"@camstack/addon-notifiers": "1.2.619",
|
|
46
|
+
"@camstack/addon-pipeline": "1.2.620",
|
|
47
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.622",
|
|
48
|
+
"@camstack/addon-post-analysis": "1.2.626",
|
|
49
|
+
"@camstack/develop": "0.1.31",
|
|
50
|
+
"@camstack/sdk": "1.2.151",
|
|
51
|
+
"@camstack/system": "1.2.470",
|
|
52
|
+
"@camstack/types": "1.2.402",
|
|
53
|
+
"@camstack/ui-library": "1.2.318",
|
|
54
54
|
"@fastify/compress": "^9.0.0",
|
|
55
55
|
"@fastify/cookie": "^11.0.2",
|
|
56
56
|
"@fastify/cors": "^11.2.0",
|