@scaleway/sdk-container 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/license.md +3 -0
- package/dist/metadata.gen.d.ts +6 -6
- package/dist/metadata.gen.js +6 -2
- package/dist/v1/api.gen.d.ts +4 -4
- package/dist/v1/api.gen.js +129 -297
- package/dist/v1/content.gen.js +4 -4
- package/dist/v1/marshalling.gen.js +39 -39
- package/dist/v1/metadata.gen.js +1 -1
- package/dist/v1/validation-rules.gen.js +24 -24
- package/dist/v1beta1/api.gen.d.ts +6 -6
- package/dist/v1beta1/api.gen.js +181 -408
- package/dist/v1beta1/content.gen.js +6 -6
- package/dist/v1beta1/marshalling.gen.js +39 -39
- package/dist/v1beta1/metadata.gen.js +1 -1
- package/dist/v1beta1/validation-rules.gen.js +9 -9
- package/package.json +8 -6
- package/LICENSE +0 -191
- package/dist/metadata.gen.json +0 -6
- package/dist/metadata2.gen.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/v1beta1/content.gen.ts
|
|
2
2
|
/** Lists transient statutes of the enum {@link ContainerStatus}. */
|
|
3
|
-
|
|
3
|
+
const CONTAINER_TRANSIENT_STATUSES = [
|
|
4
4
|
"deleting",
|
|
5
5
|
"creating",
|
|
6
6
|
"pending",
|
|
@@ -8,7 +8,7 @@ var CONTAINER_TRANSIENT_STATUSES = [
|
|
|
8
8
|
"upgrading"
|
|
9
9
|
];
|
|
10
10
|
/** Lists transient statutes of the enum {@link CronStatus}. */
|
|
11
|
-
|
|
11
|
+
const CRON_TRANSIENT_STATUSES = [
|
|
12
12
|
"deleting",
|
|
13
13
|
"creating",
|
|
14
14
|
"pending",
|
|
@@ -17,7 +17,7 @@ var CRON_TRANSIENT_STATUSES = [
|
|
|
17
17
|
"rebalancing"
|
|
18
18
|
];
|
|
19
19
|
/** Lists transient statutes of the enum {@link DomainStatus}. */
|
|
20
|
-
|
|
20
|
+
const DOMAIN_TRANSIENT_STATUSES = [
|
|
21
21
|
"deleting",
|
|
22
22
|
"creating",
|
|
23
23
|
"pending",
|
|
@@ -25,7 +25,7 @@ var DOMAIN_TRANSIENT_STATUSES = [
|
|
|
25
25
|
"upgrading"
|
|
26
26
|
];
|
|
27
27
|
/** Lists transient statutes of the enum {@link NamespaceStatus}. */
|
|
28
|
-
|
|
28
|
+
const NAMESPACE_TRANSIENT_STATUSES = [
|
|
29
29
|
"deleting",
|
|
30
30
|
"creating",
|
|
31
31
|
"pending",
|
|
@@ -33,9 +33,9 @@ var NAMESPACE_TRANSIENT_STATUSES = [
|
|
|
33
33
|
"upgrading"
|
|
34
34
|
];
|
|
35
35
|
/** Lists transient statutes of the enum {@link TokenStatus}. */
|
|
36
|
-
|
|
36
|
+
const TOKEN_TRANSIENT_STATUSES = ["deleting", "creating"];
|
|
37
37
|
/** Lists transient statutes of the enum {@link TriggerStatus}. */
|
|
38
|
-
|
|
38
|
+
const TRIGGER_TRANSIENT_STATUSES = [
|
|
39
39
|
"deleting",
|
|
40
40
|
"creating",
|
|
41
41
|
"pending",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
2
2
|
import randomName from "@scaleway/random-name";
|
|
3
3
|
//#region src/v1beta1/marshalling.gen.ts
|
|
4
|
-
|
|
4
|
+
const unmarshalContainerHealthCheckSpecHTTPProbe = (data) => {
|
|
5
5
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerHealthCheckSpecHTTPProbe' failed as data isn't a dictionary.`);
|
|
6
6
|
return { path: data.path };
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
const unmarshalContainerHealthCheckSpecTCPProbe = (data) => {
|
|
9
9
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerHealthCheckSpecTCPProbe' failed as data isn't a dictionary.`);
|
|
10
10
|
return {};
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
const unmarshalContainerHealthCheckSpec = (data) => {
|
|
13
13
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerHealthCheckSpec' failed as data isn't a dictionary.`);
|
|
14
14
|
return {
|
|
15
15
|
failureThreshold: data.failure_threshold,
|
|
@@ -18,7 +18,7 @@ var unmarshalContainerHealthCheckSpec = (data) => {
|
|
|
18
18
|
tcp: data.tcp ? unmarshalContainerHealthCheckSpecTCPProbe(data.tcp) : void 0
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
const unmarshalContainerScalingOption = (data) => {
|
|
22
22
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerScalingOption' failed as data isn't a dictionary.`);
|
|
23
23
|
return {
|
|
24
24
|
concurrentRequestsThreshold: data.concurrent_requests_threshold,
|
|
@@ -26,14 +26,14 @@ var unmarshalContainerScalingOption = (data) => {
|
|
|
26
26
|
memoryUsageThreshold: data.memory_usage_threshold
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
const unmarshalSecretHashedValue = (data) => {
|
|
30
30
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SecretHashedValue' failed as data isn't a dictionary.`);
|
|
31
31
|
return {
|
|
32
32
|
hashedValue: data.hashed_value,
|
|
33
33
|
key: data.key
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
const unmarshalContainer = (data) => {
|
|
37
37
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Container' failed as data isn't a dictionary.`);
|
|
38
38
|
return {
|
|
39
39
|
args: data.args,
|
|
@@ -70,7 +70,7 @@ var unmarshalContainer = (data) => {
|
|
|
70
70
|
updatedAt: unmarshalDate(data.updated_at)
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
const unmarshalCron = (data) => {
|
|
74
74
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Cron' failed as data isn't a dictionary.`);
|
|
75
75
|
return {
|
|
76
76
|
args: data.args,
|
|
@@ -81,7 +81,7 @@ var unmarshalCron = (data) => {
|
|
|
81
81
|
status: data.status
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
-
|
|
84
|
+
const unmarshalDomain = (data) => {
|
|
85
85
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Domain' failed as data isn't a dictionary.`);
|
|
86
86
|
return {
|
|
87
87
|
containerId: data.container_id,
|
|
@@ -92,7 +92,7 @@ var unmarshalDomain = (data) => {
|
|
|
92
92
|
url: data.url
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
|
-
|
|
95
|
+
const unmarshalNamespace = (data) => {
|
|
96
96
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Namespace' failed as data isn't a dictionary.`);
|
|
97
97
|
return {
|
|
98
98
|
createdAt: unmarshalDate(data.created_at),
|
|
@@ -113,7 +113,7 @@ var unmarshalNamespace = (data) => {
|
|
|
113
113
|
vpcIntegrationActivated: data.vpc_integration_activated
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
|
-
|
|
116
|
+
const unmarshalToken = (data) => {
|
|
117
117
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Token' failed as data isn't a dictionary.`);
|
|
118
118
|
return {
|
|
119
119
|
containerId: data.container_id,
|
|
@@ -126,7 +126,7 @@ var unmarshalToken = (data) => {
|
|
|
126
126
|
token: data.token
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
-
|
|
129
|
+
const unmarshalTriggerMnqNatsClientConfig = (data) => {
|
|
130
130
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TriggerMnqNatsClientConfig' failed as data isn't a dictionary.`);
|
|
131
131
|
return {
|
|
132
132
|
mnqCredentialId: data.mnq_credential_id,
|
|
@@ -136,7 +136,7 @@ var unmarshalTriggerMnqNatsClientConfig = (data) => {
|
|
|
136
136
|
subject: data.subject
|
|
137
137
|
};
|
|
138
138
|
};
|
|
139
|
-
|
|
139
|
+
const unmarshalTriggerMnqSqsClientConfig = (data) => {
|
|
140
140
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TriggerMnqSqsClientConfig' failed as data isn't a dictionary.`);
|
|
141
141
|
return {
|
|
142
142
|
mnqCredentialId: data.mnq_credential_id,
|
|
@@ -145,7 +145,7 @@ var unmarshalTriggerMnqSqsClientConfig = (data) => {
|
|
|
145
145
|
queue: data.queue
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
-
|
|
148
|
+
const unmarshalTriggerSqsClientConfig = (data) => {
|
|
149
149
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TriggerSqsClientConfig' failed as data isn't a dictionary.`);
|
|
150
150
|
return {
|
|
151
151
|
accessKey: data.access_key,
|
|
@@ -154,7 +154,7 @@ var unmarshalTriggerSqsClientConfig = (data) => {
|
|
|
154
154
|
secretKey: data.secret_key
|
|
155
155
|
};
|
|
156
156
|
};
|
|
157
|
-
|
|
157
|
+
const unmarshalTrigger = (data) => {
|
|
158
158
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Trigger' failed as data isn't a dictionary.`);
|
|
159
159
|
return {
|
|
160
160
|
containerId: data.container_id,
|
|
@@ -169,51 +169,51 @@ var unmarshalTrigger = (data) => {
|
|
|
169
169
|
status: data.status
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
-
|
|
172
|
+
const unmarshalListContainersResponse = (data) => {
|
|
173
173
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListContainersResponse' failed as data isn't a dictionary.`);
|
|
174
174
|
return {
|
|
175
175
|
containers: unmarshalArrayOfObject(data.containers, unmarshalContainer),
|
|
176
176
|
totalCount: data.total_count
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
|
-
|
|
179
|
+
const unmarshalListCronsResponse = (data) => {
|
|
180
180
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListCronsResponse' failed as data isn't a dictionary.`);
|
|
181
181
|
return {
|
|
182
182
|
crons: unmarshalArrayOfObject(data.crons, unmarshalCron),
|
|
183
183
|
totalCount: data.total_count
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
|
|
186
|
+
const unmarshalListDomainsResponse = (data) => {
|
|
187
187
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDomainsResponse' failed as data isn't a dictionary.`);
|
|
188
188
|
return {
|
|
189
189
|
domains: unmarshalArrayOfObject(data.domains, unmarshalDomain),
|
|
190
190
|
totalCount: data.total_count
|
|
191
191
|
};
|
|
192
192
|
};
|
|
193
|
-
|
|
193
|
+
const unmarshalListNamespacesResponse = (data) => {
|
|
194
194
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListNamespacesResponse' failed as data isn't a dictionary.`);
|
|
195
195
|
return {
|
|
196
196
|
namespaces: unmarshalArrayOfObject(data.namespaces, unmarshalNamespace),
|
|
197
197
|
totalCount: data.total_count
|
|
198
198
|
};
|
|
199
199
|
};
|
|
200
|
-
|
|
200
|
+
const unmarshalListTokensResponse = (data) => {
|
|
201
201
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTokensResponse' failed as data isn't a dictionary.`);
|
|
202
202
|
return {
|
|
203
203
|
tokens: unmarshalArrayOfObject(data.tokens, unmarshalToken),
|
|
204
204
|
totalCount: data.total_count
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
|
-
|
|
207
|
+
const unmarshalListTriggersResponse = (data) => {
|
|
208
208
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTriggersResponse' failed as data isn't a dictionary.`);
|
|
209
209
|
return {
|
|
210
210
|
totalCount: data.total_count,
|
|
211
211
|
triggers: unmarshalArrayOfObject(data.triggers, unmarshalTrigger)
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
const marshalContainerHealthCheckSpecHTTPProbe = (request, defaults) => ({ path: request.path });
|
|
215
|
+
const marshalContainerHealthCheckSpecTCPProbe = (request, defaults) => ({});
|
|
216
|
+
const marshalContainerHealthCheckSpec = (request, defaults) => ({
|
|
217
217
|
failure_threshold: request.failureThreshold,
|
|
218
218
|
interval: request.interval,
|
|
219
219
|
...resolveOneOf([{
|
|
@@ -224,7 +224,7 @@ var marshalContainerHealthCheckSpec = (request, defaults) => ({
|
|
|
224
224
|
value: request.tcp !== void 0 ? marshalContainerHealthCheckSpecTCPProbe(request.tcp, defaults) : void 0
|
|
225
225
|
}])
|
|
226
226
|
});
|
|
227
|
-
|
|
227
|
+
const marshalContainerScalingOption = (request, defaults) => ({ ...resolveOneOf([
|
|
228
228
|
{
|
|
229
229
|
param: "concurrent_requests_threshold",
|
|
230
230
|
value: request.concurrentRequestsThreshold
|
|
@@ -238,11 +238,11 @@ var marshalContainerScalingOption = (request, defaults) => ({ ...resolveOneOf([
|
|
|
238
238
|
value: request.memoryUsageThreshold
|
|
239
239
|
}
|
|
240
240
|
]) });
|
|
241
|
-
|
|
241
|
+
const marshalSecret = (request, defaults) => ({
|
|
242
242
|
key: request.key,
|
|
243
243
|
value: request.value
|
|
244
244
|
});
|
|
245
|
-
|
|
245
|
+
const marshalCreateContainerRequest = (request, defaults) => ({
|
|
246
246
|
args: request.args,
|
|
247
247
|
command: request.command,
|
|
248
248
|
cpu_limit: request.cpuLimit,
|
|
@@ -268,17 +268,17 @@ var marshalCreateContainerRequest = (request, defaults) => ({
|
|
|
268
268
|
tags: request.tags,
|
|
269
269
|
timeout: request.timeout
|
|
270
270
|
});
|
|
271
|
-
|
|
271
|
+
const marshalCreateCronRequest = (request, defaults) => ({
|
|
272
272
|
args: request.args,
|
|
273
273
|
container_id: request.containerId,
|
|
274
274
|
name: request.name,
|
|
275
275
|
schedule: request.schedule
|
|
276
276
|
});
|
|
277
|
-
|
|
277
|
+
const marshalCreateDomainRequest = (request, defaults) => ({
|
|
278
278
|
container_id: request.containerId,
|
|
279
279
|
hostname: request.hostname
|
|
280
280
|
});
|
|
281
|
-
|
|
281
|
+
const marshalCreateNamespaceRequest = (request, defaults) => ({
|
|
282
282
|
activate_vpc_integration: request.activateVpcIntegration,
|
|
283
283
|
description: request.description,
|
|
284
284
|
environment_variables: request.environmentVariables,
|
|
@@ -287,7 +287,7 @@ var marshalCreateNamespaceRequest = (request, defaults) => ({
|
|
|
287
287
|
secret_environment_variables: request.secretEnvironmentVariables !== void 0 ? request.secretEnvironmentVariables.map((elt) => marshalSecret(elt, defaults)) : void 0,
|
|
288
288
|
tags: request.tags
|
|
289
289
|
});
|
|
290
|
-
|
|
290
|
+
const marshalCreateTokenRequest = (request, defaults) => ({
|
|
291
291
|
description: request.description,
|
|
292
292
|
expires_at: request.expiresAt,
|
|
293
293
|
...resolveOneOf([{
|
|
@@ -298,24 +298,24 @@ var marshalCreateTokenRequest = (request, defaults) => ({
|
|
|
298
298
|
value: request.namespaceId
|
|
299
299
|
}])
|
|
300
300
|
});
|
|
301
|
-
|
|
301
|
+
const marshalCreateTriggerRequestMnqNatsClientConfig = (request, defaults) => ({
|
|
302
302
|
mnq_nats_account_id: request.mnqNatsAccountId,
|
|
303
303
|
mnq_project_id: request.mnqProjectId,
|
|
304
304
|
mnq_region: request.mnqRegion,
|
|
305
305
|
subject: request.subject
|
|
306
306
|
});
|
|
307
|
-
|
|
307
|
+
const marshalCreateTriggerRequestMnqSqsClientConfig = (request, defaults) => ({
|
|
308
308
|
mnq_project_id: request.mnqProjectId,
|
|
309
309
|
mnq_region: request.mnqRegion,
|
|
310
310
|
queue: request.queue
|
|
311
311
|
});
|
|
312
|
-
|
|
312
|
+
const marshalCreateTriggerRequestSqsClientConfig = (request, defaults) => ({
|
|
313
313
|
access_key: request.accessKey,
|
|
314
314
|
endpoint: request.endpoint,
|
|
315
315
|
queue_url: request.queueUrl,
|
|
316
316
|
secret_key: request.secretKey
|
|
317
317
|
});
|
|
318
|
-
|
|
318
|
+
const marshalCreateTriggerRequest = (request, defaults) => ({
|
|
319
319
|
container_id: request.containerId,
|
|
320
320
|
description: request.description,
|
|
321
321
|
name: request.name,
|
|
@@ -334,7 +334,7 @@ var marshalCreateTriggerRequest = (request, defaults) => ({
|
|
|
334
334
|
}
|
|
335
335
|
])
|
|
336
336
|
});
|
|
337
|
-
|
|
337
|
+
const marshalUpdateContainerRequest = (request, defaults) => ({
|
|
338
338
|
args: request.args,
|
|
339
339
|
command: request.command,
|
|
340
340
|
cpu_limit: request.cpuLimit,
|
|
@@ -359,23 +359,23 @@ var marshalUpdateContainerRequest = (request, defaults) => ({
|
|
|
359
359
|
tags: request.tags,
|
|
360
360
|
timeout: request.timeout
|
|
361
361
|
});
|
|
362
|
-
|
|
362
|
+
const marshalUpdateCronRequest = (request, defaults) => ({
|
|
363
363
|
args: request.args,
|
|
364
364
|
container_id: request.containerId,
|
|
365
365
|
name: request.name,
|
|
366
366
|
schedule: request.schedule
|
|
367
367
|
});
|
|
368
|
-
|
|
368
|
+
const marshalUpdateNamespaceRequest = (request, defaults) => ({
|
|
369
369
|
description: request.description,
|
|
370
370
|
environment_variables: request.environmentVariables,
|
|
371
371
|
secret_environment_variables: request.secretEnvironmentVariables !== void 0 ? request.secretEnvironmentVariables.map((elt) => marshalSecret(elt, defaults)) : void 0,
|
|
372
372
|
tags: request.tags
|
|
373
373
|
});
|
|
374
|
-
|
|
374
|
+
const marshalUpdateTriggerRequestSqsClientConfig = (request, defaults) => ({
|
|
375
375
|
access_key: request.accessKey,
|
|
376
376
|
secret_key: request.secretKey
|
|
377
377
|
});
|
|
378
|
-
|
|
378
|
+
const marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
379
379
|
description: request.description,
|
|
380
380
|
name: request.name,
|
|
381
381
|
...resolveOneOf([{
|
|
@@ -11,24 +11,24 @@ var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
11
11
|
UpdateContainerRequest: () => UpdateContainerRequest,
|
|
12
12
|
UpdateTriggerRequest: () => UpdateTriggerRequest
|
|
13
13
|
});
|
|
14
|
-
|
|
14
|
+
const ContainerHealthCheckSpec = { failureThreshold: {
|
|
15
15
|
greaterThanOrEqual: 3,
|
|
16
16
|
lessThanOrEqual: 50
|
|
17
17
|
} };
|
|
18
|
-
|
|
18
|
+
const ContainerHealthCheckSpecHTTPProbe = { path: {
|
|
19
19
|
maxLength: 100,
|
|
20
20
|
minLength: 1
|
|
21
21
|
} };
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
const ContainerScalingOption = {};
|
|
23
|
+
const CreateContainerRequest = { privateNetworkId: { ignoreEmpty: true } };
|
|
24
|
+
const CreateTriggerRequest = {
|
|
25
25
|
description: { maxLength: 255 },
|
|
26
26
|
name: {
|
|
27
27
|
maxLength: 50,
|
|
28
28
|
minLength: 1
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
const CreateTriggerRequestMnqNatsClientConfig = {
|
|
32
32
|
mnqRegion: {
|
|
33
33
|
maxLength: 20,
|
|
34
34
|
minLength: 1
|
|
@@ -39,7 +39,7 @@ var CreateTriggerRequestMnqNatsClientConfig = {
|
|
|
39
39
|
pattern: /^[^\s]+$/
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
const CreateTriggerRequestMnqSqsClientConfig = {
|
|
43
43
|
mnqRegion: {
|
|
44
44
|
maxLength: 20,
|
|
45
45
|
minLength: 1
|
|
@@ -49,8 +49,8 @@ var CreateTriggerRequestMnqSqsClientConfig = {
|
|
|
49
49
|
minLength: 1
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
const UpdateContainerRequest = { privateNetworkId: { ignoreEmpty: true } };
|
|
53
|
+
const UpdateTriggerRequest = {
|
|
54
54
|
description: { maxLength: 255 },
|
|
55
55
|
name: {
|
|
56
56
|
maxLength: 50,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-container",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Scaleway SDK container",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -35,18 +35,20 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@scaleway/random-name": "5.1.4",
|
|
38
|
-
"@scaleway/sdk-std": "2.
|
|
38
|
+
"@scaleway/sdk-std": "2.4.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@scaleway/sdk-client": "^2.
|
|
41
|
+
"@scaleway/sdk-client": "^2.3.0",
|
|
42
|
+
"@repo/configs": "^0.1.1"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@
|
|
45
|
+
"@repo/configs": "^0.1.1",
|
|
46
|
+
"@scaleway/sdk-client": "^2.3.0"
|
|
45
47
|
},
|
|
46
48
|
"scripts": {
|
|
47
49
|
"package:check": "pnpm publint",
|
|
48
|
-
"typecheck": "
|
|
49
|
-
"type:generate": "
|
|
50
|
+
"typecheck": "tsgo --noEmit",
|
|
51
|
+
"type:generate": "tsgo --declaration -p tsconfig.build.json",
|
|
50
52
|
"build": "vite build --config vite.config.ts && pnpm run type:generate",
|
|
51
53
|
"build:profile": "npx vite-bundle-visualizer -c vite.config.ts"
|
|
52
54
|
}
|
package/LICENSE
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
https://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
Copyright 2019 Scaleway.
|
|
180
|
-
|
|
181
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
-
you may not use this file except in compliance with the License.
|
|
183
|
-
You may obtain a copy of the License at
|
|
184
|
-
|
|
185
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
-
|
|
187
|
-
Unless required by applicable law or agreed to in writing, software
|
|
188
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
-
See the License for the specific language governing permissions and
|
|
191
|
-
limitations under the License.
|
package/dist/metadata.gen.json
DELETED