Skip to content

Commit 0540c35

Browse files
scaleway-botyfodiljremy42
authored
feat(autoscaling): enable v1alpha1 (#2104)
Co-authored-by: Yacine Fodil <[email protected]> Co-authored-by: Jonathan R. <[email protected]>
1 parent bc754e0 commit 0540c35

File tree

14 files changed

+7893
-2128
lines changed

14 files changed

+7893
-2128
lines changed

packages/sdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@scaleway/sdk-account": "workspace:*",
4040
"@scaleway/sdk-applesilicon": "workspace:*",
4141
"@scaleway/sdk-audit-trail": "workspace:*",
42+
"@scaleway/sdk-autoscaling": "workspace:*",
4243
"@scaleway/sdk-baremetal": "workspace:*",
4344
"@scaleway/sdk-billing": "workspace:*",
4445
"@scaleway/sdk-block": "workspace:*",

packages/sdk/src/index.gen.ts

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
import { Accountv3 } from '@scaleway/sdk-account'
66
import { Applesiliconv1alpha1 } from '@scaleway/sdk-applesilicon'
77
import { AuditTrailv1alpha1 } from '@scaleway/sdk-audit-trail'
8-
import { Baremetalv1, Baremetalv3 } from '@scaleway/sdk-baremetal'
8+
import { Autoscalingv1alpha1 } from '@scaleway/sdk-autoscaling'
9+
import { Baremetalv1,Baremetalv3 } from '@scaleway/sdk-baremetal'
910
import { Billingv2beta1 } from '@scaleway/sdk-billing'
10-
import { Blockv1, Blockv1alpha1 } from '@scaleway/sdk-block'
11+
import { Blockv1,Blockv1alpha1 } from '@scaleway/sdk-block'
1112
import { Cockpitv1 } from '@scaleway/sdk-cockpit'
1213
import { Containerv1beta1 } from '@scaleway/sdk-container'
1314
import { Dediboxv1 } from '@scaleway/sdk-dedibox'
@@ -17,7 +18,7 @@ import { Filev1alpha1 } from '@scaleway/sdk-file'
1718
import { Flexibleipv1alpha1 } from '@scaleway/sdk-flexibleip'
1819
import { Functionv1beta1 } from '@scaleway/sdk-function'
1920
import { Iamv1alpha1 } from '@scaleway/sdk-iam'
20-
import { Inferencev1, Inferencev1beta1 } from '@scaleway/sdk-inference'
21+
import { Inferencev1,Inferencev1beta1 } from '@scaleway/sdk-inference'
2122
import { Instancev1 } from '@scaleway/sdk-instance'
2223
import { Interlinkv1beta1 } from '@scaleway/sdk-interlink'
2324
import { Iotv1 } from '@scaleway/sdk-iot'
@@ -39,7 +40,7 @@ import { ServerlessSqldbv1alpha1 } from '@scaleway/sdk-serverless-sqldb'
3940
import { Temv1alpha1 } from '@scaleway/sdk-tem'
4041
import { Testv1 } from '@scaleway/sdk-test'
4142
import { Vpcv2 } from '@scaleway/sdk-vpc'
42-
import { Vpcgwv1, Vpcgwv2 } from '@scaleway/sdk-vpcgw'
43+
import { Vpcgwv1,Vpcgwv2 } from '@scaleway/sdk-vpcgw'
4344
import { Webhostingv1 } from '@scaleway/sdk-webhosting'
4445
/**
4546
* @deprecated Direct version exports are deprecated. Use the 'Account' namespace instead (e.g., Account.v1).
@@ -65,10 +66,18 @@ export const AuditTrail = {
6566
v1alpha1: AuditTrailv1alpha1,
6667
}
6768

69+
/**
70+
* @deprecated Direct version exports are deprecated. Use the 'Autoscaling' namespace instead (e.g., Autoscaling.v1).
71+
*/
72+
export { Autoscalingv1alpha1 }
73+
export const Autoscaling = {
74+
v1alpha1: Autoscalingv1alpha1,
75+
}
76+
6877
/**
6978
* @deprecated Direct version exports are deprecated. Use the 'Baremetal' namespace instead (e.g., Baremetal.v1).
7079
*/
71-
export { Baremetalv1, Baremetalv3 }
80+
export { Baremetalv1,Baremetalv3 }
7281
export const Baremetal = {
7382
v1: Baremetalv1,
7483
v3: Baremetalv3,
@@ -85,7 +94,7 @@ export const Billing = {
8594
/**
8695
* @deprecated Direct version exports are deprecated. Use the 'Block' namespace instead (e.g., Block.v1).
8796
*/
88-
export { Blockv1, Blockv1alpha1 }
97+
export { Blockv1,Blockv1alpha1 }
8998
export const Block = {
9099
v1: Blockv1,
91100
v1alpha1: Blockv1alpha1,
@@ -166,7 +175,7 @@ export const Iam = {
166175
/**
167176
* @deprecated Direct version exports are deprecated. Use the 'Inference' namespace instead (e.g., Inference.v1).
168177
*/
169-
export { Inferencev1, Inferencev1beta1 }
178+
export { Inferencev1,Inferencev1beta1 }
170179
export const Inference = {
171180
v1: Inferencev1,
172181
v1beta1: Inferencev1beta1,
@@ -343,7 +352,7 @@ export const Vpc = {
343352
/**
344353
* @deprecated Direct version exports are deprecated. Use the 'Vpcgw' namespace instead (e.g., Vpcgw.v1).
345354
*/
346-
export { Vpcgwv1, Vpcgwv2 }
355+
export { Vpcgwv1,Vpcgwv2 }
347356
export const Vpcgw = {
348357
v1: Vpcgwv1,
349358
v2: Vpcgwv2,
@@ -356,3 +365,4 @@ export { Webhostingv1 }
356365
export const Webhosting = {
357366
v1: Webhostingv1,
358367
}
368+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "@scaleway/sdk-autoscaling",
3+
"version": "1.0.0",
4+
"description": "Scaleway SDK autoscaling",
5+
"types": "dist/index.d.ts",
6+
"files": [
7+
"dist"
8+
],
9+
"type": "module",
10+
"exports": {
11+
".": {
12+
"types": "./dist/index.gen.d.ts",
13+
"import": "./dist/index.gen.js",
14+
"require": "./dist/index.gen.cjs",
15+
"default": "./dist/index.gen.js"
16+
},
17+
"./*": {
18+
"types": "./dist/*/index.gen.d.ts",
19+
"import": "./dist/*/index.gen.js",
20+
"require": "./dist/*/index.gen.cjs",
21+
"default": "./dist/*/index.gen.js"
22+
}
23+
},
24+
"repository": {
25+
"type": "git",
26+
"directory": "packages_generated/autoscaling"
27+
},
28+
"engines": {
29+
"node": ">=20.18.3"
30+
},
31+
"scripts": {
32+
"package:check": "pnpm publint",
33+
"typecheck": "tsc --noEmit",
34+
"type:generate": "tsc --declaration -p tsconfig.build.json",
35+
"build": "vite build --config vite.config.ts && pnpm run type:generate",
36+
"build:profile": "npx vite-bundle-visualizer -c vite.config.ts"
37+
},
38+
"dependencies": {
39+
"@scaleway/sdk-std": "workspace:*",
40+
"@scaleway/random-name": "5.1.1"
41+
},
42+
"peerDependencies": {
43+
"@scaleway/sdk-client": "workspace:^"
44+
},
45+
"devDependencies": {
46+
"@scaleway/sdk-client": "workspace:^"
47+
}
48+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* This file is automatically generated
3+
* PLEASE DO NOT EDIT HERE
4+
*/
5+
6+
export * as Autoscalingv1alpha1 from './v1alpha1/index.gen'

0 commit comments

Comments
 (0)