Skip to content

Commit f75a663

Browse files
authored
Merge pull request #374 from microsoftgraph/fix/task-import
fix: adds missing js extension to imports
2 parents 46cd26a + b0a5d4c commit f75a663

10 files changed

+22
-22
lines changed

src/content/BatchRequestBuilder.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import {
33
BatchResponseBody,
44
createBatchResponseContentFromDiscriminatorValue,
55
serializeBatchRequestBody,
6-
} from "./BatchRequestStep";
7-
import { BatchResponseContent } from "./BatchResponseContent";
8-
import { BatchRequestContent } from "./BatchRequestContent";
9-
import { BatchRequestContentCollection } from "./BatchRequestContentCollection";
10-
import { BatchResponseContentCollection } from "./BatchResponseContentCollection";
6+
} from "./BatchRequestStep.js";
7+
import { BatchResponseContent } from "./BatchResponseContent.js";
8+
import { BatchRequestContent } from "./BatchRequestContent.js";
9+
import { BatchRequestContentCollection } from "./BatchRequestContentCollection.js";
10+
import { BatchResponseContentCollection } from "./BatchResponseContentCollection.js";
1111

1212
export class BatchRequestBuilder {
1313
/**

src/content/BatchRequestContent.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { RequestAdapter, RequestInformation, ErrorMappings } from "@microsoft/kiota-abstractions";
2-
import { BatchRequestStep, BatchRequestBody, convertRequestInformationToBatchItem } from "./BatchRequestStep";
3-
import { BatchResponseContent } from "./BatchResponseContent";
4-
import { BatchRequestBuilder } from "./BatchRequestBuilder";
2+
import { BatchRequestStep, BatchRequestBody, convertRequestInformationToBatchItem } from "./BatchRequestStep.js";
3+
import { BatchResponseContent } from "./BatchResponseContent.js";
4+
import { BatchRequestBuilder } from "./BatchRequestBuilder.js";
55

66
/**
77
* -------------------------------------------------------------------------------------------

src/content/BatchRequestContentCollection.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
*/
1111

1212
import { ErrorMappings, RequestAdapter, RequestInformation } from "@microsoft/kiota-abstractions";
13-
import { BatchRequestStep, convertRequestInformationToBatchItem } from "./BatchRequestStep";
14-
import { BatchRequestContent } from "./BatchRequestContent";
15-
import { BatchRequestBuilder } from "./BatchRequestBuilder";
16-
import { BatchResponseContentCollection } from "./BatchResponseContentCollection";
13+
import { BatchRequestStep, convertRequestInformationToBatchItem } from "./BatchRequestStep.js";
14+
import { BatchRequestContent } from "./BatchRequestContent.js";
15+
import { BatchRequestBuilder } from "./BatchRequestBuilder.js";
16+
import { BatchResponseContentCollection } from "./BatchResponseContentCollection.js";
1717

1818
/**
1919
* The default limit for the number of requests in a single batch.

src/content/BatchRequestStep.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
createGuid,
2323
RequestAdapter,
2424
} from "@microsoft/kiota-abstractions";
25-
import { defaultUrlReplacementPairs } from "../utils/Constants";
25+
import { defaultUrlReplacementPairs } from "../utils/Constants.js";
2626

2727
/**
2828
* @interface

src/content/BatchResponseContent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @module BatchResponseContent
1010
*/
1111

12-
import { BatchResponseBody, BatchResponse } from "./BatchRequestStep";
12+
import { BatchResponseBody, BatchResponse } from "./BatchRequestStep.js";
1313
import { Parsable, deserializeFromJson, ParsableFactory } from "@microsoft/kiota-abstractions";
1414

1515
/**

src/content/BatchResponseContentCollection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* @module BatchResponseContentCollection
1010
*/
1111

12-
import { BatchResponseContent } from "./BatchResponseContent";
13-
import { BatchResponse } from "./BatchRequestStep";
12+
import { BatchResponseContent } from "./BatchResponseContent.js";
13+
import { BatchResponse } from "./BatchRequestStep.js";
1414
import { deserializeFromJson, Parsable, ParsableFactory } from "@microsoft/kiota-abstractions";
1515

1616
/**

src/content/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export * from "./BatchRequestBuilder.js";
22
export * from "./BatchRequestContent.js";
33
export * from "./BatchRequestContentCollection.js";
4-
export * from "./BatchRequestStep";
4+
export * from "./BatchRequestStep.js";
55
export * from "./BatchResponseContent.js";
66
export * from "./BatchResponseContentCollection.js";

src/tasks/LargeFileUploadTask.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import {
1818
ErrorMappings,
1919
HttpMethod,
2020
} from "@microsoft/kiota-abstractions";
21-
import { UploadSlice } from "./UploadSlice";
22-
import { SeekableStreamReader } from "./SeekableStreamReader";
21+
import { UploadSlice } from "./UploadSlice.js";
22+
import { SeekableStreamReader } from "./SeekableStreamReader.js";
2323

2424
/**
2525
* @interface

src/tasks/UploadSlice.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import {
1616
type AdditionalDataHolder,
1717
} from "@microsoft/kiota-abstractions";
1818
import { HeadersInspectionOptions } from "@microsoft/kiota-http-fetchlibrary";
19-
import { UploadResult, UploadSession } from "./LargeFileUploadTask";
20-
import { SeekableStreamReader } from "./SeekableStreamReader";
19+
import { UploadResult, UploadSession } from "./LargeFileUploadTask.js";
20+
import { SeekableStreamReader } from "./SeekableStreamReader.js";
2121

2222
const binaryContentType = "application/octet-stream";
2323

src/tasks/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * from "./LargeFileUploadTask";
1+
export * from "./LargeFileUploadTask.js";
22
export * from "./PageIterator.js";
33
export * from "./SeekableStreamReader.js";
44
export * from "./UploadSlice.js";

0 commit comments

Comments
 (0)