@scaleway/sdk-jobs 2.4.0 → 2.4.1
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/_virtual/_rolldown/runtime.js +2 -0
- package/dist/v1alpha1/api.gen.js +5 -3
- package/dist/v1alpha1/content.gen.js +3 -1
- package/dist/v1alpha1/index.gen.js +3 -1
- package/dist/v1alpha1/marshalling.gen.js +17 -15
- package/dist/v1alpha1/types.gen.js +0 -0
- package/dist/v1alpha1/validation-rules.gen.js +13 -11
- package/dist/v1alpha2/api.gen.js +5 -3
- package/dist/v1alpha2/content.gen.js +3 -1
- package/dist/v1alpha2/index.gen.js +3 -1
- package/dist/v1alpha2/marshalling.gen.js +21 -19
- package/dist/v1alpha2/types.gen.js +0 -0
- package/dist/v1alpha2/validation-rules.gen.js +19 -17
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __exportAll = (all, no_symbols) => {
|
|
3
4
|
let target = {};
|
|
@@ -8,4 +9,5 @@ var __exportAll = (all, no_symbols) => {
|
|
|
8
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
9
10
|
return target;
|
|
10
11
|
};
|
|
12
|
+
//#endregion
|
|
11
13
|
export { __exportAll };
|
package/dist/v1alpha1/api.gen.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { marshalCreateJobDefinitionRequest, marshalCreateJobDefinitionSecretsRequest, marshalStartJobDefinitionRequest, marshalUpdateJobDefinitionRequest, marshalUpdateJobDefinitionSecretRequest, unmarshalCreateJobDefinitionSecretsResponse, unmarshalJobDefinition, unmarshalJobRun, unmarshalJobsLimits, unmarshalListJobDefinitionSecretsResponse, unmarshalListJobDefinitionsResponse, unmarshalListJobRunsResponse, unmarshalListJobsResourcesResponse, unmarshalSecret, unmarshalStartJobDefinitionResponse } from "./marshalling.gen.js";
|
|
2
|
-
import { API, enrichForPagination, toApiLocality, urlParams, validatePathParam } from "@scaleway/sdk-client";
|
|
2
|
+
import { API as API$1, enrichForPagination, toApiLocality, urlParams, validatePathParam } from "@scaleway/sdk-client";
|
|
3
|
+
//#region src/v1alpha1/api.gen.ts
|
|
3
4
|
var jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
4
5
|
/**
|
|
5
6
|
* Serverless Jobs API.
|
|
6
7
|
|
|
7
8
|
This API allows you to manage your Serverless Jobs.
|
|
8
9
|
*/
|
|
9
|
-
var API
|
|
10
|
+
var API = class extends API$1 {
|
|
10
11
|
/**
|
|
11
12
|
* Locality of this API.
|
|
12
13
|
* type ∈ {'zone','region','global','unspecified'}
|
|
@@ -191,4 +192,5 @@ var API$1 = class extends API {
|
|
|
191
192
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/jobs-limits`
|
|
192
193
|
}, unmarshalJobsLimits);
|
|
193
194
|
};
|
|
194
|
-
|
|
195
|
+
//#endregion
|
|
196
|
+
export { API };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
//#region src/v1alpha1/content.gen.ts
|
|
1
2
|
/** Lists transient statutes of the enum {@link JobRunState}. */
|
|
2
|
-
|
|
3
|
+
var JOB_RUN_TRANSIENT_STATUSES = [
|
|
3
4
|
"queued",
|
|
4
5
|
"scheduled",
|
|
5
6
|
"running"
|
|
6
7
|
];
|
|
8
|
+
//#endregion
|
|
7
9
|
export { JOB_RUN_TRANSIENT_STATUSES };
|
|
@@ -3,6 +3,7 @@ import { marshalCreateJobDefinitionRequest, marshalCreateJobDefinitionSecretsReq
|
|
|
3
3
|
import { API } from "./api.gen.js";
|
|
4
4
|
import { JOB_RUN_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
5
5
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
//#region src/v1alpha1/index.gen.ts
|
|
6
7
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
8
|
API: () => API,
|
|
8
9
|
JOB_RUN_TRANSIENT_STATUSES: () => JOB_RUN_TRANSIENT_STATUSES,
|
|
@@ -23,4 +24,5 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
23
24
|
unmarshalSecret: () => unmarshalSecret,
|
|
24
25
|
unmarshalStartJobDefinitionResponse: () => unmarshalStartJobDefinitionResponse
|
|
25
26
|
});
|
|
26
|
-
|
|
27
|
+
//#endregion
|
|
28
|
+
export { API, JOB_RUN_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateJobDefinitionRequest, marshalCreateJobDefinitionSecretsRequest, marshalStartJobDefinitionRequest, marshalUpdateJobDefinitionRequest, marshalUpdateJobDefinitionSecretRequest, unmarshalCreateJobDefinitionSecretsResponse, unmarshalJobDefinition, unmarshalJobRun, unmarshalJobsLimits, unmarshalListJobDefinitionSecretsResponse, unmarshalListJobDefinitionsResponse, unmarshalListJobRunsResponse, unmarshalListJobsResourcesResponse, unmarshalSecret, unmarshalStartJobDefinitionResponse };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
2
2
|
import randomName from "@scaleway/random-name";
|
|
3
|
+
//#region src/v1alpha1/marshalling.gen.ts
|
|
3
4
|
var unmarshalSecretEnvVar = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SecretEnvVar' failed as data isn't a dictionary.`);
|
|
5
6
|
return { name: data.name };
|
|
@@ -8,7 +9,7 @@ var unmarshalSecretFile = (data) => {
|
|
|
8
9
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SecretFile' failed as data isn't a dictionary.`);
|
|
9
10
|
return { path: data.path };
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
var unmarshalSecret = (data) => {
|
|
12
13
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Secret' failed as data isn't a dictionary.`);
|
|
13
14
|
return {
|
|
14
15
|
envVar: data.env_var ? unmarshalSecretEnvVar(data.env_var) : void 0,
|
|
@@ -25,7 +26,7 @@ var unmarshalCronSchedule = (data) => {
|
|
|
25
26
|
timezone: data.timezone
|
|
26
27
|
};
|
|
27
28
|
};
|
|
28
|
-
|
|
29
|
+
var unmarshalJobDefinition = (data) => {
|
|
29
30
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'JobDefinition' failed as data isn't a dictionary.`);
|
|
30
31
|
return {
|
|
31
32
|
command: data.command,
|
|
@@ -45,7 +46,7 @@ const unmarshalJobDefinition = (data) => {
|
|
|
45
46
|
updatedAt: unmarshalDate(data.updated_at)
|
|
46
47
|
};
|
|
47
48
|
};
|
|
48
|
-
|
|
49
|
+
var unmarshalJobRun = (data) => {
|
|
49
50
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'JobRun' failed as data isn't a dictionary.`);
|
|
50
51
|
return {
|
|
51
52
|
command: data.command,
|
|
@@ -66,29 +67,29 @@ const unmarshalJobRun = (data) => {
|
|
|
66
67
|
updatedAt: unmarshalDate(data.updated_at)
|
|
67
68
|
};
|
|
68
69
|
};
|
|
69
|
-
|
|
70
|
+
var unmarshalCreateJobDefinitionSecretsResponse = (data) => {
|
|
70
71
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CreateJobDefinitionSecretsResponse' failed as data isn't a dictionary.`);
|
|
71
72
|
return { secrets: unmarshalArrayOfObject(data.secrets, unmarshalSecret) };
|
|
72
73
|
};
|
|
73
|
-
|
|
74
|
+
var unmarshalJobsLimits = (data) => {
|
|
74
75
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'JobsLimits' failed as data isn't a dictionary.`);
|
|
75
76
|
return { secretsPerJobDefinition: data.secrets_per_job_definition };
|
|
76
77
|
};
|
|
77
|
-
|
|
78
|
+
var unmarshalListJobDefinitionSecretsResponse = (data) => {
|
|
78
79
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobDefinitionSecretsResponse' failed as data isn't a dictionary.`);
|
|
79
80
|
return {
|
|
80
81
|
secrets: unmarshalArrayOfObject(data.secrets, unmarshalSecret),
|
|
81
82
|
totalCount: data.total_count
|
|
82
83
|
};
|
|
83
84
|
};
|
|
84
|
-
|
|
85
|
+
var unmarshalListJobDefinitionsResponse = (data) => {
|
|
85
86
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobDefinitionsResponse' failed as data isn't a dictionary.`);
|
|
86
87
|
return {
|
|
87
88
|
jobDefinitions: unmarshalArrayOfObject(data.job_definitions, unmarshalJobDefinition),
|
|
88
89
|
totalCount: data.total_count
|
|
89
90
|
};
|
|
90
91
|
};
|
|
91
|
-
|
|
92
|
+
var unmarshalListJobRunsResponse = (data) => {
|
|
92
93
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobRunsResponse' failed as data isn't a dictionary.`);
|
|
93
94
|
return {
|
|
94
95
|
jobRuns: unmarshalArrayOfObject(data.job_runs, unmarshalJobRun),
|
|
@@ -102,11 +103,11 @@ var unmarshalResource = (data) => {
|
|
|
102
103
|
memoryLimit: data.memory_limit
|
|
103
104
|
};
|
|
104
105
|
};
|
|
105
|
-
|
|
106
|
+
var unmarshalListJobsResourcesResponse = (data) => {
|
|
106
107
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobsResourcesResponse' failed as data isn't a dictionary.`);
|
|
107
108
|
return { resources: unmarshalArrayOfObject(data.resources, unmarshalResource) };
|
|
108
109
|
};
|
|
109
|
-
|
|
110
|
+
var unmarshalStartJobDefinitionResponse = (data) => {
|
|
110
111
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'StartJobDefinitionResponse' failed as data isn't a dictionary.`);
|
|
111
112
|
return { jobRuns: unmarshalArrayOfObject(data.job_runs, unmarshalJobRun) };
|
|
112
113
|
};
|
|
@@ -114,7 +115,7 @@ var marshalCreateJobDefinitionRequestCronScheduleConfig = (request, defaults) =>
|
|
|
114
115
|
schedule: request.schedule,
|
|
115
116
|
timezone: request.timezone
|
|
116
117
|
});
|
|
117
|
-
|
|
118
|
+
var marshalCreateJobDefinitionRequest = (request, defaults) => ({
|
|
118
119
|
command: request.command,
|
|
119
120
|
cpu_limit: request.cpuLimit,
|
|
120
121
|
cron_schedule: request.cronSchedule !== void 0 ? marshalCreateJobDefinitionRequestCronScheduleConfig(request.cronSchedule, defaults) : void 0,
|
|
@@ -138,8 +139,8 @@ var marshalCreateJobDefinitionSecretsRequestSecretConfig = (request, defaults) =
|
|
|
138
139
|
value: request.envVarName
|
|
139
140
|
}])
|
|
140
141
|
});
|
|
141
|
-
|
|
142
|
-
|
|
142
|
+
var marshalCreateJobDefinitionSecretsRequest = (request, defaults) => ({ secrets: request.secrets.map((elt) => marshalCreateJobDefinitionSecretsRequestSecretConfig(elt, defaults)) });
|
|
143
|
+
var marshalStartJobDefinitionRequest = (request, defaults) => ({
|
|
143
144
|
command: request.command,
|
|
144
145
|
environment_variables: request.environmentVariables,
|
|
145
146
|
replicas: request.replicas
|
|
@@ -148,7 +149,7 @@ var marshalUpdateJobDefinitionRequestCronScheduleConfig = (request, defaults) =>
|
|
|
148
149
|
schedule: request.schedule,
|
|
149
150
|
timezone: request.timezone
|
|
150
151
|
});
|
|
151
|
-
|
|
152
|
+
var marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
152
153
|
command: request.command,
|
|
153
154
|
cpu_limit: request.cpuLimit,
|
|
154
155
|
cron_schedule: request.cronSchedule !== void 0 ? marshalUpdateJobDefinitionRequestCronScheduleConfig(request.cronSchedule, defaults) : void 0,
|
|
@@ -160,7 +161,7 @@ const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
|
160
161
|
memory_limit: request.memoryLimit,
|
|
161
162
|
name: request.name
|
|
162
163
|
});
|
|
163
|
-
|
|
164
|
+
var marshalUpdateJobDefinitionSecretRequest = (request, defaults) => ({
|
|
164
165
|
secret_manager_version: request.secretManagerVersion,
|
|
165
166
|
...resolveOneOf([{
|
|
166
167
|
param: "path",
|
|
@@ -170,4 +171,5 @@ const marshalUpdateJobDefinitionSecretRequest = (request, defaults) => ({
|
|
|
170
171
|
value: request.envVarName
|
|
171
172
|
}])
|
|
172
173
|
});
|
|
174
|
+
//#endregion
|
|
173
175
|
export { marshalCreateJobDefinitionRequest, marshalCreateJobDefinitionSecretsRequest, marshalStartJobDefinitionRequest, marshalUpdateJobDefinitionRequest, marshalUpdateJobDefinitionSecretRequest, unmarshalCreateJobDefinitionSecretsResponse, unmarshalJobDefinition, unmarshalJobRun, unmarshalJobsLimits, unmarshalListJobDefinitionSecretsResponse, unmarshalListJobDefinitionsResponse, unmarshalListJobRunsResponse, unmarshalListJobsResourcesResponse, unmarshalSecret, unmarshalStartJobDefinitionResponse };
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region src/v1alpha1/validation-rules.gen.ts
|
|
2
3
|
var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
3
4
|
CreateJobDefinitionRequest: () => CreateJobDefinitionRequest,
|
|
4
5
|
CreateJobDefinitionRequestCronScheduleConfig: () => CreateJobDefinitionRequestCronScheduleConfig,
|
|
@@ -11,7 +12,7 @@ var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
11
12
|
UpdateJobDefinitionRequestCronScheduleConfig: () => UpdateJobDefinitionRequestCronScheduleConfig,
|
|
12
13
|
UpdateJobDefinitionSecretRequest: () => UpdateJobDefinitionSecretRequest
|
|
13
14
|
});
|
|
14
|
-
|
|
15
|
+
var CreateJobDefinitionRequest = {
|
|
15
16
|
cpuLimit: { greaterThan: 0 },
|
|
16
17
|
description: { maxLength: 255 },
|
|
17
18
|
imageUri: { pattern: /^((?:(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])(?:\.(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]))*|\[(?:[a-fA-F0-9:]+)\])(?::[0-9]+)?\/)?[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*(?:\/[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*)*)(?::(\w[A-Za-z0-9_.-]{0,127}))?(?:@([A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}))?$/ },
|
|
@@ -19,7 +20,7 @@ const CreateJobDefinitionRequest = {
|
|
|
19
20
|
memoryLimit: { greaterThan: 0 },
|
|
20
21
|
name: { pattern: /^[A-Za-z0-9-_]{3,50}$/ }
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
+
var CreateJobDefinitionRequestCronScheduleConfig = {
|
|
23
24
|
schedule: {
|
|
24
25
|
maxLength: 255,
|
|
25
26
|
minLength: 1
|
|
@@ -29,8 +30,8 @@ const CreateJobDefinitionRequestCronScheduleConfig = {
|
|
|
29
30
|
minLength: 1
|
|
30
31
|
}
|
|
31
32
|
};
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
var CreateJobDefinitionSecretsRequestSecretConfig = { secretManagerVersion: { minLength: 1 } };
|
|
34
|
+
var CronSchedule = {
|
|
34
35
|
schedule: {
|
|
35
36
|
maxLength: 255,
|
|
36
37
|
minLength: 1
|
|
@@ -40,22 +41,22 @@ const CronSchedule = {
|
|
|
40
41
|
minLength: 1
|
|
41
42
|
}
|
|
42
43
|
};
|
|
43
|
-
|
|
44
|
+
var ListJobDefinitionsRequest = {
|
|
44
45
|
page: { greaterThanOrEqual: 1 },
|
|
45
46
|
pageSize: {
|
|
46
47
|
greaterThanOrEqual: 1,
|
|
47
48
|
lessThanOrEqual: 1e3
|
|
48
49
|
}
|
|
49
50
|
};
|
|
50
|
-
|
|
51
|
+
var ListJobRunsRequest = {
|
|
51
52
|
page: { greaterThanOrEqual: 1 },
|
|
52
53
|
pageSize: {
|
|
53
54
|
greaterThanOrEqual: 1,
|
|
54
55
|
lessThanOrEqual: 1e3
|
|
55
56
|
}
|
|
56
57
|
};
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
var StartJobDefinitionRequest = { replicas: { greaterThan: 0 } };
|
|
59
|
+
var UpdateJobDefinitionRequest = {
|
|
59
60
|
cpuLimit: { greaterThan: 0 },
|
|
60
61
|
description: { maxLength: 255 },
|
|
61
62
|
imageUri: { pattern: /^((?:(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])(?:\.(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]))*|\[(?:[a-fA-F0-9:]+)\])(?::[0-9]+)?\/)?[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*(?:\/[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*)*)(?::(\w[A-Za-z0-9_.-]{0,127}))?(?:@([A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}))?$/ },
|
|
@@ -63,7 +64,7 @@ const UpdateJobDefinitionRequest = {
|
|
|
63
64
|
memoryLimit: { greaterThan: 0 },
|
|
64
65
|
name: { pattern: /^[A-Za-z0-9-_]{3,50}$/ }
|
|
65
66
|
};
|
|
66
|
-
|
|
67
|
+
var UpdateJobDefinitionRequestCronScheduleConfig = {
|
|
67
68
|
schedule: {
|
|
68
69
|
maxLength: 255,
|
|
69
70
|
minLength: 1
|
|
@@ -73,5 +74,6 @@ const UpdateJobDefinitionRequestCronScheduleConfig = {
|
|
|
73
74
|
minLength: 1
|
|
74
75
|
}
|
|
75
76
|
};
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
var UpdateJobDefinitionSecretRequest = { secretManagerVersion: { minLength: 1 } };
|
|
78
|
+
//#endregion
|
|
79
|
+
export { CreateJobDefinitionRequest, CreateJobDefinitionRequestCronScheduleConfig, CreateJobDefinitionSecretsRequestSecretConfig, CronSchedule, ListJobDefinitionsRequest, ListJobRunsRequest, StartJobDefinitionRequest, UpdateJobDefinitionRequest, UpdateJobDefinitionRequestCronScheduleConfig, UpdateJobDefinitionSecretRequest, validation_rules_gen_exports };
|
package/dist/v1alpha2/api.gen.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { marshalCreateJobDefinitionRequest, marshalCreateSecretsRequest, marshalCreateTriggerRequest, marshalStartJobDefinitionRequest, marshalUpdateJobDefinitionRequest, marshalUpdateSecretRequest, marshalUpdateTriggerRequest, unmarshalCreateSecretsResponse, unmarshalJobDefinition, unmarshalJobLimits, unmarshalJobRun, unmarshalListJobDefinitionsResponse, unmarshalListJobResourcesResponse, unmarshalListJobRunsResponse, unmarshalListSecretsResponse, unmarshalListTriggersResponse, unmarshalSecret, unmarshalStartJobDefinitionResponse, unmarshalTrigger } from "./marshalling.gen.js";
|
|
2
|
-
import { API, enrichForPagination, toApiLocality, urlParams, validatePathParam } from "@scaleway/sdk-client";
|
|
2
|
+
import { API as API$1, enrichForPagination, toApiLocality, urlParams, validatePathParam } from "@scaleway/sdk-client";
|
|
3
|
+
//#region src/v1alpha2/api.gen.ts
|
|
3
4
|
var jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
4
5
|
/**
|
|
5
6
|
* Serverless Jobs API.
|
|
6
7
|
|
|
7
8
|
This API allows you to manage your Serverless Jobs.
|
|
8
9
|
*/
|
|
9
|
-
var API
|
|
10
|
+
var API = class extends API$1 {
|
|
10
11
|
/**
|
|
11
12
|
* Locality of this API.
|
|
12
13
|
* type ∈ {'zone','region','global','unspecified'}
|
|
@@ -247,4 +248,5 @@ var API$1 = class extends API {
|
|
|
247
248
|
path: `/serverless-jobs/v1alpha2/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/job-limits`
|
|
248
249
|
}, unmarshalJobLimits);
|
|
249
250
|
};
|
|
250
|
-
|
|
251
|
+
//#endregion
|
|
252
|
+
export { API };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
//#region src/v1alpha2/content.gen.ts
|
|
1
2
|
/** Lists transient statutes of the enum {@link JobRunState}. */
|
|
2
|
-
|
|
3
|
+
var JOB_RUN_TRANSIENT_STATUSES = [
|
|
3
4
|
"initialized",
|
|
4
5
|
"validated",
|
|
5
6
|
"queued",
|
|
@@ -7,4 +8,5 @@ const JOB_RUN_TRANSIENT_STATUSES = [
|
|
|
7
8
|
"interrupting",
|
|
8
9
|
"retrying"
|
|
9
10
|
];
|
|
11
|
+
//#endregion
|
|
10
12
|
export { JOB_RUN_TRANSIENT_STATUSES };
|
|
@@ -3,6 +3,7 @@ import { marshalCreateJobDefinitionRequest, marshalCreateSecretsRequest, marshal
|
|
|
3
3
|
import { API } from "./api.gen.js";
|
|
4
4
|
import { JOB_RUN_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
5
5
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
//#region src/v1alpha2/index.gen.ts
|
|
6
7
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
8
|
API: () => API,
|
|
8
9
|
JOB_RUN_TRANSIENT_STATUSES: () => JOB_RUN_TRANSIENT_STATUSES,
|
|
@@ -27,4 +28,5 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
27
28
|
unmarshalStartJobDefinitionResponse: () => unmarshalStartJobDefinitionResponse,
|
|
28
29
|
unmarshalTrigger: () => unmarshalTrigger
|
|
29
30
|
});
|
|
30
|
-
|
|
31
|
+
//#endregion
|
|
32
|
+
export { API, JOB_RUN_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateJobDefinitionRequest, marshalCreateSecretsRequest, marshalCreateTriggerRequest, marshalStartJobDefinitionRequest, marshalUpdateJobDefinitionRequest, marshalUpdateSecretRequest, marshalUpdateTriggerRequest, unmarshalCreateSecretsResponse, unmarshalJobDefinition, unmarshalJobLimits, unmarshalJobRun, unmarshalListJobDefinitionsResponse, unmarshalListJobResourcesResponse, unmarshalListJobRunsResponse, unmarshalListSecretsResponse, unmarshalListTriggersResponse, unmarshalSecret, unmarshalStartJobDefinitionResponse, unmarshalTrigger };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
2
2
|
import randomName from "@scaleway/random-name";
|
|
3
|
+
//#region src/v1alpha2/marshalling.gen.ts
|
|
3
4
|
var unmarshalSecretEnvVar = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SecretEnvVar' failed as data isn't a dictionary.`);
|
|
5
6
|
return { name: data.name };
|
|
@@ -8,7 +9,7 @@ var unmarshalSecretFile = (data) => {
|
|
|
8
9
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SecretFile' failed as data isn't a dictionary.`);
|
|
9
10
|
return { path: data.path };
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
var unmarshalSecret = (data) => {
|
|
12
13
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Secret' failed as data isn't a dictionary.`);
|
|
13
14
|
return {
|
|
14
15
|
envVar: data.env_var ? unmarshalSecretEnvVar(data.env_var) : void 0,
|
|
@@ -30,7 +31,7 @@ var unmarshalRetryPolicy = (data) => {
|
|
|
30
31
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RetryPolicy' failed as data isn't a dictionary.`);
|
|
31
32
|
return { maxRetries: data.max_retries };
|
|
32
33
|
};
|
|
33
|
-
|
|
34
|
+
var unmarshalJobDefinition = (data) => {
|
|
34
35
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'JobDefinition' failed as data isn't a dictionary.`);
|
|
35
36
|
return {
|
|
36
37
|
args: data.args,
|
|
@@ -53,7 +54,7 @@ const unmarshalJobDefinition = (data) => {
|
|
|
53
54
|
updatedAt: unmarshalDate(data.updated_at)
|
|
54
55
|
};
|
|
55
56
|
};
|
|
56
|
-
|
|
57
|
+
var unmarshalJobRun = (data) => {
|
|
57
58
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'JobRun' failed as data isn't a dictionary.`);
|
|
58
59
|
return {
|
|
59
60
|
args: data.args,
|
|
@@ -87,7 +88,7 @@ var unmarshalTriggerCronConfig = (data) => {
|
|
|
87
88
|
timezone: data.timezone
|
|
88
89
|
};
|
|
89
90
|
};
|
|
90
|
-
|
|
91
|
+
var unmarshalTrigger = (data) => {
|
|
91
92
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Trigger' failed as data isn't a dictionary.`);
|
|
92
93
|
return {
|
|
93
94
|
createdAt: unmarshalDate(data.created_at),
|
|
@@ -98,15 +99,15 @@ const unmarshalTrigger = (data) => {
|
|
|
98
99
|
updatedAt: unmarshalDate(data.updated_at)
|
|
99
100
|
};
|
|
100
101
|
};
|
|
101
|
-
|
|
102
|
+
var unmarshalCreateSecretsResponse = (data) => {
|
|
102
103
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CreateSecretsResponse' failed as data isn't a dictionary.`);
|
|
103
104
|
return { secrets: unmarshalArrayOfObject(data.secrets, unmarshalSecret) };
|
|
104
105
|
};
|
|
105
|
-
|
|
106
|
+
var unmarshalJobLimits = (data) => {
|
|
106
107
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'JobLimits' failed as data isn't a dictionary.`);
|
|
107
108
|
return { secretsPerJobDefinition: data.secrets_per_job_definition };
|
|
108
109
|
};
|
|
109
|
-
|
|
110
|
+
var unmarshalListJobDefinitionsResponse = (data) => {
|
|
110
111
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobDefinitionsResponse' failed as data isn't a dictionary.`);
|
|
111
112
|
return {
|
|
112
113
|
jobDefinitions: unmarshalArrayOfObject(data.job_definitions, unmarshalJobDefinition),
|
|
@@ -120,32 +121,32 @@ var unmarshalResource = (data) => {
|
|
|
120
121
|
memoryLimitBytes: data.memory_limit_bytes
|
|
121
122
|
};
|
|
122
123
|
};
|
|
123
|
-
|
|
124
|
+
var unmarshalListJobResourcesResponse = (data) => {
|
|
124
125
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobResourcesResponse' failed as data isn't a dictionary.`);
|
|
125
126
|
return { resources: unmarshalArrayOfObject(data.resources, unmarshalResource) };
|
|
126
127
|
};
|
|
127
|
-
|
|
128
|
+
var unmarshalListJobRunsResponse = (data) => {
|
|
128
129
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListJobRunsResponse' failed as data isn't a dictionary.`);
|
|
129
130
|
return {
|
|
130
131
|
jobRuns: unmarshalArrayOfObject(data.job_runs, unmarshalJobRun),
|
|
131
132
|
totalCount: data.total_count
|
|
132
133
|
};
|
|
133
134
|
};
|
|
134
|
-
|
|
135
|
+
var unmarshalListSecretsResponse = (data) => {
|
|
135
136
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListSecretsResponse' failed as data isn't a dictionary.`);
|
|
136
137
|
return {
|
|
137
138
|
secrets: unmarshalArrayOfObject(data.secrets, unmarshalSecret),
|
|
138
139
|
totalCount: data.total_count
|
|
139
140
|
};
|
|
140
141
|
};
|
|
141
|
-
|
|
142
|
+
var unmarshalListTriggersResponse = (data) => {
|
|
142
143
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTriggersResponse' failed as data isn't a dictionary.`);
|
|
143
144
|
return {
|
|
144
145
|
totalCount: data.total_count,
|
|
145
146
|
triggers: unmarshalArrayOfObject(data.triggers, unmarshalTrigger)
|
|
146
147
|
};
|
|
147
148
|
};
|
|
148
|
-
|
|
149
|
+
var unmarshalStartJobDefinitionResponse = (data) => {
|
|
149
150
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'StartJobDefinitionResponse' failed as data isn't a dictionary.`);
|
|
150
151
|
return { jobRuns: unmarshalArrayOfObject(data.job_runs, unmarshalJobRun) };
|
|
151
152
|
};
|
|
@@ -154,7 +155,7 @@ var marshalCreateJobDefinitionRequestCronScheduleConfig = (request, defaults) =>
|
|
|
154
155
|
timezone: request.timezone
|
|
155
156
|
});
|
|
156
157
|
var marshalRetryPolicy = (request, defaults) => ({ max_retries: request.maxRetries });
|
|
157
|
-
|
|
158
|
+
var marshalCreateJobDefinitionRequest = (request, defaults) => ({
|
|
158
159
|
args: request.args,
|
|
159
160
|
command: request.command,
|
|
160
161
|
cpu_limit: request.cpuLimit,
|
|
@@ -181,7 +182,7 @@ var marshalCreateSecretsRequestSecretConfig = (request, defaults) => ({
|
|
|
181
182
|
value: request.envVarName
|
|
182
183
|
}])
|
|
183
184
|
});
|
|
184
|
-
|
|
185
|
+
var marshalCreateSecretsRequest = (request, defaults) => ({
|
|
185
186
|
job_definition_id: request.jobDefinitionId,
|
|
186
187
|
secrets: request.secrets.map((elt) => marshalCreateSecretsRequestSecretConfig(elt, defaults))
|
|
187
188
|
});
|
|
@@ -191,7 +192,7 @@ var marshalCreateTriggerRequestCronConfig = (request, defaults) => ({
|
|
|
191
192
|
startup_command: request.startupCommand,
|
|
192
193
|
timezone: request.timezone
|
|
193
194
|
});
|
|
194
|
-
|
|
195
|
+
var marshalCreateTriggerRequest = (request, defaults) => ({
|
|
195
196
|
job_definition_id: request.jobDefinitionId,
|
|
196
197
|
name: request.name,
|
|
197
198
|
...resolveOneOf([{
|
|
@@ -199,7 +200,7 @@ const marshalCreateTriggerRequest = (request, defaults) => ({
|
|
|
199
200
|
value: request.cronConfig !== void 0 ? marshalCreateTriggerRequestCronConfig(request.cronConfig, defaults) : void 0
|
|
200
201
|
}])
|
|
201
202
|
});
|
|
202
|
-
|
|
203
|
+
var marshalStartJobDefinitionRequest = (request, defaults) => ({
|
|
203
204
|
args: request.args,
|
|
204
205
|
command: request.command,
|
|
205
206
|
environment_variables: request.environmentVariables,
|
|
@@ -210,7 +211,7 @@ var marshalUpdateJobDefinitionRequestCronScheduleConfig = (request, defaults) =>
|
|
|
210
211
|
schedule: request.schedule,
|
|
211
212
|
timezone: request.timezone
|
|
212
213
|
});
|
|
213
|
-
|
|
214
|
+
var marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
214
215
|
args: request.args,
|
|
215
216
|
command: request.command,
|
|
216
217
|
cpu_limit: request.cpuLimit,
|
|
@@ -225,7 +226,7 @@ const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
|
225
226
|
retry_policy: request.retryPolicy !== void 0 ? marshalRetryPolicy(request.retryPolicy, defaults) : void 0,
|
|
226
227
|
startup_command: request.startupCommand
|
|
227
228
|
});
|
|
228
|
-
|
|
229
|
+
var marshalUpdateSecretRequest = (request, defaults) => ({
|
|
229
230
|
secret_manager_version: request.secretManagerVersion,
|
|
230
231
|
...resolveOneOf([{
|
|
231
232
|
param: "path",
|
|
@@ -241,11 +242,12 @@ var marshalUpdateTriggerRequestCronConfig = (request, defaults) => ({
|
|
|
241
242
|
startup_command: request.startupCommand,
|
|
242
243
|
timezone: request.timezone
|
|
243
244
|
});
|
|
244
|
-
|
|
245
|
+
var marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
245
246
|
name: request.name,
|
|
246
247
|
...resolveOneOf([{
|
|
247
248
|
param: "cron_config",
|
|
248
249
|
value: request.cronConfig !== void 0 ? marshalUpdateTriggerRequestCronConfig(request.cronConfig, defaults) : void 0
|
|
249
250
|
}])
|
|
250
251
|
});
|
|
252
|
+
//#endregion
|
|
251
253
|
export { marshalCreateJobDefinitionRequest, marshalCreateSecretsRequest, marshalCreateTriggerRequest, marshalStartJobDefinitionRequest, marshalUpdateJobDefinitionRequest, marshalUpdateSecretRequest, marshalUpdateTriggerRequest, unmarshalCreateSecretsResponse, unmarshalJobDefinition, unmarshalJobLimits, unmarshalJobRun, unmarshalListJobDefinitionsResponse, unmarshalListJobResourcesResponse, unmarshalListJobRunsResponse, unmarshalListSecretsResponse, unmarshalListTriggersResponse, unmarshalSecret, unmarshalStartJobDefinitionResponse, unmarshalTrigger };
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region src/v1alpha2/validation-rules.gen.ts
|
|
2
3
|
var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
3
4
|
CreateJobDefinitionRequest: () => CreateJobDefinitionRequest,
|
|
4
5
|
CreateJobDefinitionRequestCronScheduleConfig: () => CreateJobDefinitionRequestCronScheduleConfig,
|
|
@@ -17,7 +18,7 @@ var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
17
18
|
UpdateTriggerRequest: () => UpdateTriggerRequest,
|
|
18
19
|
UpdateTriggerRequestCronConfig: () => UpdateTriggerRequestCronConfig
|
|
19
20
|
});
|
|
20
|
-
|
|
21
|
+
var CreateJobDefinitionRequest = {
|
|
21
22
|
cpuLimit: { greaterThan: 0 },
|
|
22
23
|
description: { maxLength: 255 },
|
|
23
24
|
imageUri: { pattern: /^((?:(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])(?:\.(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]))*|\[(?:[a-fA-F0-9:]+)\])(?::[0-9]+)?\/)?[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*(?:\/[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*)*)(?::(\w[A-Za-z0-9_.-]{0,127}))?(?:@([A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}))?$/ },
|
|
@@ -25,7 +26,7 @@ const CreateJobDefinitionRequest = {
|
|
|
25
26
|
memoryLimit: { greaterThan: 0 },
|
|
26
27
|
name: { pattern: /^[A-Za-z0-9-_]{3,50}$/ }
|
|
27
28
|
};
|
|
28
|
-
|
|
29
|
+
var CreateJobDefinitionRequestCronScheduleConfig = {
|
|
29
30
|
schedule: {
|
|
30
31
|
maxLength: 255,
|
|
31
32
|
minLength: 1
|
|
@@ -35,13 +36,13 @@ const CreateJobDefinitionRequestCronScheduleConfig = {
|
|
|
35
36
|
minLength: 1
|
|
36
37
|
}
|
|
37
38
|
};
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
var CreateSecretsRequestSecretConfig = { secretManagerVersion: { minLength: 1 } };
|
|
40
|
+
var CreateTriggerRequest = { name: {
|
|
40
41
|
maxLength: 50,
|
|
41
42
|
minLength: 1,
|
|
42
43
|
pattern: /^[A-Za-z0-9-_]*$/
|
|
43
44
|
} };
|
|
44
|
-
|
|
45
|
+
var CreateTriggerRequestCronConfig = {
|
|
45
46
|
schedule: {
|
|
46
47
|
maxLength: 255,
|
|
47
48
|
minLength: 1
|
|
@@ -51,7 +52,7 @@ const CreateTriggerRequestCronConfig = {
|
|
|
51
52
|
minLength: 1
|
|
52
53
|
}
|
|
53
54
|
};
|
|
54
|
-
|
|
55
|
+
var CronSchedule = {
|
|
55
56
|
schedule: {
|
|
56
57
|
maxLength: 255,
|
|
57
58
|
minLength: 1
|
|
@@ -61,30 +62,30 @@ const CronSchedule = {
|
|
|
61
62
|
minLength: 1
|
|
62
63
|
}
|
|
63
64
|
};
|
|
64
|
-
|
|
65
|
+
var ListJobDefinitionsRequest = {
|
|
65
66
|
page: { greaterThanOrEqual: 1 },
|
|
66
67
|
pageSize: {
|
|
67
68
|
greaterThanOrEqual: 1,
|
|
68
69
|
lessThanOrEqual: 1e3
|
|
69
70
|
}
|
|
70
71
|
};
|
|
71
|
-
|
|
72
|
+
var ListJobRunsRequest = {
|
|
72
73
|
page: { greaterThanOrEqual: 1 },
|
|
73
74
|
pageSize: {
|
|
74
75
|
greaterThanOrEqual: 1,
|
|
75
76
|
lessThanOrEqual: 1e3
|
|
76
77
|
}
|
|
77
78
|
};
|
|
78
|
-
|
|
79
|
+
var ListTriggersRequest = {
|
|
79
80
|
page: { greaterThanOrEqual: 1 },
|
|
80
81
|
pageSize: {
|
|
81
82
|
greaterThanOrEqual: 1,
|
|
82
83
|
lessThanOrEqual: 1e3
|
|
83
84
|
}
|
|
84
85
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
var RetryPolicy = { maxRetries: { lessThanOrEqual: 5 } };
|
|
87
|
+
var StartJobDefinitionRequest = { replicas: { greaterThan: 0 } };
|
|
88
|
+
var UpdateJobDefinitionRequest = {
|
|
88
89
|
cpuLimit: { greaterThan: 0 },
|
|
89
90
|
description: { maxLength: 255 },
|
|
90
91
|
imageUri: { pattern: /^((?:(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])(?:\.(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]))*|\[(?:[a-fA-F0-9:]+)\])(?::[0-9]+)?\/)?[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*(?:\/[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*)*)(?::(\w[A-Za-z0-9_.-]{0,127}))?(?:@([A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}))?$/ },
|
|
@@ -92,7 +93,7 @@ const UpdateJobDefinitionRequest = {
|
|
|
92
93
|
memoryLimit: { greaterThan: 0 },
|
|
93
94
|
name: { pattern: /^[A-Za-z0-9-_]{3,50}$/ }
|
|
94
95
|
};
|
|
95
|
-
|
|
96
|
+
var UpdateJobDefinitionRequestCronScheduleConfig = {
|
|
96
97
|
schedule: {
|
|
97
98
|
maxLength: 255,
|
|
98
99
|
minLength: 1
|
|
@@ -102,13 +103,13 @@ const UpdateJobDefinitionRequestCronScheduleConfig = {
|
|
|
102
103
|
minLength: 1
|
|
103
104
|
}
|
|
104
105
|
};
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
var UpdateSecretRequest = { secretManagerVersion: { minLength: 1 } };
|
|
107
|
+
var UpdateTriggerRequest = { name: {
|
|
107
108
|
maxLength: 50,
|
|
108
109
|
minLength: 1,
|
|
109
110
|
pattern: /^[A-Za-z0-9-_]*$/
|
|
110
111
|
} };
|
|
111
|
-
|
|
112
|
+
var UpdateTriggerRequestCronConfig = {
|
|
112
113
|
schedule: {
|
|
113
114
|
maxLength: 255,
|
|
114
115
|
minLength: 1
|
|
@@ -118,4 +119,5 @@ const UpdateTriggerRequestCronConfig = {
|
|
|
118
119
|
minLength: 1
|
|
119
120
|
}
|
|
120
121
|
};
|
|
121
|
-
|
|
122
|
+
//#endregion
|
|
123
|
+
export { CreateJobDefinitionRequest, CreateJobDefinitionRequestCronScheduleConfig, CreateSecretsRequestSecretConfig, CreateTriggerRequest, CreateTriggerRequestCronConfig, CronSchedule, ListJobDefinitionsRequest, ListJobRunsRequest, ListTriggersRequest, RetryPolicy, StartJobDefinitionRequest, UpdateJobDefinitionRequest, UpdateJobDefinitionRequestCronScheduleConfig, UpdateSecretRequest, UpdateTriggerRequest, UpdateTriggerRequestCronConfig, validation_rules_gen_exports };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-jobs",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "Scaleway SDK jobs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"node": ">=20.19.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@scaleway/random-name": "5.1.
|
|
30
|
-
"@scaleway/sdk-std": "2.2.
|
|
29
|
+
"@scaleway/random-name": "5.1.4",
|
|
30
|
+
"@scaleway/sdk-std": "2.2.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@scaleway/sdk-client": "^2.2.
|
|
33
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^2.2.
|
|
36
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"package:check": "pnpm publint",
|