@camstack/server 1.2.429 → 1.2.431

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.
@@ -52,8 +52,8 @@ function requireDeviceScoped(registry, capName) {
52
52
  // the exact (cap, deviceId) pair.
53
53
  let provider = registry.getNativeProvider(capName, deviceId);
54
54
  // D13 fallback: a device cap may be served by a WRAPPER / system
55
- // provider bound to this device (e.g. the `virtual-doorbell` builtin
56
- // registers a SINGLETON wrapper — no native). Consult the unified
55
+ // provider bound to this device (e.g. the `autotrack` builtin
56
+ // registers a SINGLETON `ptz-autotrack` wrapper — no native). Consult the unified
57
57
  // per-device resolver `getProviderForDevice` (native OR device-bound
58
58
  // system) BEFORE the synthesize fallback + the final throw. This
59
59
  // never runs when a native was found, keeping the fast path intact.
@@ -6103,6 +6103,15 @@ function createCapRouter_notificationRules(getProvider, createRemoteProxy) {
6103
6103
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
6104
6104
  return p.setAlarmConfig(methodInput);
6105
6105
  }),
6106
+ getAlarmSensors: trpc_middleware_js_1.adminProcedure
6107
+ .input(types_84.notificationRulesCapability.methods.getAlarmSensors.input.loose())
6108
+ .output(types_84.notificationRulesCapability.methods.getAlarmSensors.output)
6109
+ .query(async ({ input, ctx }) => {
6110
+ const { nodeId, ...methodInput } = input;
6111
+ const p = resolveProvider('notification-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
6112
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
6113
+ return p.getAlarmSensors(methodInput);
6114
+ }),
6106
6115
  });
6107
6116
  }
6108
6117
  function createCapRouter_notifier(getProvider, createRemoteProxy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.429",
3
+ "version": "1.2.431",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "files": [
@@ -37,18 +37,18 @@
37
37
  ]
38
38
  },
39
39
  "dependencies": {
40
- "@camstack/addon-admin-ui": "1.2.298",
41
- "@camstack/addon-agent-ui": "1.2.160",
40
+ "@camstack/addon-admin-ui": "1.2.300",
41
+ "@camstack/addon-agent-ui": "1.2.162",
42
42
  "@camstack/addon-auth": "1.2.124",
43
43
  "@camstack/addon-decoder-nodeav": "1.2.116",
44
44
  "@camstack/addon-notifiers": "1.2.122",
45
- "@camstack/addon-pipeline": "1.2.314",
46
- "@camstack/addon-pipeline-orchestrator": "1.2.271",
47
- "@camstack/addon-post-analysis": "1.2.309",
45
+ "@camstack/addon-pipeline": "1.2.315",
46
+ "@camstack/addon-pipeline-orchestrator": "1.2.272",
47
+ "@camstack/addon-post-analysis": "1.2.311",
48
48
  "@camstack/sdk": "1.2.119",
49
- "@camstack/system": "1.2.330",
50
- "@camstack/types": "1.2.283",
51
- "@camstack/ui-library": "1.2.218",
49
+ "@camstack/system": "1.2.332",
50
+ "@camstack/types": "1.2.285",
51
+ "@camstack/ui-library": "1.2.220",
52
52
  "@fastify/compress": "^9.0.0",
53
53
  "@fastify/cookie": "^11.0.2",
54
54
  "@fastify/cors": "^11.2.0",