@figulus/schema 0.5.0-alpha-dev-3 → 0.5.0-alpha-dev-4
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/.openapi-meta/generator/generation-mode.ts +41 -0
- package/.openapi-meta/generator/output/cleaned-src-dir.ts +40 -0
- package/{scripts/fix-openapi-3.1.ts → .openapi-meta/generator/output/lib/fix-generated-openapi.ts} +3 -84
- package/.openapi-meta/generator/output/openapi-file.ts +141 -0
- package/.openapi-meta/generator/output/openapi-meta-dir.ts +214 -0
- package/.openapi-meta/generator/output/output-dir.ts +16 -0
- package/.openapi-meta/generator/output/output-file.ts +33 -0
- package/.openapi-meta/generator/src-file.ts +239 -0
- package/.openapi-meta/index.ts +3 -3
- package/dist/core/entities/figspec.d.ts.map +1 -1
- package/dist/core/entities/figspec.js +9 -11
- package/dist/core/entities/figspec.js.map +1 -1
- package/dist/core/entities/figstack.d.ts.map +1 -1
- package/dist/core/entities/figstack.js +12 -14
- package/dist/core/entities/figstack.js.map +1 -1
- package/dist/core/execute.d.ts.map +1 -1
- package/dist/core/execute.js +10 -12
- package/dist/core/execute.js.map +1 -1
- package/dist/core/generic.d.ts.map +1 -1
- package/dist/core/generic.js +11 -13
- package/dist/core/generic.js.map +1 -1
- package/dist/core/primitives.d.ts.map +1 -1
- package/dist/core/primitives.js +1 -7
- package/dist/core/primitives.js.map +1 -1
- package/dist/core/volumes.d.ts.map +1 -1
- package/dist/core/volumes.js +21 -23
- package/dist/core/volumes.js.map +1 -1
- package/dist/engine/deprecated/run-request.d.ts.map +1 -1
- package/dist/engine/deprecated/run-request.js +14 -16
- package/dist/engine/deprecated/run-request.js.map +1 -1
- package/dist/engine/dry-run.d.ts.map +1 -1
- package/dist/engine/dry-run.js +1 -3
- package/dist/engine/dry-run.js.map +1 -1
- package/dist/engine/health.d.ts.map +1 -1
- package/dist/engine/health.js +3 -5
- package/dist/engine/health.js.map +1 -1
- package/dist/engine/images.d.ts.map +1 -1
- package/dist/engine/images.js +17 -19
- package/dist/engine/images.js.map +1 -1
- package/dist/engine/paths/containers.d.ts +410 -7
- package/dist/engine/paths/containers.d.ts.map +1 -1
- package/dist/engine/paths/containers.js +0 -2
- package/dist/engine/paths/containers.js.map +1 -1
- package/dist/engine/paths/dry-run.d.ts +86 -2
- package/dist/engine/paths/dry-run.d.ts.map +1 -1
- package/dist/engine/paths/dry-run.js.map +1 -1
- package/dist/engine/paths/health.d.ts +48 -2
- package/dist/engine/paths/health.d.ts.map +1 -1
- package/dist/engine/paths/health.js.map +1 -1
- package/dist/engine/paths/images.d.ts +170 -4
- package/dist/engine/paths/images.d.ts.map +1 -1
- package/dist/engine/paths/images.js +0 -2
- package/dist/engine/paths/images.js.map +1 -1
- package/dist/engine/paths/sessions.d.ts +728 -9
- package/dist/engine/paths/sessions.d.ts.map +1 -1
- package/dist/engine/paths/sessions.js +0 -2
- package/dist/engine/paths/sessions.js.map +1 -1
- package/dist/engine/paths/stacks.d.ts +275 -5
- package/dist/engine/paths/stacks.d.ts.map +1 -1
- package/dist/engine/paths/stacks.js.map +1 -1
- package/dist/engine/paths/volumes.d.ts +203 -5
- package/dist/engine/paths/volumes.d.ts.map +1 -1
- package/dist/engine/paths/volumes.js.map +1 -1
- package/dist/engine/response.d.ts.map +1 -1
- package/dist/engine/response.js +4 -6
- package/dist/engine/response.js.map +1 -1
- package/dist/engine/sessions.d.ts.map +1 -1
- package/dist/engine/sessions.js +41 -43
- package/dist/engine/sessions.js.map +1 -1
- package/dist/engine/volumes.d.ts.map +1 -1
- package/dist/engine/volumes.js +11 -13
- package/dist/engine/volumes.js.map +1 -1
- package/dist/registry/json-schema.d.ts +3 -3
- package/dist/registry/json-schema.d.ts.map +1 -1
- package/dist/registry/json-schema.js.map +1 -1
- package/dist/registry/metadata.d.ts.map +1 -1
- package/dist/registry/metadata.js +10 -13
- package/dist/registry/metadata.js.map +1 -1
- package/package.json +10 -6
- package/scripts/generator.ts +92 -0
- package/{src → src-raw}/core/primitives.ts +1 -4
- package/{src → src-raw}/registry/metadata.ts +1 -2
- package/tsconfig.build.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/core/entities/index.d.ts +0 -3
- package/dist/core/entities/index.d.ts.map +0 -1
- package/dist/core/entities/index.js +0 -3
- package/dist/core/entities/index.js.map +0 -1
- package/dist/core/index.d.ts +0 -6
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.js +0 -6
- package/dist/core/index.js.map +0 -1
- package/dist/engine/deprecated/index.d.ts +0 -2
- package/dist/engine/deprecated/index.d.ts.map +0 -1
- package/dist/engine/deprecated/index.js +0 -2
- package/dist/engine/deprecated/index.js.map +0 -1
- package/dist/engine/index.d.ts +0 -9
- package/dist/engine/index.d.ts.map +0 -1
- package/dist/engine/index.js +0 -9
- package/dist/engine/index.js.map +0 -1
- package/dist/engine/paths/index.d.ts +0 -8
- package/dist/engine/paths/index.d.ts.map +0 -1
- package/dist/engine/paths/index.js +0 -8
- package/dist/engine/paths/index.js.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4
- package/dist/index.js.map +0 -1
- package/dist/registry/index.d.ts +0 -3
- package/dist/registry/index.d.ts.map +0 -1
- package/dist/registry/index.js +0 -3
- package/dist/registry/index.js.map +0 -1
- package/scripts/generate-openapi-data.ts +0 -51
- package/scripts/generate-openapi-meta.ts +0 -540
- /package/{src → src-raw}/core/entities/figspec.ts +0 -0
- /package/{src → src-raw}/core/entities/figstack.ts +0 -0
- /package/{src → src-raw}/core/entities/index.ts +0 -0
- /package/{src → src-raw}/core/execute.ts +0 -0
- /package/{src → src-raw}/core/generic.ts +0 -0
- /package/{src → src-raw}/core/index.ts +0 -0
- /package/{src → src-raw}/core/volumes.ts +0 -0
- /package/{src → src-raw}/engine/deprecated/index.ts +0 -0
- /package/{src → src-raw}/engine/deprecated/run-request.ts +0 -0
- /package/{src → src-raw}/engine/dry-run.ts +0 -0
- /package/{src → src-raw}/engine/health.ts +0 -0
- /package/{src → src-raw}/engine/images.ts +0 -0
- /package/{src → src-raw}/engine/index.ts +0 -0
- /package/{src → src-raw}/engine/paths/containers.ts +0 -0
- /package/{src → src-raw}/engine/paths/dry-run.ts +0 -0
- /package/{src → src-raw}/engine/paths/health.ts +0 -0
- /package/{src → src-raw}/engine/paths/images.ts +0 -0
- /package/{src → src-raw}/engine/paths/index.ts +0 -0
- /package/{src → src-raw}/engine/paths/sessions.ts +0 -0
- /package/{src → src-raw}/engine/paths/stacks.ts +0 -0
- /package/{src → src-raw}/engine/paths/volumes.ts +0 -0
- /package/{src → src-raw}/engine/response.ts +0 -0
- /package/{src → src-raw}/engine/sessions.ts +0 -0
- /package/{src → src-raw}/engine/volumes.ts +0 -0
- /package/{src → src-raw}/index.ts +0 -0
- /package/{src → src-raw}/registry/index.ts +0 -0
- /package/{src → src-raw}/registry/json-schema.ts +0 -0
|
@@ -1,8 +1,411 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const runContainerRouteSchema:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import z from "zod";
|
|
2
|
+
export declare const runContainerRouteSchema: {
|
|
3
|
+
method: string;
|
|
4
|
+
path: string;
|
|
5
|
+
operationId: string;
|
|
6
|
+
summary: string;
|
|
7
|
+
description: string;
|
|
8
|
+
tags: string[];
|
|
9
|
+
deprecated: boolean;
|
|
10
|
+
request: {
|
|
11
|
+
body: {
|
|
12
|
+
description: undefined;
|
|
13
|
+
content: {
|
|
14
|
+
"application/json": {
|
|
15
|
+
schema: z.ZodObject<{
|
|
16
|
+
job_id: z.ZodString;
|
|
17
|
+
image: z.ZodString;
|
|
18
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20
|
+
volumes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21
|
+
type: z.ZodOptional<z.ZodString>;
|
|
22
|
+
host_path: z.ZodString;
|
|
23
|
+
container_path: z.ZodOptional<z.ZodString>;
|
|
24
|
+
read_only: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
26
|
+
named_volumes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
|
+
volume_name: z.ZodString;
|
|
28
|
+
container_path: z.ZodString;
|
|
29
|
+
read_only: z.ZodBoolean;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
memory_limit: z.ZodOptional<z.ZodString>;
|
|
33
|
+
memory_reservation: z.ZodOptional<z.ZodString>;
|
|
34
|
+
cpu_limit: z.ZodOptional<z.ZodString>;
|
|
35
|
+
cpu_reservation: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
timeout: z.ZodOptional<z.ZodInt>;
|
|
38
|
+
parser_script: z.ZodOptional<z.ZodString>;
|
|
39
|
+
root_dir: z.ZodOptional<z.ZodString>;
|
|
40
|
+
env_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
42
|
+
extra_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
|
+
network_mode: z.ZodOptional<z.ZodString>;
|
|
44
|
+
working_dir: z.ZodOptional<z.ZodString>;
|
|
45
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
+
container: z.ZodInt;
|
|
47
|
+
host: z.ZodOptional<z.ZodInt>;
|
|
48
|
+
}, z.core.$strip>>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
required: boolean;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
responses: {
|
|
56
|
+
202: {
|
|
57
|
+
description: string;
|
|
58
|
+
content: {
|
|
59
|
+
"application/json": {
|
|
60
|
+
schema: z.ZodObject<{
|
|
61
|
+
job_id: z.ZodString;
|
|
62
|
+
status: z.ZodEnum<{
|
|
63
|
+
completed: "completed";
|
|
64
|
+
timeout: "timeout";
|
|
65
|
+
pending: "pending";
|
|
66
|
+
running: "running";
|
|
67
|
+
failed: "failed";
|
|
68
|
+
awaiting_cleanup: "awaiting_cleanup";
|
|
69
|
+
}>;
|
|
70
|
+
message: z.ZodOptional<z.ZodString>;
|
|
71
|
+
container_id: z.ZodOptional<z.ZodString>;
|
|
72
|
+
exit_code: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
73
|
+
stdout: z.ZodOptional<z.ZodString>;
|
|
74
|
+
stderr: z.ZodOptional<z.ZodString>;
|
|
75
|
+
parsed_output: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
success: z.ZodBoolean;
|
|
77
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
started_at: z.ZodOptional<z.ZodISODateTime>;
|
|
80
|
+
completed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
81
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83
|
+
final_command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
example: {
|
|
86
|
+
job_id: string;
|
|
87
|
+
status: string;
|
|
88
|
+
message: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
400: {
|
|
94
|
+
description: string;
|
|
95
|
+
content: {
|
|
96
|
+
"application/json": {
|
|
97
|
+
schema: z.ZodObject<{
|
|
98
|
+
error: z.ZodString;
|
|
99
|
+
message: z.ZodString;
|
|
100
|
+
code: z.ZodInt;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
500: {
|
|
106
|
+
description: string;
|
|
107
|
+
content: {
|
|
108
|
+
"application/json": {
|
|
109
|
+
schema: z.ZodObject<{
|
|
110
|
+
error: z.ZodString;
|
|
111
|
+
message: z.ZodString;
|
|
112
|
+
code: z.ZodInt;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
export declare const getContainerStatusRouteSchema: {
|
|
120
|
+
method: string;
|
|
121
|
+
path: string;
|
|
122
|
+
operationId: string;
|
|
123
|
+
summary: string;
|
|
124
|
+
description: string;
|
|
125
|
+
tags: string[];
|
|
126
|
+
parameters: {
|
|
127
|
+
name: string;
|
|
128
|
+
in: string;
|
|
129
|
+
required: boolean;
|
|
130
|
+
schema: {
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
example: string;
|
|
134
|
+
}[];
|
|
135
|
+
deprecated: boolean;
|
|
136
|
+
responses: {
|
|
137
|
+
200: {
|
|
138
|
+
description: string;
|
|
139
|
+
content: {
|
|
140
|
+
"application/json": {
|
|
141
|
+
schema: z.ZodObject<{
|
|
142
|
+
job_id: z.ZodString;
|
|
143
|
+
status: z.ZodEnum<{
|
|
144
|
+
completed: "completed";
|
|
145
|
+
timeout: "timeout";
|
|
146
|
+
pending: "pending";
|
|
147
|
+
running: "running";
|
|
148
|
+
failed: "failed";
|
|
149
|
+
awaiting_cleanup: "awaiting_cleanup";
|
|
150
|
+
}>;
|
|
151
|
+
message: z.ZodOptional<z.ZodString>;
|
|
152
|
+
container_id: z.ZodOptional<z.ZodString>;
|
|
153
|
+
exit_code: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
154
|
+
stdout: z.ZodOptional<z.ZodString>;
|
|
155
|
+
stderr: z.ZodOptional<z.ZodString>;
|
|
156
|
+
parsed_output: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
success: z.ZodBoolean;
|
|
158
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
159
|
+
}, z.core.$strip>>;
|
|
160
|
+
started_at: z.ZodOptional<z.ZodISODateTime>;
|
|
161
|
+
completed_at: z.ZodOptional<z.ZodISODateTime>;
|
|
162
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
163
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
164
|
+
final_command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
400: {
|
|
170
|
+
description: string;
|
|
171
|
+
content: {
|
|
172
|
+
"application/json": {
|
|
173
|
+
schema: z.ZodObject<{
|
|
174
|
+
error: z.ZodString;
|
|
175
|
+
message: z.ZodString;
|
|
176
|
+
code: z.ZodInt;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
404: {
|
|
182
|
+
description: string;
|
|
183
|
+
content: {
|
|
184
|
+
"application/json": {
|
|
185
|
+
schema: z.ZodObject<{
|
|
186
|
+
error: z.ZodString;
|
|
187
|
+
message: z.ZodString;
|
|
188
|
+
code: z.ZodInt;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
export declare const cancelContainerRouteSchema: {
|
|
196
|
+
method: string;
|
|
197
|
+
path: string;
|
|
198
|
+
operationId: string;
|
|
199
|
+
summary: string;
|
|
200
|
+
description: string;
|
|
201
|
+
tags: string[];
|
|
202
|
+
parameters: {
|
|
203
|
+
name: string;
|
|
204
|
+
in: string;
|
|
205
|
+
required: boolean;
|
|
206
|
+
schema: {
|
|
207
|
+
type: string;
|
|
208
|
+
};
|
|
209
|
+
example: string;
|
|
210
|
+
}[];
|
|
211
|
+
deprecated: boolean;
|
|
212
|
+
responses: {
|
|
213
|
+
200: {
|
|
214
|
+
description: string;
|
|
215
|
+
content: {
|
|
216
|
+
"application/json": {
|
|
217
|
+
schema: z.ZodObject<{
|
|
218
|
+
job_id: z.ZodString;
|
|
219
|
+
message: z.ZodString;
|
|
220
|
+
}, z.core.$strip>;
|
|
221
|
+
example: {
|
|
222
|
+
job_id: string;
|
|
223
|
+
message: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
400: {
|
|
229
|
+
description: string;
|
|
230
|
+
content: {
|
|
231
|
+
"application/json": {
|
|
232
|
+
schema: z.ZodObject<{
|
|
233
|
+
error: z.ZodString;
|
|
234
|
+
message: z.ZodString;
|
|
235
|
+
code: z.ZodInt;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
500: {
|
|
241
|
+
description: string;
|
|
242
|
+
content: {
|
|
243
|
+
"application/json": {
|
|
244
|
+
schema: z.ZodObject<{
|
|
245
|
+
error: z.ZodString;
|
|
246
|
+
message: z.ZodString;
|
|
247
|
+
code: z.ZodInt;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
export declare const cleanupContainerRouteSchema: {
|
|
255
|
+
method: string;
|
|
256
|
+
path: string;
|
|
257
|
+
operationId: string;
|
|
258
|
+
summary: string;
|
|
259
|
+
description: string;
|
|
260
|
+
tags: string[];
|
|
261
|
+
parameters: {
|
|
262
|
+
name: string;
|
|
263
|
+
in: string;
|
|
264
|
+
required: boolean;
|
|
265
|
+
schema: {
|
|
266
|
+
type: string;
|
|
267
|
+
};
|
|
268
|
+
example: string;
|
|
269
|
+
}[];
|
|
270
|
+
deprecated: boolean;
|
|
271
|
+
responses: {
|
|
272
|
+
200: {
|
|
273
|
+
description: string;
|
|
274
|
+
content: {
|
|
275
|
+
"application/json": {
|
|
276
|
+
schema: z.ZodObject<{
|
|
277
|
+
job_id: z.ZodString;
|
|
278
|
+
message: z.ZodString;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
example: {
|
|
281
|
+
job_id: string;
|
|
282
|
+
message: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
400: {
|
|
288
|
+
description: string;
|
|
289
|
+
content: {
|
|
290
|
+
"application/json": {
|
|
291
|
+
schema: z.ZodObject<{
|
|
292
|
+
error: z.ZodString;
|
|
293
|
+
message: z.ZodString;
|
|
294
|
+
code: z.ZodInt;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
500: {
|
|
300
|
+
description: string;
|
|
301
|
+
content: {
|
|
302
|
+
"application/json": {
|
|
303
|
+
schema: z.ZodObject<{
|
|
304
|
+
error: z.ZodString;
|
|
305
|
+
message: z.ZodString;
|
|
306
|
+
code: z.ZodInt;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
export declare const cleanupOrphanedContainersRouteSchema: {
|
|
314
|
+
method: string;
|
|
315
|
+
path: string;
|
|
316
|
+
operationId: string;
|
|
317
|
+
summary: string;
|
|
318
|
+
description: string;
|
|
319
|
+
tags: string[];
|
|
320
|
+
deprecated: boolean;
|
|
321
|
+
responses: {
|
|
322
|
+
200: {
|
|
323
|
+
description: string;
|
|
324
|
+
content: {
|
|
325
|
+
"application/json": {
|
|
326
|
+
schema: z.ZodObject<{
|
|
327
|
+
removed: z.ZodInt;
|
|
328
|
+
message: z.ZodString;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
500: {
|
|
334
|
+
description: string;
|
|
335
|
+
content: {
|
|
336
|
+
"application/json": {
|
|
337
|
+
schema: z.ZodObject<{
|
|
338
|
+
error: z.ZodString;
|
|
339
|
+
message: z.ZodString;
|
|
340
|
+
code: z.ZodInt;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
export declare const extractArtifactsRouteSchema: {
|
|
348
|
+
method: string;
|
|
349
|
+
path: string;
|
|
350
|
+
operationId: string;
|
|
351
|
+
summary: string;
|
|
352
|
+
description: string;
|
|
353
|
+
tags: string[];
|
|
354
|
+
request: {
|
|
355
|
+
body: {
|
|
356
|
+
description: undefined;
|
|
357
|
+
content: {
|
|
358
|
+
"application/json": {
|
|
359
|
+
schema: z.ZodObject<{
|
|
360
|
+
container_id: z.ZodString;
|
|
361
|
+
container_path: z.ZodString;
|
|
362
|
+
host_path: z.ZodString;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
required: boolean;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
responses: {
|
|
370
|
+
200: {
|
|
371
|
+
description: string;
|
|
372
|
+
content: {
|
|
373
|
+
"application/json": {
|
|
374
|
+
schema: z.ZodObject<{
|
|
375
|
+
container_id: z.ZodString;
|
|
376
|
+
container_path: z.ZodString;
|
|
377
|
+
host_path: z.ZodString;
|
|
378
|
+
files_count: z.ZodOptional<z.ZodInt>;
|
|
379
|
+
total_bytes: z.ZodOptional<z.ZodInt>;
|
|
380
|
+
message: z.ZodString;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
400: {
|
|
386
|
+
description: string;
|
|
387
|
+
content: {
|
|
388
|
+
"application/json": {
|
|
389
|
+
schema: z.ZodObject<{
|
|
390
|
+
error: z.ZodString;
|
|
391
|
+
message: z.ZodString;
|
|
392
|
+
code: z.ZodInt;
|
|
393
|
+
}, z.core.$strip>;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
500: {
|
|
398
|
+
description: string;
|
|
399
|
+
content: {
|
|
400
|
+
"application/json": {
|
|
401
|
+
schema: z.ZodObject<{
|
|
402
|
+
error: z.ZodString;
|
|
403
|
+
message: z.ZodString;
|
|
404
|
+
code: z.ZodInt;
|
|
405
|
+
}, z.core.$strip>;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
};
|
|
8
411
|
//# sourceMappingURL=containers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../../../src/engine/paths/containers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"containers.d.ts","sourceRoot":"","sources":["../../../src-clean/engine/paths/containers.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDnC,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CzC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDtC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDvC,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BhD,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CvC,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { extractArtifactsRequestSchema, extractArtifactsResponseSchema } from "../images.js";
|
|
2
2
|
import z from "zod";
|
|
3
|
-
import { extendZodWithOpenApi } from "@asteasolutions/zod-to-openapi";
|
|
4
3
|
import { runRequestSchema, runResponseSchema } from "../deprecated/run-request.js";
|
|
5
4
|
import { errorResponseSchema } from "../response.js";
|
|
6
|
-
extendZodWithOpenApi(z);
|
|
7
5
|
export const runContainerRouteSchema = {
|
|
8
6
|
method: "post",
|
|
9
7
|
path: "/api/v1/containers/run",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containers.js","sourceRoot":"","sources":["../../../src/engine/paths/containers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"containers.js","sourceRoot":"","sources":["../../../src-clean/engine/paths/containers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAC7F,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,6CAA6C;IACtD,WAAW,EAAE,gKAAgK;IAC7K,IAAI,EAAE;QACJ,YAAY;KACb;IACD,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,WAAW,EAAE,SAAS;YACtB,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,gBAAgB;iBACzB;aACF;YACD,QAAQ,EAAE,IAAI;SACf;KACF;IACD,SAAS,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OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;wBACzD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;qBACpB,CAAC;iBACH;aACF;SACF;QACD,GAAG,EAAE;YACH,WAAW,EAAE,gBAAgB;YAC7B,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,mBAAmB;iBAC5B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,kBAAkB;IAC/B,OAAO,EAAE,gCAAgC;IACzC,WAAW,EAAE,oDAAoD;IACjE,IAAI,EAAE;QACJ,YAAY;KACb;IACD,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,WAAW,EAAE,SAAS;YACtB,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,6BAA6B;iBACtC;aACF;YACD,QAAQ,EAAE,IAAI;SACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,WAAW,EAAE,qBAAqB;YAClC,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,8BAA8B;iBACvC;aACF;SACF;QACD,GAAG,EAAE;YACH,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,mBAAmB;iBAC5B;aACF;SACF;QACD,GAAG,EAAE;YACH,WAAW,EAAE,+DAA+D;YAC5E,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,mBAAmB;iBAC5B;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -1,3 +1,87 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const dryRunContainerRouteSchema: {
|
|
2
|
+
method: string;
|
|
3
|
+
path: string;
|
|
4
|
+
operationId: string;
|
|
5
|
+
summary: string;
|
|
6
|
+
description: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
request: {
|
|
9
|
+
body: {
|
|
10
|
+
description: undefined;
|
|
11
|
+
content: {
|
|
12
|
+
"application/json": {
|
|
13
|
+
schema: import("zod").ZodObject<{
|
|
14
|
+
job_id: import("zod").ZodString;
|
|
15
|
+
image: import("zod").ZodString;
|
|
16
|
+
command: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
17
|
+
environment: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
18
|
+
volumes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
19
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
host_path: import("zod").ZodString;
|
|
21
|
+
container_path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
read_only: import("zod").ZodBoolean;
|
|
23
|
+
}, import("zod/v4/core").$strip>>>;
|
|
24
|
+
named_volumes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
25
|
+
volume_name: import("zod").ZodString;
|
|
26
|
+
container_path: import("zod").ZodString;
|
|
27
|
+
read_only: import("zod").ZodBoolean;
|
|
28
|
+
}, import("zod/v4/core").$strip>>>;
|
|
29
|
+
resources: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
30
|
+
memory_limit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
31
|
+
memory_reservation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
32
|
+
cpu_limit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
33
|
+
cpu_reservation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34
|
+
}, import("zod/v4/core").$strip>>;
|
|
35
|
+
timeout: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
36
|
+
parser_script: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
|
+
root_dir: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
|
+
env_files: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
39
|
+
secrets: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
40
|
+
extra_hosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
41
|
+
network_mode: import("zod").ZodOptional<import("zod").ZodString>;
|
|
42
|
+
working_dir: import("zod").ZodOptional<import("zod").ZodString>;
|
|
43
|
+
ports: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
44
|
+
container: import("zod").ZodInt;
|
|
45
|
+
host: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
46
|
+
}, import("zod/v4/core").$strip>>>;
|
|
47
|
+
}, import("zod/v4/core").$strip>;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
required: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
responses: {
|
|
54
|
+
200: {
|
|
55
|
+
description: string;
|
|
56
|
+
content: {
|
|
57
|
+
"application/json": {
|
|
58
|
+
schema: import("zod").ZodObject<{
|
|
59
|
+
command: import("zod").ZodArray<import("zod").ZodString>;
|
|
60
|
+
final_command: import("zod").ZodArray<import("zod").ZodString>;
|
|
61
|
+
image: import("zod").ZodString;
|
|
62
|
+
working_dir: import("zod").ZodString;
|
|
63
|
+
volumes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
64
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
65
|
+
host_path: import("zod").ZodString;
|
|
66
|
+
container_path: import("zod").ZodOptional<import("zod").ZodString>;
|
|
67
|
+
read_only: import("zod").ZodBoolean;
|
|
68
|
+
}, import("zod/v4/core").$strip>>>;
|
|
69
|
+
}, import("zod/v4/core").$strip>;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
400: {
|
|
74
|
+
description: string;
|
|
75
|
+
content: {
|
|
76
|
+
"application/json": {
|
|
77
|
+
schema: import("zod").ZodObject<{
|
|
78
|
+
error: import("zod").ZodString;
|
|
79
|
+
message: import("zod").ZodString;
|
|
80
|
+
code: import("zod").ZodInt;
|
|
81
|
+
}, import("zod/v4/core").$strip>;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
3
87
|
//# sourceMappingURL=dry-run.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dry-run.d.ts","sourceRoot":"","sources":["../../../src/engine/paths/dry-run.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dry-run.d.ts","sourceRoot":"","sources":["../../../src-clean/engine/paths/dry-run.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dry-run.js","sourceRoot":"","sources":["../../../src/engine/paths/dry-run.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dry-run.js","sourceRoot":"","sources":["../../../src-clean/engine/paths/dry-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,mIAAmI;IAChJ,IAAI,EAAE;QACJ,YAAY;KACb;IACD,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,WAAW,EAAE,SAAS;YACtB,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,gBAAgB;iBACzB;aACF;YACD,QAAQ,EAAE,IAAI;SACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,WAAW,EAAE,kBAAkB;YAC/B,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,oBAAoB;iBAC7B;aACF;SACF;QACD,GAAG,EAAE;YACH,WAAW,EAAE,0BAA0B;YACvC,OAAO,EAAE;gBACP,kBAAkB,EAAE;oBAClB,MAAM,EAAE,mBAAmB;iBAC5B;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -1,3 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const healthRouteSchema: {
|
|
2
|
+
method: string;
|
|
3
|
+
path: string;
|
|
4
|
+
operationId: string;
|
|
5
|
+
summary: string;
|
|
6
|
+
description: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
responses: {
|
|
9
|
+
200: {
|
|
10
|
+
description: string;
|
|
11
|
+
content: {
|
|
12
|
+
"application/json": {
|
|
13
|
+
schema: import("zod").ZodObject<{
|
|
14
|
+
status: import("zod").ZodEnum<{
|
|
15
|
+
healthy: "healthy";
|
|
16
|
+
unhealthy: "unhealthy";
|
|
17
|
+
}>;
|
|
18
|
+
docker_api: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
}, import("zod/v4/core").$strip>;
|
|
21
|
+
example: {
|
|
22
|
+
status: string;
|
|
23
|
+
docker_api: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
503: {
|
|
29
|
+
description: string;
|
|
30
|
+
content: {
|
|
31
|
+
"application/json": {
|
|
32
|
+
schema: import("zod").ZodObject<{
|
|
33
|
+
status: import("zod").ZodEnum<{
|
|
34
|
+
healthy: "healthy";
|
|
35
|
+
unhealthy: "unhealthy";
|
|
36
|
+
}>;
|
|
37
|
+
docker_api: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
39
|
+
}, import("zod/v4/core").$strip>;
|
|
40
|
+
example: {
|
|
41
|
+
status: string;
|
|
42
|
+
message: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
3
49
|
//# sourceMappingURL=health.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../../src/engine/paths/health.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../../src-clean/engine/paths/health.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC7B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health.js","sourceRoot":"","sources":["../../../src/engine/paths/health.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"health.js","sourceRoot":"","sources":["../../../src-clean/engine/paths/health.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,qBAAqB;IAC9B,WAAW,EAAE,wGAAwG;IACrH,IAAI,EAAE,CAAC,QAAQ,CAAC;IAChB,SAAS,EAAE;QACP,GAAG,EAAE;YACD,WAAW,EAAE,mBAAmB;YAChC,OAAO,EAAE;gBACL,kBAAkB,EAAE;oBAChB,MAAM,EAAE,oBAAoB;oBAC5B,OAAO,EAAE;wBACL,MAAM,EAAE,SAAS;wBACjB,UAAU,EAAE,MAAM;qBACrB;iBACJ;aACJ;SACJ;QACD,GAAG,EAAE;YACD,WAAW,EAAE,2BAA2B;YACxC,OAAO,EAAE;gBACL,kBAAkB,EAAE;oBAChB,MAAM,EAAE,oBAAoB;oBAC5B,OAAO,EAAE;wBACL,MAAM,EAAE,WAAW;wBACnB,OAAO,EAAE,+CAA+C;qBAC3D;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAA"}
|