@camstack/server 1.1.9 → 1.1.11

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.
@@ -2704,6 +2704,15 @@ function createCapRouter_deviceManager(getProvider, createRemoteProxy) {
2704
2704
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
2705
2705
  return p.adoptionRelease(methodInput);
2706
2706
  }),
2707
+ adoptionResync: trpc_middleware_js_1.adminProcedure
2708
+ .input(types_38.deviceManagerCapability.methods.adoptionResync.input.loose())
2709
+ .output(types_38.deviceManagerCapability.methods.adoptionResync.output)
2710
+ .mutation(async ({ input, ctx }) => {
2711
+ const { nodeId, ...methodInput } = input;
2712
+ const p = resolveProvider('device-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
2713
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
2714
+ return p.adoptionResync(methodInput);
2715
+ }),
2707
2716
  testField: trpc_middleware_js_1.adminProcedure
2708
2717
  .input(types_38.deviceManagerCapability.methods.testField.input.loose())
2709
2718
  .output(types_38.deviceManagerCapability.methods.testField.output)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",