@camstack/server 1.2.300 → 1.2.301
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.
|
@@ -2811,6 +2811,65 @@ function createCapRouter_deviceManager(getProvider, createRemoteProxy) {
|
|
|
2811
2811
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2812
2812
|
return p.setLocationIcon(methodInput);
|
|
2813
2813
|
}),
|
|
2814
|
+
listLocationDescriptions: trpc_middleware_js_1.protectedProcedure
|
|
2815
|
+
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
2816
|
+
.output(types_41.deviceManagerCapability.methods.listLocationDescriptions.output)
|
|
2817
|
+
.query(async ({ input, ctx }) => {
|
|
2818
|
+
const p = resolveProvider('device-manager', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2819
|
+
return p.listLocationDescriptions();
|
|
2820
|
+
}),
|
|
2821
|
+
setLocationDescription: trpc_middleware_js_1.adminProcedure
|
|
2822
|
+
.input(types_41.deviceManagerCapability.methods.setLocationDescription.input.loose())
|
|
2823
|
+
.output(types_41.deviceManagerCapability.methods.setLocationDescription.output)
|
|
2824
|
+
.mutation(async ({ input, ctx }) => {
|
|
2825
|
+
const { nodeId, ...methodInput } = input;
|
|
2826
|
+
const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2827
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2828
|
+
return p.setLocationDescription(methodInput);
|
|
2829
|
+
}),
|
|
2830
|
+
listSiteZones: trpc_middleware_js_1.protectedProcedure
|
|
2831
|
+
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
2832
|
+
.output(types_41.deviceManagerCapability.methods.listSiteZones.output)
|
|
2833
|
+
.query(async ({ input, ctx }) => {
|
|
2834
|
+
const p = resolveProvider('device-manager', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2835
|
+
return p.listSiteZones();
|
|
2836
|
+
}),
|
|
2837
|
+
setSiteZone: trpc_middleware_js_1.adminProcedure
|
|
2838
|
+
.input(types_41.deviceManagerCapability.methods.setSiteZone.input.loose())
|
|
2839
|
+
.output(types_41.deviceManagerCapability.methods.setSiteZone.output)
|
|
2840
|
+
.mutation(async ({ input, ctx }) => {
|
|
2841
|
+
const { nodeId, ...methodInput } = input;
|
|
2842
|
+
const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2843
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2844
|
+
return p.setSiteZone(methodInput);
|
|
2845
|
+
}),
|
|
2846
|
+
removeSiteZone: trpc_middleware_js_1.adminProcedure
|
|
2847
|
+
.input(types_41.deviceManagerCapability.methods.removeSiteZone.input.loose())
|
|
2848
|
+
.output(types_41.deviceManagerCapability.methods.removeSiteZone.output)
|
|
2849
|
+
.mutation(async ({ input, ctx }) => {
|
|
2850
|
+
const { nodeId, ...methodInput } = input;
|
|
2851
|
+
const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2852
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2853
|
+
return p.removeSiteZone(methodInput);
|
|
2854
|
+
}),
|
|
2855
|
+
renameSiteZone: trpc_middleware_js_1.adminProcedure
|
|
2856
|
+
.input(types_41.deviceManagerCapability.methods.renameSiteZone.input.loose())
|
|
2857
|
+
.output(types_41.deviceManagerCapability.methods.renameSiteZone.output)
|
|
2858
|
+
.mutation(async ({ input, ctx }) => {
|
|
2859
|
+
const { nodeId, ...methodInput } = input;
|
|
2860
|
+
const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2861
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2862
|
+
return p.renameSiteZone(methodInput);
|
|
2863
|
+
}),
|
|
2864
|
+
setLocationZone: trpc_middleware_js_1.adminProcedure
|
|
2865
|
+
.input(types_41.deviceManagerCapability.methods.setLocationZone.input.loose())
|
|
2866
|
+
.output(types_41.deviceManagerCapability.methods.setLocationZone.output)
|
|
2867
|
+
.mutation(async ({ input, ctx }) => {
|
|
2868
|
+
const { nodeId, ...methodInput } = input;
|
|
2869
|
+
const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2870
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2871
|
+
return p.setLocationZone(methodInput);
|
|
2872
|
+
}),
|
|
2814
2873
|
setDisabled: trpc_middleware_js_1.adminProcedure
|
|
2815
2874
|
.input(types_41.deviceManagerCapability.methods.setDisabled.input.loose())
|
|
2816
2875
|
.output(types_41.deviceManagerCapability.methods.setDisabled.output)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.301",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
38
|
+
"@camstack/addon-admin-ui": "1.2.208",
|
|
39
39
|
"@camstack/addon-agent-ui": "1.2.112",
|
|
40
40
|
"@camstack/addon-auth": "1.2.114",
|
|
41
41
|
"@camstack/addon-decoder-nodeav": "1.2.107",
|
|
42
42
|
"@camstack/addon-notifiers": "1.2.111",
|
|
43
|
-
"@camstack/addon-pipeline": "1.2.
|
|
43
|
+
"@camstack/addon-pipeline": "1.2.250",
|
|
44
44
|
"@camstack/addon-pipeline-orchestrator": "1.2.212",
|
|
45
|
-
"@camstack/addon-post-analysis": "1.2.
|
|
45
|
+
"@camstack/addon-post-analysis": "1.2.253",
|
|
46
46
|
"@camstack/sdk": "1.2.110",
|
|
47
|
-
"@camstack/system": "1.2.
|
|
47
|
+
"@camstack/system": "1.2.245",
|
|
48
48
|
"@camstack/types": "1.2.204",
|
|
49
49
|
"@camstack/ui-library": "1.2.169",
|
|
50
50
|
"@fastify/compress": "^9.0.0",
|