Skip to content

Commit 897c81c

Browse files
committed
fix: add .js extensions to imports for NodeNext compatibility (resolves #1474 #2007)
1 parent 631f52f commit 897c81c

File tree

172 files changed

+269
-276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+269
-276
lines changed

packages/sdk/src/index.gen.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { Interlinkv1beta1 } from '@scaleway/sdk-interlink'
2626
import { Iotv1 } from '@scaleway/sdk-iot'
2727
import { Ipamv1 } from '@scaleway/sdk-ipam'
2828
import { Jobsv1alpha1 } from '@scaleway/sdk-jobs'
29-
import { K8Sv1 } from '@scaleway/sdk-k8s'
29+
import { K8sv1 } from '@scaleway/sdk-k8s'
3030
import { KeyManagerv1alpha1 } from '@scaleway/sdk-key-manager'
3131
import { Lbv1 } from '@scaleway/sdk-lb'
3232
import { Marketplacev2 } from '@scaleway/sdk-marketplace'
@@ -37,7 +37,7 @@ import { Qaasv1alpha1 } from '@scaleway/sdk-qaas'
3737
import { Rdbv1 } from '@scaleway/sdk-rdb'
3838
import { Redisv1 } from '@scaleway/sdk-redis'
3939
import { Registryv1 } from '@scaleway/sdk-registry'
40-
import { S2SVpnv1alpha1 } from '@scaleway/sdk-s2s-vpn'
40+
import { S2sVpnv1alpha1 } from '@scaleway/sdk-s2s-vpn'
4141
import { Secretv1beta1 } from '@scaleway/sdk-secret'
4242
import { ServerlessSqldbv1alpha1 } from '@scaleway/sdk-serverless-sqldb'
4343
import { Temv1alpha1 } from '@scaleway/sdk-tem'
@@ -245,9 +245,9 @@ export const Jobs = {
245245
/**
246246
* @deprecated Direct version exports are deprecated. Use the 'K8s' namespace instead (e.g., K8s.v1).
247247
*/
248-
export { K8Sv1 }
248+
export { K8sv1 }
249249
export const K8s = {
250-
v1: K8Sv1,
250+
v1: K8sv1,
251251
}
252252

253253
/**
@@ -334,9 +334,9 @@ export const Registry = {
334334
/**
335335
* @deprecated Direct version exports are deprecated. Use the 'S2sVpn' namespace instead (e.g., S2sVpn.v1).
336336
*/
337-
export { S2SVpnv1alpha1 }
337+
export { S2sVpnv1alpha1 }
338338
export const S2sVpn = {
339-
v1alpha1: S2SVpnv1alpha1,
339+
v1alpha1: S2sVpnv1alpha1,
340340
}
341341

342342
/**

packages_generated/account/src/index.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* PLEASE DO NOT EDIT HERE
44
*/
55

6-
export * as Accountv3 from './v3/index.gen.js'
6+
export * as Accountv3 from './v3/index.gen'

packages_generated/account/src/v3/api.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
unmarshalListProjectsResponse,
1919
unmarshalProject,
2020
unmarshalProjectQualification,
21-
} from './marshalling.gen.js'
21+
} from './marshalling.gen'
2222
import type {
2323
CheckContractSignatureResponse,
2424
ContractApiCheckContractSignatureRequest,
@@ -37,7 +37,7 @@ import type {
3737
ProjectApiSetProjectQualificationRequest,
3838
ProjectApiUpdateProjectRequest,
3939
ProjectQualification,
40-
} from './types.gen.js'
40+
} from './types.gen'
4141

4242
const jsonContentHeaders = {
4343
'Content-Type': 'application/json; charset=utf-8',

packages_generated/account/src/v3/marshalling.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import type {
3131
QualificationOtherUseCase,
3232
QualificationSetScalewayEnvironment,
3333
QualificationShareData,
34-
} from './types.gen.js'
34+
} from './types.gen'
3535

3636
const unmarshalContract = (data: unknown): Contract => {
3737
if (!isJSONObject(data)) {

packages_generated/applesilicon/src/index.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* PLEASE DO NOT EDIT HERE
44
*/
55

6-
export * as Applesiliconv1alpha1 from './v1alpha1/index.gen.js'
6+
export * as Applesiliconv1alpha1 from './v1alpha1/index.gen'

packages_generated/applesilicon/src/v1alpha1/api.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
import {
1414
SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES_APPLESILICON,
1515
SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_APPLESILICON,
16-
} from './content.gen.js'
16+
} from './content.gen'
1717
import {
1818
marshalBatchCreateServersRequest,
1919
marshalCreateServerRequest,
@@ -34,7 +34,7 @@ import {
3434
unmarshalServerType,
3535
unmarshalSetServerPrivateNetworksResponse,
3636
unmarshalStartConnectivityDiagnosticResponse,
37-
} from './marshalling.gen.js'
37+
} from './marshalling.gen'
3838
import type {
3939
BatchCreateServersRequest,
4040
BatchCreateServersResponse,
@@ -67,7 +67,7 @@ import type {
6767
StartConnectivityDiagnosticRequest,
6868
StartConnectivityDiagnosticResponse,
6969
UpdateServerRequest,
70-
} from './types.gen.js'
70+
} from './types.gen'
7171

7272
const jsonContentHeaders = {
7373
'Content-Type': 'application/json; charset=utf-8',

packages_generated/applesilicon/src/v1alpha1/content.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type {
44
ServerPrivateNetworkServerStatus,
55
ServerPrivateNetworkStatus,
66
ServerStatus,
7-
} from './types.gen.js'
7+
} from './types.gen'
88

99
/** Lists transient statutes of the enum {@link ServerPrivateNetworkServerStatus}. */
1010
export const SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES: ServerPrivateNetworkServerStatus[] =

packages_generated/applesilicon/src/v1alpha1/marshalling.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import type {
3939
StartConnectivityDiagnosticRequest,
4040
StartConnectivityDiagnosticResponse,
4141
UpdateServerRequest,
42-
} from './types.gen.js'
42+
} from './types.gen'
4343

4444
const unmarshalOSSupportedServerType = (
4545
data: unknown,

packages_generated/audit_trail/src/index.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* PLEASE DO NOT EDIT HERE
44
*/
55

6-
export * as AuditTrailv1alpha1 from './v1alpha1/index.gen.js'
6+
export * as AuditTrailv1alpha1 from './v1alpha1/index.gen'

packages_generated/audit_trail/src/v1alpha1/marshalling.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import type {
4747
SecretManagerSecretInfo,
4848
SecretManagerSecretVersionInfo,
4949
SystemEvent,
50-
} from './types.gen.js'
50+
} from './types.gen'
5151

5252
const unmarshalExportJobS3 = (data: unknown): ExportJobS3 => {
5353
if (!isJSONObject(data)) {

0 commit comments

Comments
 (0)