@camstack/server 1.2.91 → 1.2.93
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.
|
@@ -5471,6 +5471,15 @@ function createCapRouter_osdManager(getProvider, createRemoteProxy) {
|
|
|
5471
5471
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5472
5472
|
return p.clearSlotBinding(methodInput);
|
|
5473
5473
|
}),
|
|
5474
|
+
copyDeviceConfiguration: trpc_middleware_js_1.adminProcedure
|
|
5475
|
+
.input(types_80.osdManagerCapability.methods.copyDeviceConfiguration.input.loose())
|
|
5476
|
+
.output(types_80.osdManagerCapability.methods.copyDeviceConfiguration.output)
|
|
5477
|
+
.mutation(async ({ input, ctx }) => {
|
|
5478
|
+
const { nodeId, ...methodInput } = input;
|
|
5479
|
+
const p = resolveProvider('osd-manager', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
5480
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
5481
|
+
return p.copyDeviceConfiguration(methodInput);
|
|
5482
|
+
}),
|
|
5474
5483
|
previewSlot: trpc_middleware_js_1.adminProcedure
|
|
5475
5484
|
.input(types_80.osdManagerCapability.methods.previewSlot.input.loose())
|
|
5476
5485
|
.output(types_80.osdManagerCapability.methods.previewSlot.output)
|