Skip to content

Commit

Permalink
fix(files): arrange-imports for multipart session (#1171)
Browse files Browse the repository at this point in the history
* fix(files): arrange-imports for multipart session

* fix: enable biome locally again

* fix(files): yarn
  • Loading branch information
G0nza1es authored Nov 7, 2024
1 parent 0b728ef commit 0848b3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import {
type CDFHttpClient,
type MetadataMap,
} from '@cognite/sdk-core';
import type { FileContent, FileInfo } from '@cognite/sdk/src/types';
import type {
FileContent,
FileInfo,
MultiPartFileChunkResponse,
MultiPartFileUploadResponse,
} from '../../types';
Expand Down Expand Up @@ -40,7 +41,9 @@ export class FilesMultipartUploadSessionAPI extends BaseResourceAPI<FileInfo> {
partNumber >= this.multiPartFileUploadResponse.uploadUrls.length
) {
throw Error(
`part number is outside allowed range 0 to ${this.multiPartFileUploadResponse.uploadUrls.length - 1}`
`part number is outside allowed range 0 to ${
this.multiPartFileUploadResponse.uploadUrls.length - 1
}`
);
}
if (this.canCompleteUpload()) {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3313,7 +3313,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@cognite/sdk-alpha@workspace:packages/alpha"
dependencies:
"@cognite/sdk": "npm:^9.15.7"
"@cognite/sdk": "npm:^9.16.0"
"@cognite/sdk-core": "npm:^4.10.6"
languageName: unknown
linkType: soft
Expand All @@ -3322,7 +3322,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@cognite/sdk-beta@workspace:packages/beta"
dependencies:
"@cognite/sdk": "npm:^9.15.7"
"@cognite/sdk": "npm:^9.16.0"
"@cognite/sdk-core": "npm:^4.10.6"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -3383,7 +3383,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@cognite/sdk-playground@workspace:packages/playground"
dependencies:
"@cognite/sdk": "npm:^9.15.7"
"@cognite/sdk": "npm:^9.16.0"
"@cognite/sdk-core": "npm:^4.10.6"
languageName: unknown
linkType: soft
Expand All @@ -3397,7 +3397,7 @@ __metadata:
languageName: unknown
linkType: soft

"@cognite/sdk@npm:^9, @cognite/sdk@npm:^9.15.7, @cognite/sdk@workspace:packages/stable":
"@cognite/sdk@npm:^9, @cognite/sdk@npm:^9.16.0, @cognite/sdk@workspace:packages/stable":
version: 0.0.0-use.local
resolution: "@cognite/sdk@workspace:packages/stable"
dependencies:
Expand Down

0 comments on commit 0848b3f

Please sign in to comment.