@camstack/server 1.2.243 → 1.2.244
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.
|
@@ -8781,15 +8781,6 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
8781
8781
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8782
8782
|
return p.listLocations(methodInput);
|
|
8783
8783
|
}),
|
|
8784
|
-
getDefaultLocation: trpc_middleware_js_1.protectedProcedure
|
|
8785
|
-
.input(types_105.storageCapability.methods.getDefaultLocation.input.loose())
|
|
8786
|
-
.output(types_105.storageCapability.methods.getDefaultLocation.output)
|
|
8787
|
-
.query(async ({ input, ctx }) => {
|
|
8788
|
-
const { nodeId, ...methodInput } = input;
|
|
8789
|
-
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
8790
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8791
|
-
return p.getDefaultLocation(methodInput);
|
|
8792
|
-
}),
|
|
8793
8784
|
listLocationDeclarations: trpc_middleware_js_1.protectedProcedure
|
|
8794
8785
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
8795
8786
|
.output(types_105.storageCapability.methods.listLocationDeclarations.output)
|