@camstack/server 1.2.298 → 1.2.299
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.
|
@@ -2795,6 +2795,22 @@ function createCapRouter_deviceManager(getProvider, createRemoteProxy) {
|
|
|
2795
2795
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2796
2796
|
return p.renameLocation(methodInput);
|
|
2797
2797
|
}),
|
|
2798
|
+
listLocationIcons: trpc_middleware_js_1.protectedProcedure
|
|
2799
|
+
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
2800
|
+
.output(types_41.deviceManagerCapability.methods.listLocationIcons.output)
|
|
2801
|
+
.query(async ({ input, ctx }) => {
|
|
2802
|
+
const p = resolveProvider('device-manager', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2803
|
+
return p.listLocationIcons();
|
|
2804
|
+
}),
|
|
2805
|
+
setLocationIcon: trpc_middleware_js_1.adminProcedure
|
|
2806
|
+
.input(types_41.deviceManagerCapability.methods.setLocationIcon.input.loose())
|
|
2807
|
+
.output(types_41.deviceManagerCapability.methods.setLocationIcon.output)
|
|
2808
|
+
.mutation(async ({ input, ctx }) => {
|
|
2809
|
+
const { nodeId, ...methodInput } = input;
|
|
2810
|
+
const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
2811
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2812
|
+
return p.setLocationIcon(methodInput);
|
|
2813
|
+
}),
|
|
2798
2814
|
setDisabled: trpc_middleware_js_1.adminProcedure
|
|
2799
2815
|
.input(types_41.deviceManagerCapability.methods.setDisabled.input.loose())
|
|
2800
2816
|
.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.299",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
39
|
-
"@camstack/addon-agent-ui": "1.2.
|
|
40
|
-
"@camstack/addon-auth": "1.2.
|
|
41
|
-
"@camstack/addon-decoder-nodeav": "1.2.
|
|
42
|
-
"@camstack/addon-notifiers": "1.2.
|
|
43
|
-
"@camstack/addon-pipeline": "1.2.
|
|
44
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
45
|
-
"@camstack/addon-post-analysis": "1.2.
|
|
46
|
-
"@camstack/sdk": "1.2.
|
|
47
|
-
"@camstack/system": "1.2.
|
|
48
|
-
"@camstack/types": "1.2.
|
|
49
|
-
"@camstack/ui-library": "1.2.
|
|
38
|
+
"@camstack/addon-admin-ui": "1.2.206",
|
|
39
|
+
"@camstack/addon-agent-ui": "1.2.111",
|
|
40
|
+
"@camstack/addon-auth": "1.2.113",
|
|
41
|
+
"@camstack/addon-decoder-nodeav": "1.2.106",
|
|
42
|
+
"@camstack/addon-notifiers": "1.2.110",
|
|
43
|
+
"@camstack/addon-pipeline": "1.2.248",
|
|
44
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.211",
|
|
45
|
+
"@camstack/addon-post-analysis": "1.2.251",
|
|
46
|
+
"@camstack/sdk": "1.2.109",
|
|
47
|
+
"@camstack/system": "1.2.243",
|
|
48
|
+
"@camstack/types": "1.2.203",
|
|
49
|
+
"@camstack/ui-library": "1.2.168",
|
|
50
50
|
"@fastify/compress": "^9.0.0",
|
|
51
51
|
"@fastify/cookie": "^11.0.2",
|
|
52
52
|
"@fastify/cors": "^11.2.0",
|