|
1 | | -import { |
2 | | - AbortMultipartUploadCommand, |
3 | | - ChecksumAlgorithm, |
| 1 | +import type { |
4 | 2 | CompletedPart, |
5 | | - CompleteMultipartUploadCommand, |
6 | 3 | CompleteMultipartUploadCommandInput, |
7 | 4 | CompleteMultipartUploadCommandOutput, |
8 | | - CreateMultipartUploadCommand, |
9 | 5 | CreateMultipartUploadCommandInput, |
10 | 6 | CreateMultipartUploadCommandOutput, |
11 | | - PutObjectCommand, |
12 | 7 | PutObjectCommandInput, |
13 | | - PutObjectTaggingCommand, |
14 | 8 | S3Client, |
15 | 9 | Tag, |
16 | | - UploadPartCommand, |
17 | 10 | UploadPartCommandInput, |
18 | 11 | } from "@aws-sdk/client-s3"; |
19 | | -import { AbortController } from "@smithy/abort-controller"; |
20 | 12 | import { |
21 | | - EndpointParameterInstructionsSupplier, |
22 | | - getEndpointFromInstructions, |
23 | | - toEndpointV1, |
24 | | -} from "@smithy/middleware-endpoint"; |
25 | | -import { HttpRequest } from "@smithy/protocol-http"; |
| 13 | + AbortMultipartUploadCommand, |
| 14 | + ChecksumAlgorithm, |
| 15 | + CompleteMultipartUploadCommand, |
| 16 | + CreateMultipartUploadCommand, |
| 17 | + PutObjectCommand, |
| 18 | + PutObjectTaggingCommand, |
| 19 | + UploadPartCommand, |
| 20 | +} from "@aws-sdk/client-s3"; |
| 21 | +import { AbortController } from "@smithy/abort-controller"; |
| 22 | +import type { EndpointParameterInstructionsSupplier } from "@smithy/middleware-endpoint"; |
| 23 | +import { getEndpointFromInstructions, toEndpointV1 } from "@smithy/middleware-endpoint"; |
| 24 | +import type { HttpRequest } from "@smithy/protocol-http"; |
26 | 25 | import { extendedEncodeURIComponent } from "@smithy/smithy-client"; |
27 | 26 | import type { AbortController as IAbortController, AbortSignal as IAbortSignal, Endpoint } from "@smithy/types"; |
| 27 | +// eslint-disable-next-line n/prefer-node-protocol |
28 | 28 | import { EventEmitter } from "events"; |
29 | 29 |
|
30 | 30 | import { byteLength } from "./byteLength"; |
31 | | -import { BYTE_LENGTH_SOURCE, byteLengthSource } from "./byteLengthSource"; |
| 31 | +import type { BYTE_LENGTH_SOURCE } from "./byteLengthSource"; |
| 32 | +import { byteLengthSource } from "./byteLengthSource"; |
32 | 33 | import { getChunk } from "./chunker"; |
33 | | -import { BodyDataTypes, Options, Progress } from "./types"; |
| 34 | +import type { BodyDataTypes, Options, Progress } from "./types"; |
34 | 35 |
|
35 | 36 | export interface RawDataPart { |
36 | 37 | partNumber: number; |
|
0 commit comments