@camstack/server 1.2.312 → 1.2.314

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.
@@ -1567,6 +1567,33 @@ function createCapRouter_cameraCredentials(getProvider, createRemoteProxy) {
1567
1567
  }
1568
1568
  function createCapRouter_cameraGridLayout(getProvider, createRemoteProxy) {
1569
1569
  return (0, trpc_middleware_js_1.trpcRouter)({
1570
+ getDeviceSettingsContribution: trpc_middleware_js_1.protectedProcedure
1571
+ .input(types_1.DEVICE_SETTINGS_CONTRIBUTION_METHODS.getDeviceSettingsContribution.input.loose())
1572
+ .output(types_1.DEVICE_SETTINGS_CONTRIBUTION_METHODS.getDeviceSettingsContribution.output)
1573
+ .query(async ({ input, ctx }) => {
1574
+ const { nodeId, ...methodInput } = input;
1575
+ const p = resolveProvider('camera-grid-layout', nodeId, () => getProvider(ctx), createRemoteProxy);
1576
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
1577
+ return p.getDeviceSettingsContribution(methodInput);
1578
+ }),
1579
+ getDeviceLiveContribution: trpc_middleware_js_1.protectedProcedure
1580
+ .input(types_1.DEVICE_SETTINGS_CONTRIBUTION_METHODS.getDeviceLiveContribution.input.loose())
1581
+ .output(types_1.DEVICE_SETTINGS_CONTRIBUTION_METHODS.getDeviceLiveContribution.output)
1582
+ .query(async ({ input, ctx }) => {
1583
+ const { nodeId, ...methodInput } = input;
1584
+ const p = resolveProvider('camera-grid-layout', nodeId, () => getProvider(ctx), createRemoteProxy);
1585
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
1586
+ return p.getDeviceLiveContribution(methodInput);
1587
+ }),
1588
+ applyDeviceSettingsPatch: trpc_middleware_js_1.adminProcedure
1589
+ .input(types_1.DEVICE_SETTINGS_CONTRIBUTION_METHODS.applyDeviceSettingsPatch.input.loose())
1590
+ .output(types_1.DEVICE_SETTINGS_CONTRIBUTION_METHODS.applyDeviceSettingsPatch.output)
1591
+ .mutation(async ({ input, ctx }) => {
1592
+ const { nodeId, ...methodInput } = input;
1593
+ const p = resolveProvider('camera-grid-layout', nodeId, () => getProvider(ctx), createRemoteProxy);
1594
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
1595
+ return p.applyDeviceSettingsPatch(methodInput);
1596
+ }),
1570
1597
  getLayout: trpc_middleware_js_1.adminProcedure
1571
1598
  .input(types_26.cameraGridLayoutCapability.methods.getLayout.input.loose())
1572
1599
  .output(types_26.cameraGridLayoutCapability.methods.getLayout.output)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.312",
3
+ "version": "1.2.314",
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.215",
39
- "@camstack/addon-agent-ui": "1.2.119",
40
- "@camstack/addon-auth": "1.2.121",
41
- "@camstack/addon-decoder-nodeav": "1.2.114",
42
- "@camstack/addon-notifiers": "1.2.118",
43
- "@camstack/addon-pipeline": "1.2.258",
44
- "@camstack/addon-pipeline-orchestrator": "1.2.220",
45
- "@camstack/addon-post-analysis": "1.2.262",
46
- "@camstack/sdk": "1.2.117",
47
- "@camstack/system": "1.2.253",
48
- "@camstack/types": "1.2.211",
49
- "@camstack/ui-library": "1.2.176",
38
+ "@camstack/addon-admin-ui": "1.2.216",
39
+ "@camstack/addon-agent-ui": "1.2.120",
40
+ "@camstack/addon-auth": "1.2.122",
41
+ "@camstack/addon-decoder-nodeav": "1.2.115",
42
+ "@camstack/addon-notifiers": "1.2.119",
43
+ "@camstack/addon-pipeline": "1.2.260",
44
+ "@camstack/addon-pipeline-orchestrator": "1.2.221",
45
+ "@camstack/addon-post-analysis": "1.2.263",
46
+ "@camstack/sdk": "1.2.118",
47
+ "@camstack/system": "1.2.254",
48
+ "@camstack/types": "1.2.212",
49
+ "@camstack/ui-library": "1.2.177",
50
50
  "@fastify/compress": "^9.0.0",
51
51
  "@fastify/cookie": "^11.0.2",
52
52
  "@fastify/cors": "^11.2.0",