Skip to content

Commit 0d11087

Browse files
chore: reorganize import (#2520)
Co-authored-by: Jonathan Remy <jremy@scaleway.com>
1 parent e848cb9 commit 0d11087

File tree

118 files changed

+374
-426
lines changed

Some content is hidden

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

118 files changed

+374
-426
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ format-check:
1616

1717
format-generated:
1818
pnpm install
19-
pnpm eslint --config eslint.config.generated.mjs --fix packages_generated/**/*.ts
20-
pnpm biome check --linter-enabled=false --write packages_generated/
19+
pnpm eslint --config eslint.config.generated.mjs --fix 'packages_generated/**/*.ts'
20+
pnpm biome format --write packages_generated/
2121

2222
typing:
2323
pnpm run typecheck

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import {
4-
enrichForPagination,
54
API as ParentAPI,
5+
enrichForPagination,
66
urlParams,
77
validatePathParam,
88
} from '@scaleway/sdk-client'
9+
910
import {
1011
marshalContractApiCheckContractSignatureRequest,
1112
marshalContractApiCreateContractSignatureRequest,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import randomName from '@scaleway/random-name'
4-
import type { DefaultValues } from '@scaleway/sdk-client'
54
import {
65
isJSONObject,
76
resolveOneOf,
87
unmarshalArrayOfObject,
98
unmarshalDate,
109
} from '@scaleway/sdk-client'
10+
import type { DefaultValues } from '@scaleway/sdk-client'
1111
import type {
1212
CheckContractSignatureResponse,
1313
Contract,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
3+
34
import type { LanguageCode as StdLanguageCode } from '@scaleway/sdk-std'
45

56
export type ContractType =

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
3-
4-
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client'
53
import {
6-
enrichForPagination,
74
API as ParentAPI,
5+
enrichForPagination,
86
toApiLocality,
97
urlParams,
108
validatePathParam,
119
waitForResource,
1210
} from '@scaleway/sdk-client'
11+
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client'
1312
import {
1413
SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES_APPLESILICON,
1514
SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_APPLESILICON,
@@ -26,8 +25,8 @@ import {
2625
unmarshalConnectivityDiagnostic,
2726
unmarshalListOSResponse,
2827
unmarshalListServerPrivateNetworksResponse,
29-
unmarshalListServersResponse,
3028
unmarshalListServerTypesResponse,
29+
unmarshalListServersResponse,
3130
unmarshalOS,
3231
unmarshalServer,
3332
unmarshalServerPrivateNetwork,
@@ -48,10 +47,10 @@ import type {
4847
ListOSRequest,
4948
ListOSResponse,
5049
ListServerPrivateNetworksResponse,
51-
ListServersRequest,
52-
ListServersResponse,
5350
ListServerTypesRequest,
5451
ListServerTypesResponse,
52+
ListServersRequest,
53+
ListServersResponse,
5554
OS,
5655
PrivateNetworkApiAddServerPrivateNetworkRequest,
5756
PrivateNetworkApiDeleteServerPrivateNetworkRequest,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ export type {
2727
ListOSResponse,
2828
ListServerPrivateNetworksRequestOrderBy,
2929
ListServerPrivateNetworksResponse,
30+
ListServerTypesRequest,
31+
ListServerTypesResponse,
3032
ListServersRequest,
3133
ListServersRequestOrderBy,
3234
ListServersResponse,
33-
ListServerTypesRequest,
34-
ListServerTypesResponse,
3535
OS,
3636
OSSupportedServerType,
3737
PrivateNetworkApiAddServerPrivateNetworkRequest,
@@ -53,8 +53,8 @@ export type {
5353
ServerTypeDisk,
5454
ServerTypeGPU,
5555
ServerTypeMemory,
56-
ServerTypeNetwork,
5756
ServerTypeNPU,
57+
ServerTypeNetwork,
5858
ServerTypeStock,
5959
SetServerPrivateNetworksResponse,
6060
StartConnectivityDiagnosticRequest,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import randomName from '@scaleway/random-name'
4-
import type { DefaultValues } from '@scaleway/sdk-client'
54
import {
65
isJSONObject,
76
unmarshalArrayOfObject,
87
unmarshalDate,
98
} from '@scaleway/sdk-client'
9+
import type { DefaultValues } from '@scaleway/sdk-client'
1010
import type {
1111
BatchCreateServersRequest,
1212
BatchCreateServersRequestBatchInnerCreateServerRequest,
@@ -18,8 +18,8 @@ import type {
1818
CreateServerRequest,
1919
ListOSResponse,
2020
ListServerPrivateNetworksResponse,
21-
ListServersResponse,
2221
ListServerTypesResponse,
22+
ListServersResponse,
2323
OS,
2424
OSSupportedServerType,
2525
PrivateNetworkApiAddServerPrivateNetworkRequest,
@@ -33,8 +33,8 @@ import type {
3333
ServerTypeDisk,
3434
ServerTypeGPU,
3535
ServerTypeMemory,
36-
ServerTypeNetwork,
3736
ServerTypeNPU,
37+
ServerTypeNetwork,
3838
SetServerPrivateNetworksResponse,
3939
StartConnectivityDiagnosticRequest,
4040
StartConnectivityDiagnosticResponse,

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
3-
4-
import type { ApiLocality } from '@scaleway/sdk-client'
53
import {
6-
enrichForPagination,
74
API as ParentAPI,
5+
enrichForPagination,
86
toApiLocality,
97
urlParams,
108
validatePathParam,
119
} from '@scaleway/sdk-client'
10+
import type { ApiLocality } from '@scaleway/sdk-client'
1211
import {
1312
marshalCreateExportJobRequest,
1413
unmarshalExportJob,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export type {
99
AppleSiliconServerInfo,
1010
AuthenticationEvent,
1111
AuthenticationEventFailureReason,
12-
AuthenticationEventMethod,
1312
AuthenticationEventMFAType,
13+
AuthenticationEventMethod,
1414
AuthenticationEventOrigin,
1515
AuthenticationEventResult,
1616
BaremetalServerInfo,

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
3-
4-
import type { DefaultValues } from '@scaleway/sdk-client'
53
import {
64
isJSONObject,
75
resolveOneOf,
86
unmarshalArrayOfObject,
97
unmarshalDate,
108
} from '@scaleway/sdk-client'
9+
import type { DefaultValues } from '@scaleway/sdk-client'
1110
import type {
1211
AccountOrganizationInfo,
1312
AccountProjectInfo,

0 commit comments

Comments
 (0)