We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14e9351 commit d009469Copy full SHA for d009469
packages/server-utils/src/s3/S3Client.ts
@@ -1,9 +1,10 @@
1
-import { Upload } from '@aws-sdk/lib-storage';
2
import { GetObjectCommandInput, PutObjectCommandInput } from '@aws-sdk/client-s3';
3
-import { getS3UploadFilePath, getS3ImageFilePath, S3_BUCKET_NAME } from './constants';
+import { Upload } from '@aws-sdk/lib-storage';
+
4
+import { UnsupportedMediaTypeError } from '@tupaia/utils';
5
+import { getS3ImageFilePath, getS3UploadFilePath, S3_BUCKET_NAME } from './constants';
6
import { getUniqueFileName } from './getUniqueFileName';
7
import { S3 } from './S3';
-import { UnsupportedMediaTypeError } from '@tupaia/utils';
8
9
/** Non-animated image types that are generally web-safe. */
10
const supportedImageTypes = {
0 commit comments