From 7a1278bc0b53a1d0d90b3f72f47bed308e7400b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Fri, 6 Mar 2026 12:51:26 +0100 Subject: [PATCH] fix: cast ListObjectsV2Command to any to fix type mismatch with @aws-sdk/middleware-endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After bumping aws-sdk packages, @smithy/middleware-endpoint and @aws-sdk/middleware-endpoint have incompatible EndpointParameterInstructions types. Since this is already a workaround, casting to any is appropriate. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Fredrik Adelöw --- .../src/providers/AwsS3EntityProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-backend-module-aws/src/providers/AwsS3EntityProvider.ts b/plugins/catalog-backend-module-aws/src/providers/AwsS3EntityProvider.ts index be1a0c885a..fa73188213 100644 --- a/plugins/catalog-backend-module-aws/src/providers/AwsS3EntityProvider.ts +++ b/plugins/catalog-backend-module-aws/src/providers/AwsS3EntityProvider.ts @@ -179,7 +179,7 @@ export class AwsS3EntityProvider implements EntityProvider { { Bucket: bucketName, }, - ListObjectsV2Command, + ListObjectsV2Command as any, this.s3.config as unknown as Record, ); if (endpoint?.url)