Skip to content

Commit ea4bafb

Browse files
committed
chore: resolve rebase conflicts and NodeNext import extensions
1 parent f138a11 commit ea4bafb

File tree

24 files changed

+65
-75
lines changed

24 files changed

+65
-75
lines changed

packages/client/src/bridge.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ export type { WaitForOptions } from './internal/async/interval-retrier.js'
1212
export { waitForResource } from './internal/async/interval-retrier.js'
1313
export { API } from './scw/api.js'
1414
export type { DefaultValues } from './scw/client-settings.js'
15-
export type {
16-
Money,
17-
ServiceInfo,
18-
ScwFile,
19-
TimeSeries,
20-
} from './scw/custom-types.js'
21-
export { Decimal } from './scw/custom-types.js'
2215
export {
2316
marshalBlobToScwFile,
2417
marshalDecimal,
@@ -32,5 +25,12 @@ export {
3225
unmarshalTimeSeries,
3326
unmarshalTimeSeriesPoint,
3427
} from './scw/custom-marshalling.js'
28+
export type {
29+
Money,
30+
ScwFile,
31+
ServiceInfo,
32+
TimeSeries,
33+
} from './scw/custom-types.js'
34+
export { Decimal } from './scw/custom-types.js'
3535
export { enrichForPagination } from './scw/fetch/resource-paginator.js'
3636
export type { Region, Zone } from './scw/locality.js'

packages/client/src/internal/logger/console-logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { LevelResolver, shouldLog } from './level-resolver.js'
21
import type { LogLevel } from './level-resolver.js'
2+
import { LevelResolver, shouldLog } from './level-resolver.js'
33
import type { Logger } from './logger.js'
44

55
/**

packages/client/src/scw/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {
33
addHeaderInterceptor,
44
} from '../internal/interceptors/helpers.js'
55
import type { RequestInterceptor } from '../internal/interceptors/types.js'
6-
import { assertValidAuthenticationSecrets } from './client-ini-profile.js'
76
import type { AuthenticationSecrets } from './client-ini-profile.js'
7+
import { assertValidAuthenticationSecrets } from './client-ini-profile.js'
88
import { AUTH_HEADER_KEY, SESSION_HEADER_KEY } from './constants.js'
99

1010
interface TokenAccessor {

packages/client/src/scw/client-ini-factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { NetworkInterceptors } from '../index.js'
22
import { authenticateWithSecrets } from './auth.js'
3-
import { hasAuthenticationSecrets } from './client-ini-profile.js'
43
import type { Profile } from './client-ini-profile.js'
4+
import { hasAuthenticationSecrets } from './client-ini-profile.js'
55
import type { Settings } from './client-settings.js'
66

77
/**

packages/client/src/scw/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
import type { Settings } from './client-settings.js'
99
import { assertValidSettings } from './client-settings.js'
1010
import { userAgent, version } from './constants.js'
11-
import { buildFetcher } from './fetch/build-fetcher.js'
1211
import type { Fetcher } from './fetch/build-fetcher.js'
12+
import { buildFetcher } from './fetch/build-fetcher.js'
1313

1414
/** Default {@link Settings} values. */
1515
const DEFAULT_SETTINGS: Settings = {
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
export { ScalewayError } from '../scw-error.js'
22
export { AlreadyExistsError } from './already-exists-error.js'
33
export { DeniedAuthenticationError } from './denied-authentication-error.js'
4-
export { InvalidArgumentsError } from './invalid-arguments-error.js'
54
export type { InvalidArgumentsErrorDetails } from './invalid-arguments-error.js'
5+
export { InvalidArgumentsError } from './invalid-arguments-error.js'
66
export { OutOfStockError } from './out-of-stock-error.js'
7-
export { PermissionsDeniedError } from './permissions-denied-error.js'
87
export type { PermissionsDeniedErrorDetails } from './permissions-denied-error.js'
8+
export { PermissionsDeniedError } from './permissions-denied-error.js'
99
export { PreconditionFailedError } from './precondition-failed-error.js'
10-
export { QuotasExceededError } from './quotas-exceeded-error.js'
1110
export type {
1211
QuotasExceededErrorDetails,
1312
QuotasExceededErrorScope,
1413
} from './quotas-exceeded-error.js'
14+
export { QuotasExceededError } from './quotas-exceeded-error.js'
1515
export { ResourceExpiredError } from './resource-expired-error.js'
1616
export { ResourceLockedError } from './resource-locked-error.js'
1717
export { ResourceNotFoundError } from './resource-not-found-error.js'
18-
export { TooManyRequestsError } from './too-many-requests-error.js'
1918
export type { TooManyRequestsQuotaPolicy } from './too-many-requests-error.js'
19+
export { TooManyRequestsError } from './too-many-requests-error.js'
2020
export { TransientStateError } from './transient-state-error.js'

packages/client/src/scw/fetch/__tests__/resource-paginator.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { describe, expect, it, vi } from 'vitest'
2-
import type { PaginatedContent, PaginatedFetcher } from '../resource-paginator.js'
2+
import type {
3+
PaginatedContent,
4+
PaginatedFetcher,
5+
} from '../resource-paginator.js'
36
import {
47
enrichForPagination,
58
fetchAll,

packages/client/src/scw/fetch/__tests__/response-parser.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it } from 'vitest'
2-
import { isJSONObject } from '../../../helpers/json.js'
32
import type { JSONObject } from '../../../helpers/json.js'
3+
import { isJSONObject } from '../../../helpers/json.js'
44
import { ScalewayError } from '../../errors/scw-error.js'
55
import { fixLegacyTotalCount, responseParser } from '../response-parser.js'
66

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,7 @@ export type {
5353
ResourceType,
5454
SecretManagerSecretInfo,
5555
SecretManagerSecretVersionInfo,
56-
<<<<<<< HEAD
5756
SystemEvent,
5857
SystemEventKind,
59-
} from './types.gen'
60-
export * as ValidationRules from './validation-rules.gen'
61-
=======
6258
} from './types.gen.js'
6359
export * as ValidationRules from './validation-rules.gen.js'
64-
>>>>>>> 0df1f9117 (chore: add extension for nodenext)

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,8 @@ import type {
4545
Resource,
4646
SecretManagerSecretInfo,
4747
SecretManagerSecretVersionInfo,
48-
<<<<<<< HEAD
4948
SystemEvent,
50-
} from './types.gen'
51-
=======
5249
} from './types.gen.js'
53-
>>>>>>> 0df1f9117 (chore: add extension for nodenext)
5450

5551
const unmarshalExportJobS3 = (data: unknown): ExportJobS3 => {
5652
if (!isJSONObject(data)) {

0 commit comments

Comments
 (0)