@fabrika/provider-zerops 0.9.0-dev.1 → 0.9.0-dev.2

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.
Files changed (93) hide show
  1. package/package.json +15 -14
  2. package/src/execution.ts +45 -8
  3. package/types/src/api/client.d.ts +5 -0
  4. package/types/src/api/errors.d.ts +24 -0
  5. package/types/src/api/polling.d.ts +41 -0
  6. package/types/src/api/readers.d.ts +977 -0
  7. package/types/src/api/service-env-limit.d.ts +17 -0
  8. package/types/src/api/service-env-response.d.ts +23 -0
  9. package/types/src/api/types.d.ts +638 -0
  10. package/types/src/api.d.ts +6 -0
  11. package/types/src/authoring.d.ts +9 -0
  12. package/types/src/cli-args.d.ts +19 -0
  13. package/types/src/cli.d.ts +10 -0
  14. package/types/src/collaborators.d.ts +18 -0
  15. package/types/src/compile.d.ts +91 -0
  16. package/types/src/control.d.ts +41 -0
  17. package/types/src/database-budget.d.ts +38 -0
  18. package/types/src/descriptor.d.ts +28 -0
  19. package/types/src/execution.d.ts +137 -0
  20. package/types/src/exposure.d.ts +47 -0
  21. package/types/src/index.d.ts +31 -0
  22. package/types/src/installation/admin-options.d.ts +24 -0
  23. package/types/src/installation/admin.d.ts +35 -0
  24. package/types/src/installation/checker-release.d.ts +12 -0
  25. package/types/src/installation/deploy-options.d.ts +37 -0
  26. package/types/src/installation/deploy.d.ts +96 -0
  27. package/types/src/installation/generated/platform-console-schema.d.ts +2 -0
  28. package/types/src/installation/generated/platform-proxy-manifest.d.ts +2 -0
  29. package/types/src/installation/hosts.d.ts +38 -0
  30. package/types/src/installation/index.d.ts +9 -0
  31. package/types/src/installation/init-options.d.ts +38 -0
  32. package/types/src/installation/init.d.ts +60 -0
  33. package/types/src/installation/install-collaborators.d.ts +24 -0
  34. package/types/src/installation/install-environment.d.ts +70 -0
  35. package/types/src/installation/install-options.d.ts +49 -0
  36. package/types/src/installation/install-project.d.ts +13 -0
  37. package/types/src/installation/install-provisioning.d.ts +58 -0
  38. package/types/src/installation/install-secrets.d.ts +30 -0
  39. package/types/src/installation/install-token.d.ts +10 -0
  40. package/types/src/installation/install.d.ts +23 -0
  41. package/types/src/installation/installation-source.d.ts +8 -0
  42. package/types/src/installation/log.d.ts +44 -0
  43. package/types/src/installation/machine-key.d.ts +19 -0
  44. package/types/src/installation/mcp.d.ts +18 -0
  45. package/types/src/installation/placement-options.d.ts +11 -0
  46. package/types/src/installation/platform-archive.d.ts +7 -0
  47. package/types/src/installation/platform-source.d.ts +8 -0
  48. package/types/src/installation/platform-upload.d.ts +3 -0
  49. package/types/src/installation/proxy-manifest.d.ts +105 -0
  50. package/types/src/installation/secrets.d.ts +17 -0
  51. package/types/src/installation/sidecar.d.ts +51 -0
  52. package/types/src/installation/source-options.d.ts +1 -0
  53. package/types/src/installation/topology/artifacts.d.ts +8 -0
  54. package/types/src/installation/topology/index.d.ts +5 -0
  55. package/types/src/installation/topology/installation-schemas.d.ts +2242 -0
  56. package/types/src/installation/topology/invariants.d.ts +23 -0
  57. package/types/src/installation/topology/setups.d.ts +58 -0
  58. package/types/src/installation/topology/topology.d.ts +148 -0
  59. package/types/src/installation/topology/validate.d.ts +11 -0
  60. package/types/src/installation/upgrade-options.d.ts +26 -0
  61. package/types/src/installation/upgrade-output.d.ts +6 -0
  62. package/types/src/installation/upgrade.d.ts +88 -0
  63. package/types/src/managed-env.d.ts +57 -0
  64. package/types/src/manifest.d.ts +206 -0
  65. package/types/src/namespace/claims.d.ts +3 -0
  66. package/types/src/namespace/codec.d.ts +334 -0
  67. package/types/src/namespace/constants.d.ts +25 -0
  68. package/types/src/namespace/errors.d.ts +15 -0
  69. package/types/src/namespace/manifest.d.ts +4 -0
  70. package/types/src/namespace/operator.d.ts +12 -0
  71. package/types/src/namespace/provisioning.d.ts +4 -0
  72. package/types/src/namespace/proxy-attempt.d.ts +36 -0
  73. package/types/src/namespace/proxy-reads.d.ts +33 -0
  74. package/types/src/namespace/proxy-secrets.d.ts +8 -0
  75. package/types/src/namespace/proxy-source.d.ts +74 -0
  76. package/types/src/namespace/topology.d.ts +9 -0
  77. package/types/src/namespace/types.d.ts +99 -0
  78. package/types/src/namespace/update.d.ts +6 -0
  79. package/types/src/namespace/validation.d.ts +12 -0
  80. package/types/src/namespace.d.ts +9 -0
  81. package/types/src/plan.d.ts +12 -0
  82. package/types/src/provider.d.ts +65 -0
  83. package/types/src/proxy-manifest-carrier.d.ts +16 -0
  84. package/types/src/schema.generated.d.ts +376 -0
  85. package/types/src/service-names.d.ts +4 -0
  86. package/types/src/service-references.d.ts +13 -0
  87. package/types/src/source/constants.d.ts +6 -0
  88. package/types/src/source/port.d.ts +60 -0
  89. package/types/src/source/types.d.ts +4 -0
  90. package/types/src/source/validation.d.ts +19 -0
  91. package/types/src/source.d.ts +2 -0
  92. package/types/src/types.d.ts +121 -0
  93. package/types/src/version-attempt.d.ts +8 -0
@@ -0,0 +1,2242 @@
1
+ import { z } from 'zod';
2
+ export declare const setupSchema: z.ZodObject<{
3
+ setup: z.ZodString;
4
+ extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
5
+ build: z.ZodOptional<z.ZodObject<{
6
+ os: z.ZodOptional<z.ZodEnum<["alpine", "ubuntu"]>>;
7
+ base: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["alpine/bun@1.3", "alpine@3.21", "alpine/go@latest", "alpine/nodejs@22", "ubuntu/bun@1.3"]>, z.ZodArray<z.ZodEnum<["alpine/bun@1.3", "alpine@3.21", "alpine/go@latest", "alpine/nodejs@22", "ubuntu/bun@1.3"]>, "many">]>>;
8
+ prepareCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ buildCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
+ deploy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
11
+ deployFiles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
12
+ cache: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>;
13
+ addToRunPrepare: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
14
+ envVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
15
+ }, "strict", z.ZodTypeAny, {
16
+ deployFiles: string | string[];
17
+ cache?: string | boolean | string[] | undefined;
18
+ os?: "alpine" | "ubuntu" | undefined;
19
+ envVariables?: Record<string, string | number | boolean> | undefined;
20
+ deploy?: string | string[] | undefined;
21
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
22
+ buildCommands?: string[] | undefined;
23
+ prepareCommands?: string[] | undefined;
24
+ addToRunPrepare?: string | string[] | undefined;
25
+ }, {
26
+ deployFiles: string | string[];
27
+ cache?: string | boolean | string[] | undefined;
28
+ os?: "alpine" | "ubuntu" | undefined;
29
+ envVariables?: Record<string, string | number | boolean> | undefined;
30
+ deploy?: string | string[] | undefined;
31
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
32
+ buildCommands?: string[] | undefined;
33
+ prepareCommands?: string[] | undefined;
34
+ addToRunPrepare?: string | string[] | undefined;
35
+ }>>;
36
+ deploy: z.ZodOptional<z.ZodObject<{
37
+ readinessCheck: z.ZodOptional<z.ZodObject<{
38
+ httpGet: z.ZodOptional<z.ZodObject<{
39
+ scheme: z.ZodOptional<z.ZodString>;
40
+ host: z.ZodOptional<z.ZodString>;
41
+ port: z.ZodNumber;
42
+ path: z.ZodString;
43
+ }, "strict", z.ZodTypeAny, {
44
+ path: string;
45
+ port: number;
46
+ scheme?: string | undefined;
47
+ host?: string | undefined;
48
+ }, {
49
+ path: string;
50
+ port: number;
51
+ scheme?: string | undefined;
52
+ host?: string | undefined;
53
+ }>>;
54
+ exec: z.ZodOptional<z.ZodObject<{
55
+ command: z.ZodString;
56
+ }, "strict", z.ZodTypeAny, {
57
+ command: string;
58
+ }, {
59
+ command: string;
60
+ }>>;
61
+ failureTimeout: z.ZodOptional<z.ZodString>;
62
+ retryPeriod: z.ZodOptional<z.ZodString>;
63
+ }, "strict", z.ZodTypeAny, {
64
+ retryPeriod?: string | undefined;
65
+ failureTimeout?: string | undefined;
66
+ exec?: {
67
+ command: string;
68
+ } | undefined;
69
+ httpGet?: {
70
+ path: string;
71
+ port: number;
72
+ scheme?: string | undefined;
73
+ host?: string | undefined;
74
+ } | undefined;
75
+ }, {
76
+ retryPeriod?: string | undefined;
77
+ failureTimeout?: string | undefined;
78
+ exec?: {
79
+ command: string;
80
+ } | undefined;
81
+ httpGet?: {
82
+ path: string;
83
+ port: number;
84
+ scheme?: string | undefined;
85
+ host?: string | undefined;
86
+ } | undefined;
87
+ }>>;
88
+ temporaryShutdown: z.ZodOptional<z.ZodBoolean>;
89
+ }, "strict", z.ZodTypeAny, {
90
+ readinessCheck?: {
91
+ retryPeriod?: string | undefined;
92
+ failureTimeout?: string | undefined;
93
+ exec?: {
94
+ command: string;
95
+ } | undefined;
96
+ httpGet?: {
97
+ path: string;
98
+ port: number;
99
+ scheme?: string | undefined;
100
+ host?: string | undefined;
101
+ } | undefined;
102
+ } | undefined;
103
+ temporaryShutdown?: boolean | undefined;
104
+ }, {
105
+ readinessCheck?: {
106
+ retryPeriod?: string | undefined;
107
+ failureTimeout?: string | undefined;
108
+ exec?: {
109
+ command: string;
110
+ } | undefined;
111
+ httpGet?: {
112
+ path: string;
113
+ port: number;
114
+ scheme?: string | undefined;
115
+ host?: string | undefined;
116
+ } | undefined;
117
+ } | undefined;
118
+ temporaryShutdown?: boolean | undefined;
119
+ }>>;
120
+ run: z.ZodOptional<z.ZodObject<{
121
+ initCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
122
+ prepareCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
+ os: z.ZodOptional<z.ZodEnum<["alpine", "ubuntu"]>>;
124
+ base: z.ZodOptional<z.ZodEnum<["alpine/bun@1.3", "alpine@3.21", "alpine/go@latest", "alpine/nodejs@22", "ubuntu/bun@1.3"]>>;
125
+ start: z.ZodOptional<z.ZodString>;
126
+ documentRoot: z.ZodOptional<z.ZodString>;
127
+ siteConfigPath: z.ZodOptional<z.ZodString>;
128
+ envReplace: z.ZodOptional<z.ZodObject<{
129
+ target: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
130
+ delimiter: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
131
+ }, "strict", z.ZodTypeAny, {
132
+ target: string | string[];
133
+ delimiter: string | string[];
134
+ }, {
135
+ target: string | string[];
136
+ delimiter: string | string[];
137
+ }>>;
138
+ healthCheck: z.ZodOptional<z.ZodObject<{
139
+ httpGet: z.ZodOptional<z.ZodObject<{
140
+ scheme: z.ZodOptional<z.ZodString>;
141
+ host: z.ZodOptional<z.ZodString>;
142
+ port: z.ZodNumber;
143
+ path: z.ZodString;
144
+ }, "strict", z.ZodTypeAny, {
145
+ path: string;
146
+ port: number;
147
+ scheme?: string | undefined;
148
+ host?: string | undefined;
149
+ }, {
150
+ path: string;
151
+ port: number;
152
+ scheme?: string | undefined;
153
+ host?: string | undefined;
154
+ }>>;
155
+ exec: z.ZodOptional<z.ZodObject<{
156
+ command: z.ZodString;
157
+ }, "strict", z.ZodTypeAny, {
158
+ command: string;
159
+ }, {
160
+ command: string;
161
+ }>>;
162
+ failureTimeout: z.ZodOptional<z.ZodString>;
163
+ disconnectTimeout: z.ZodOptional<z.ZodString>;
164
+ recoveryTimeout: z.ZodOptional<z.ZodString>;
165
+ execPeriod: z.ZodOptional<z.ZodString>;
166
+ }, "strict", z.ZodTypeAny, {
167
+ failureTimeout?: string | undefined;
168
+ exec?: {
169
+ command: string;
170
+ } | undefined;
171
+ httpGet?: {
172
+ path: string;
173
+ port: number;
174
+ scheme?: string | undefined;
175
+ host?: string | undefined;
176
+ } | undefined;
177
+ execPeriod?: string | undefined;
178
+ disconnectTimeout?: string | undefined;
179
+ recoveryTimeout?: string | undefined;
180
+ }, {
181
+ failureTimeout?: string | undefined;
182
+ exec?: {
183
+ command: string;
184
+ } | undefined;
185
+ httpGet?: {
186
+ path: string;
187
+ port: number;
188
+ scheme?: string | undefined;
189
+ host?: string | undefined;
190
+ } | undefined;
191
+ execPeriod?: string | undefined;
192
+ disconnectTimeout?: string | undefined;
193
+ recoveryTimeout?: string | undefined;
194
+ }>>;
195
+ routing: z.ZodOptional<z.ZodObject<{
196
+ root: z.ZodOptional<z.ZodString>;
197
+ cors: z.ZodOptional<z.ZodString>;
198
+ redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
199
+ from: z.ZodString;
200
+ to: z.ZodString;
201
+ status: z.ZodOptional<z.ZodNumber>;
202
+ preservePath: z.ZodOptional<z.ZodBoolean>;
203
+ preserveQuery: z.ZodOptional<z.ZodBoolean>;
204
+ }, "strict", z.ZodTypeAny, {
205
+ from: string;
206
+ to: string;
207
+ status?: number | undefined;
208
+ preservePath?: boolean | undefined;
209
+ preserveQuery?: boolean | undefined;
210
+ }, {
211
+ from: string;
212
+ to: string;
213
+ status?: number | undefined;
214
+ preservePath?: boolean | undefined;
215
+ preserveQuery?: boolean | undefined;
216
+ }>, "many">>;
217
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
218
+ for: z.ZodString;
219
+ values: z.ZodRecord<z.ZodString, z.ZodString>;
220
+ }, "strict", z.ZodTypeAny, {
221
+ values: Record<string, string>;
222
+ for: string;
223
+ }, {
224
+ values: Record<string, string>;
225
+ for: string;
226
+ }>, "many">>;
227
+ }, "strict", z.ZodTypeAny, {
228
+ headers?: {
229
+ values: Record<string, string>;
230
+ for: string;
231
+ }[] | undefined;
232
+ cors?: string | undefined;
233
+ root?: string | undefined;
234
+ redirects?: {
235
+ from: string;
236
+ to: string;
237
+ status?: number | undefined;
238
+ preservePath?: boolean | undefined;
239
+ preserveQuery?: boolean | undefined;
240
+ }[] | undefined;
241
+ }, {
242
+ headers?: {
243
+ values: Record<string, string>;
244
+ for: string;
245
+ }[] | undefined;
246
+ cors?: string | undefined;
247
+ root?: string | undefined;
248
+ redirects?: {
249
+ from: string;
250
+ to: string;
251
+ status?: number | undefined;
252
+ preservePath?: boolean | undefined;
253
+ preserveQuery?: boolean | undefined;
254
+ }[] | undefined;
255
+ }>>;
256
+ ports: z.ZodOptional<z.ZodArray<z.ZodObject<{
257
+ protocol: z.ZodOptional<z.ZodEnum<["tcp", "udp"]>>;
258
+ port: z.ZodNumber;
259
+ httpSupport: z.ZodOptional<z.ZodBoolean>;
260
+ }, "strict", z.ZodTypeAny, {
261
+ port: number;
262
+ protocol?: "tcp" | "udp" | undefined;
263
+ httpSupport?: boolean | undefined;
264
+ }, {
265
+ port: number;
266
+ protocol?: "tcp" | "udp" | undefined;
267
+ httpSupport?: boolean | undefined;
268
+ }>, "many">>;
269
+ envVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
270
+ startCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
+ name: z.ZodOptional<z.ZodString>;
272
+ command: z.ZodString;
273
+ workingDir: z.ZodOptional<z.ZodString>;
274
+ initCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
275
+ }, "strict", z.ZodTypeAny, {
276
+ command: string;
277
+ name?: string | undefined;
278
+ initCommands?: string[] | undefined;
279
+ workingDir?: string | undefined;
280
+ }, {
281
+ command: string;
282
+ name?: string | undefined;
283
+ initCommands?: string[] | undefined;
284
+ workingDir?: string | undefined;
285
+ }>, "many">>;
286
+ crontab: z.ZodOptional<z.ZodArray<z.ZodObject<{
287
+ timing: z.ZodString;
288
+ command: z.ZodString;
289
+ workingDir: z.ZodOptional<z.ZodString>;
290
+ allContainers: z.ZodBoolean;
291
+ }, "strict", z.ZodTypeAny, {
292
+ command: string;
293
+ timing: string;
294
+ allContainers: boolean;
295
+ workingDir?: string | undefined;
296
+ }, {
297
+ command: string;
298
+ timing: string;
299
+ allContainers: boolean;
300
+ workingDir?: string | undefined;
301
+ }>, "many">>;
302
+ }, "strict", z.ZodTypeAny, {
303
+ os?: "alpine" | "ubuntu" | undefined;
304
+ envVariables?: Record<string, string | number | boolean> | undefined;
305
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
306
+ start?: string | undefined;
307
+ prepareCommands?: string[] | undefined;
308
+ initCommands?: string[] | undefined;
309
+ ports?: {
310
+ port: number;
311
+ protocol?: "tcp" | "udp" | undefined;
312
+ httpSupport?: boolean | undefined;
313
+ }[] | undefined;
314
+ healthCheck?: {
315
+ failureTimeout?: string | undefined;
316
+ exec?: {
317
+ command: string;
318
+ } | undefined;
319
+ httpGet?: {
320
+ path: string;
321
+ port: number;
322
+ scheme?: string | undefined;
323
+ host?: string | undefined;
324
+ } | undefined;
325
+ execPeriod?: string | undefined;
326
+ disconnectTimeout?: string | undefined;
327
+ recoveryTimeout?: string | undefined;
328
+ } | undefined;
329
+ crontab?: {
330
+ command: string;
331
+ timing: string;
332
+ allContainers: boolean;
333
+ workingDir?: string | undefined;
334
+ }[] | undefined;
335
+ documentRoot?: string | undefined;
336
+ siteConfigPath?: string | undefined;
337
+ envReplace?: {
338
+ target: string | string[];
339
+ delimiter: string | string[];
340
+ } | undefined;
341
+ routing?: {
342
+ headers?: {
343
+ values: Record<string, string>;
344
+ for: string;
345
+ }[] | undefined;
346
+ cors?: string | undefined;
347
+ root?: string | undefined;
348
+ redirects?: {
349
+ from: string;
350
+ to: string;
351
+ status?: number | undefined;
352
+ preservePath?: boolean | undefined;
353
+ preserveQuery?: boolean | undefined;
354
+ }[] | undefined;
355
+ } | undefined;
356
+ startCommands?: {
357
+ command: string;
358
+ name?: string | undefined;
359
+ initCommands?: string[] | undefined;
360
+ workingDir?: string | undefined;
361
+ }[] | undefined;
362
+ }, {
363
+ os?: "alpine" | "ubuntu" | undefined;
364
+ envVariables?: Record<string, string | number | boolean> | undefined;
365
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
366
+ start?: string | undefined;
367
+ prepareCommands?: string[] | undefined;
368
+ initCommands?: string[] | undefined;
369
+ ports?: {
370
+ port: number;
371
+ protocol?: "tcp" | "udp" | undefined;
372
+ httpSupport?: boolean | undefined;
373
+ }[] | undefined;
374
+ healthCheck?: {
375
+ failureTimeout?: string | undefined;
376
+ exec?: {
377
+ command: string;
378
+ } | undefined;
379
+ httpGet?: {
380
+ path: string;
381
+ port: number;
382
+ scheme?: string | undefined;
383
+ host?: string | undefined;
384
+ } | undefined;
385
+ execPeriod?: string | undefined;
386
+ disconnectTimeout?: string | undefined;
387
+ recoveryTimeout?: string | undefined;
388
+ } | undefined;
389
+ crontab?: {
390
+ command: string;
391
+ timing: string;
392
+ allContainers: boolean;
393
+ workingDir?: string | undefined;
394
+ }[] | undefined;
395
+ documentRoot?: string | undefined;
396
+ siteConfigPath?: string | undefined;
397
+ envReplace?: {
398
+ target: string | string[];
399
+ delimiter: string | string[];
400
+ } | undefined;
401
+ routing?: {
402
+ headers?: {
403
+ values: Record<string, string>;
404
+ for: string;
405
+ }[] | undefined;
406
+ cors?: string | undefined;
407
+ root?: string | undefined;
408
+ redirects?: {
409
+ from: string;
410
+ to: string;
411
+ status?: number | undefined;
412
+ preservePath?: boolean | undefined;
413
+ preserveQuery?: boolean | undefined;
414
+ }[] | undefined;
415
+ } | undefined;
416
+ startCommands?: {
417
+ command: string;
418
+ name?: string | undefined;
419
+ initCommands?: string[] | undefined;
420
+ workingDir?: string | undefined;
421
+ }[] | undefined;
422
+ }>>;
423
+ }, "strict", z.ZodTypeAny, {
424
+ setup: string;
425
+ build?: {
426
+ deployFiles: string | string[];
427
+ cache?: string | boolean | string[] | undefined;
428
+ os?: "alpine" | "ubuntu" | undefined;
429
+ envVariables?: Record<string, string | number | boolean> | undefined;
430
+ deploy?: string | string[] | undefined;
431
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
432
+ buildCommands?: string[] | undefined;
433
+ prepareCommands?: string[] | undefined;
434
+ addToRunPrepare?: string | string[] | undefined;
435
+ } | undefined;
436
+ run?: {
437
+ os?: "alpine" | "ubuntu" | undefined;
438
+ envVariables?: Record<string, string | number | boolean> | undefined;
439
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
440
+ start?: string | undefined;
441
+ prepareCommands?: string[] | undefined;
442
+ initCommands?: string[] | undefined;
443
+ ports?: {
444
+ port: number;
445
+ protocol?: "tcp" | "udp" | undefined;
446
+ httpSupport?: boolean | undefined;
447
+ }[] | undefined;
448
+ healthCheck?: {
449
+ failureTimeout?: string | undefined;
450
+ exec?: {
451
+ command: string;
452
+ } | undefined;
453
+ httpGet?: {
454
+ path: string;
455
+ port: number;
456
+ scheme?: string | undefined;
457
+ host?: string | undefined;
458
+ } | undefined;
459
+ execPeriod?: string | undefined;
460
+ disconnectTimeout?: string | undefined;
461
+ recoveryTimeout?: string | undefined;
462
+ } | undefined;
463
+ crontab?: {
464
+ command: string;
465
+ timing: string;
466
+ allContainers: boolean;
467
+ workingDir?: string | undefined;
468
+ }[] | undefined;
469
+ documentRoot?: string | undefined;
470
+ siteConfigPath?: string | undefined;
471
+ envReplace?: {
472
+ target: string | string[];
473
+ delimiter: string | string[];
474
+ } | undefined;
475
+ routing?: {
476
+ headers?: {
477
+ values: Record<string, string>;
478
+ for: string;
479
+ }[] | undefined;
480
+ cors?: string | undefined;
481
+ root?: string | undefined;
482
+ redirects?: {
483
+ from: string;
484
+ to: string;
485
+ status?: number | undefined;
486
+ preservePath?: boolean | undefined;
487
+ preserveQuery?: boolean | undefined;
488
+ }[] | undefined;
489
+ } | undefined;
490
+ startCommands?: {
491
+ command: string;
492
+ name?: string | undefined;
493
+ initCommands?: string[] | undefined;
494
+ workingDir?: string | undefined;
495
+ }[] | undefined;
496
+ } | undefined;
497
+ extends?: string | string[] | undefined;
498
+ deploy?: {
499
+ readinessCheck?: {
500
+ retryPeriod?: string | undefined;
501
+ failureTimeout?: string | undefined;
502
+ exec?: {
503
+ command: string;
504
+ } | undefined;
505
+ httpGet?: {
506
+ path: string;
507
+ port: number;
508
+ scheme?: string | undefined;
509
+ host?: string | undefined;
510
+ } | undefined;
511
+ } | undefined;
512
+ temporaryShutdown?: boolean | undefined;
513
+ } | undefined;
514
+ }, {
515
+ setup: string;
516
+ build?: {
517
+ deployFiles: string | string[];
518
+ cache?: string | boolean | string[] | undefined;
519
+ os?: "alpine" | "ubuntu" | undefined;
520
+ envVariables?: Record<string, string | number | boolean> | undefined;
521
+ deploy?: string | string[] | undefined;
522
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
523
+ buildCommands?: string[] | undefined;
524
+ prepareCommands?: string[] | undefined;
525
+ addToRunPrepare?: string | string[] | undefined;
526
+ } | undefined;
527
+ run?: {
528
+ os?: "alpine" | "ubuntu" | undefined;
529
+ envVariables?: Record<string, string | number | boolean> | undefined;
530
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
531
+ start?: string | undefined;
532
+ prepareCommands?: string[] | undefined;
533
+ initCommands?: string[] | undefined;
534
+ ports?: {
535
+ port: number;
536
+ protocol?: "tcp" | "udp" | undefined;
537
+ httpSupport?: boolean | undefined;
538
+ }[] | undefined;
539
+ healthCheck?: {
540
+ failureTimeout?: string | undefined;
541
+ exec?: {
542
+ command: string;
543
+ } | undefined;
544
+ httpGet?: {
545
+ path: string;
546
+ port: number;
547
+ scheme?: string | undefined;
548
+ host?: string | undefined;
549
+ } | undefined;
550
+ execPeriod?: string | undefined;
551
+ disconnectTimeout?: string | undefined;
552
+ recoveryTimeout?: string | undefined;
553
+ } | undefined;
554
+ crontab?: {
555
+ command: string;
556
+ timing: string;
557
+ allContainers: boolean;
558
+ workingDir?: string | undefined;
559
+ }[] | undefined;
560
+ documentRoot?: string | undefined;
561
+ siteConfigPath?: string | undefined;
562
+ envReplace?: {
563
+ target: string | string[];
564
+ delimiter: string | string[];
565
+ } | undefined;
566
+ routing?: {
567
+ headers?: {
568
+ values: Record<string, string>;
569
+ for: string;
570
+ }[] | undefined;
571
+ cors?: string | undefined;
572
+ root?: string | undefined;
573
+ redirects?: {
574
+ from: string;
575
+ to: string;
576
+ status?: number | undefined;
577
+ preservePath?: boolean | undefined;
578
+ preserveQuery?: boolean | undefined;
579
+ }[] | undefined;
580
+ } | undefined;
581
+ startCommands?: {
582
+ command: string;
583
+ name?: string | undefined;
584
+ initCommands?: string[] | undefined;
585
+ workingDir?: string | undefined;
586
+ }[] | undefined;
587
+ } | undefined;
588
+ extends?: string | string[] | undefined;
589
+ deploy?: {
590
+ readinessCheck?: {
591
+ retryPeriod?: string | undefined;
592
+ failureTimeout?: string | undefined;
593
+ exec?: {
594
+ command: string;
595
+ } | undefined;
596
+ httpGet?: {
597
+ path: string;
598
+ port: number;
599
+ scheme?: string | undefined;
600
+ host?: string | undefined;
601
+ } | undefined;
602
+ } | undefined;
603
+ temporaryShutdown?: boolean | undefined;
604
+ } | undefined;
605
+ }>;
606
+ export declare const zeropsYamlSchema: z.ZodObject<{
607
+ zerops: z.ZodArray<z.ZodObject<{
608
+ setup: z.ZodString;
609
+ extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
610
+ build: z.ZodOptional<z.ZodObject<{
611
+ os: z.ZodOptional<z.ZodEnum<["alpine", "ubuntu"]>>;
612
+ base: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["alpine/bun@1.3", "alpine@3.21", "alpine/go@latest", "alpine/nodejs@22", "ubuntu/bun@1.3"]>, z.ZodArray<z.ZodEnum<["alpine/bun@1.3", "alpine@3.21", "alpine/go@latest", "alpine/nodejs@22", "ubuntu/bun@1.3"]>, "many">]>>;
613
+ prepareCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
614
+ buildCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
615
+ deploy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
616
+ deployFiles: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
617
+ cache: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>;
618
+ addToRunPrepare: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
619
+ envVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
620
+ }, "strict", z.ZodTypeAny, {
621
+ deployFiles: string | string[];
622
+ cache?: string | boolean | string[] | undefined;
623
+ os?: "alpine" | "ubuntu" | undefined;
624
+ envVariables?: Record<string, string | number | boolean> | undefined;
625
+ deploy?: string | string[] | undefined;
626
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
627
+ buildCommands?: string[] | undefined;
628
+ prepareCommands?: string[] | undefined;
629
+ addToRunPrepare?: string | string[] | undefined;
630
+ }, {
631
+ deployFiles: string | string[];
632
+ cache?: string | boolean | string[] | undefined;
633
+ os?: "alpine" | "ubuntu" | undefined;
634
+ envVariables?: Record<string, string | number | boolean> | undefined;
635
+ deploy?: string | string[] | undefined;
636
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
637
+ buildCommands?: string[] | undefined;
638
+ prepareCommands?: string[] | undefined;
639
+ addToRunPrepare?: string | string[] | undefined;
640
+ }>>;
641
+ deploy: z.ZodOptional<z.ZodObject<{
642
+ readinessCheck: z.ZodOptional<z.ZodObject<{
643
+ httpGet: z.ZodOptional<z.ZodObject<{
644
+ scheme: z.ZodOptional<z.ZodString>;
645
+ host: z.ZodOptional<z.ZodString>;
646
+ port: z.ZodNumber;
647
+ path: z.ZodString;
648
+ }, "strict", z.ZodTypeAny, {
649
+ path: string;
650
+ port: number;
651
+ scheme?: string | undefined;
652
+ host?: string | undefined;
653
+ }, {
654
+ path: string;
655
+ port: number;
656
+ scheme?: string | undefined;
657
+ host?: string | undefined;
658
+ }>>;
659
+ exec: z.ZodOptional<z.ZodObject<{
660
+ command: z.ZodString;
661
+ }, "strict", z.ZodTypeAny, {
662
+ command: string;
663
+ }, {
664
+ command: string;
665
+ }>>;
666
+ failureTimeout: z.ZodOptional<z.ZodString>;
667
+ retryPeriod: z.ZodOptional<z.ZodString>;
668
+ }, "strict", z.ZodTypeAny, {
669
+ retryPeriod?: string | undefined;
670
+ failureTimeout?: string | undefined;
671
+ exec?: {
672
+ command: string;
673
+ } | undefined;
674
+ httpGet?: {
675
+ path: string;
676
+ port: number;
677
+ scheme?: string | undefined;
678
+ host?: string | undefined;
679
+ } | undefined;
680
+ }, {
681
+ retryPeriod?: string | undefined;
682
+ failureTimeout?: string | undefined;
683
+ exec?: {
684
+ command: string;
685
+ } | undefined;
686
+ httpGet?: {
687
+ path: string;
688
+ port: number;
689
+ scheme?: string | undefined;
690
+ host?: string | undefined;
691
+ } | undefined;
692
+ }>>;
693
+ temporaryShutdown: z.ZodOptional<z.ZodBoolean>;
694
+ }, "strict", z.ZodTypeAny, {
695
+ readinessCheck?: {
696
+ retryPeriod?: string | undefined;
697
+ failureTimeout?: string | undefined;
698
+ exec?: {
699
+ command: string;
700
+ } | undefined;
701
+ httpGet?: {
702
+ path: string;
703
+ port: number;
704
+ scheme?: string | undefined;
705
+ host?: string | undefined;
706
+ } | undefined;
707
+ } | undefined;
708
+ temporaryShutdown?: boolean | undefined;
709
+ }, {
710
+ readinessCheck?: {
711
+ retryPeriod?: string | undefined;
712
+ failureTimeout?: string | undefined;
713
+ exec?: {
714
+ command: string;
715
+ } | undefined;
716
+ httpGet?: {
717
+ path: string;
718
+ port: number;
719
+ scheme?: string | undefined;
720
+ host?: string | undefined;
721
+ } | undefined;
722
+ } | undefined;
723
+ temporaryShutdown?: boolean | undefined;
724
+ }>>;
725
+ run: z.ZodOptional<z.ZodObject<{
726
+ initCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
727
+ prepareCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
728
+ os: z.ZodOptional<z.ZodEnum<["alpine", "ubuntu"]>>;
729
+ base: z.ZodOptional<z.ZodEnum<["alpine/bun@1.3", "alpine@3.21", "alpine/go@latest", "alpine/nodejs@22", "ubuntu/bun@1.3"]>>;
730
+ start: z.ZodOptional<z.ZodString>;
731
+ documentRoot: z.ZodOptional<z.ZodString>;
732
+ siteConfigPath: z.ZodOptional<z.ZodString>;
733
+ envReplace: z.ZodOptional<z.ZodObject<{
734
+ target: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
735
+ delimiter: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
736
+ }, "strict", z.ZodTypeAny, {
737
+ target: string | string[];
738
+ delimiter: string | string[];
739
+ }, {
740
+ target: string | string[];
741
+ delimiter: string | string[];
742
+ }>>;
743
+ healthCheck: z.ZodOptional<z.ZodObject<{
744
+ httpGet: z.ZodOptional<z.ZodObject<{
745
+ scheme: z.ZodOptional<z.ZodString>;
746
+ host: z.ZodOptional<z.ZodString>;
747
+ port: z.ZodNumber;
748
+ path: z.ZodString;
749
+ }, "strict", z.ZodTypeAny, {
750
+ path: string;
751
+ port: number;
752
+ scheme?: string | undefined;
753
+ host?: string | undefined;
754
+ }, {
755
+ path: string;
756
+ port: number;
757
+ scheme?: string | undefined;
758
+ host?: string | undefined;
759
+ }>>;
760
+ exec: z.ZodOptional<z.ZodObject<{
761
+ command: z.ZodString;
762
+ }, "strict", z.ZodTypeAny, {
763
+ command: string;
764
+ }, {
765
+ command: string;
766
+ }>>;
767
+ failureTimeout: z.ZodOptional<z.ZodString>;
768
+ disconnectTimeout: z.ZodOptional<z.ZodString>;
769
+ recoveryTimeout: z.ZodOptional<z.ZodString>;
770
+ execPeriod: z.ZodOptional<z.ZodString>;
771
+ }, "strict", z.ZodTypeAny, {
772
+ failureTimeout?: string | undefined;
773
+ exec?: {
774
+ command: string;
775
+ } | undefined;
776
+ httpGet?: {
777
+ path: string;
778
+ port: number;
779
+ scheme?: string | undefined;
780
+ host?: string | undefined;
781
+ } | undefined;
782
+ execPeriod?: string | undefined;
783
+ disconnectTimeout?: string | undefined;
784
+ recoveryTimeout?: string | undefined;
785
+ }, {
786
+ failureTimeout?: string | undefined;
787
+ exec?: {
788
+ command: string;
789
+ } | undefined;
790
+ httpGet?: {
791
+ path: string;
792
+ port: number;
793
+ scheme?: string | undefined;
794
+ host?: string | undefined;
795
+ } | undefined;
796
+ execPeriod?: string | undefined;
797
+ disconnectTimeout?: string | undefined;
798
+ recoveryTimeout?: string | undefined;
799
+ }>>;
800
+ routing: z.ZodOptional<z.ZodObject<{
801
+ root: z.ZodOptional<z.ZodString>;
802
+ cors: z.ZodOptional<z.ZodString>;
803
+ redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
804
+ from: z.ZodString;
805
+ to: z.ZodString;
806
+ status: z.ZodOptional<z.ZodNumber>;
807
+ preservePath: z.ZodOptional<z.ZodBoolean>;
808
+ preserveQuery: z.ZodOptional<z.ZodBoolean>;
809
+ }, "strict", z.ZodTypeAny, {
810
+ from: string;
811
+ to: string;
812
+ status?: number | undefined;
813
+ preservePath?: boolean | undefined;
814
+ preserveQuery?: boolean | undefined;
815
+ }, {
816
+ from: string;
817
+ to: string;
818
+ status?: number | undefined;
819
+ preservePath?: boolean | undefined;
820
+ preserveQuery?: boolean | undefined;
821
+ }>, "many">>;
822
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
823
+ for: z.ZodString;
824
+ values: z.ZodRecord<z.ZodString, z.ZodString>;
825
+ }, "strict", z.ZodTypeAny, {
826
+ values: Record<string, string>;
827
+ for: string;
828
+ }, {
829
+ values: Record<string, string>;
830
+ for: string;
831
+ }>, "many">>;
832
+ }, "strict", z.ZodTypeAny, {
833
+ headers?: {
834
+ values: Record<string, string>;
835
+ for: string;
836
+ }[] | undefined;
837
+ cors?: string | undefined;
838
+ root?: string | undefined;
839
+ redirects?: {
840
+ from: string;
841
+ to: string;
842
+ status?: number | undefined;
843
+ preservePath?: boolean | undefined;
844
+ preserveQuery?: boolean | undefined;
845
+ }[] | undefined;
846
+ }, {
847
+ headers?: {
848
+ values: Record<string, string>;
849
+ for: string;
850
+ }[] | undefined;
851
+ cors?: string | undefined;
852
+ root?: string | undefined;
853
+ redirects?: {
854
+ from: string;
855
+ to: string;
856
+ status?: number | undefined;
857
+ preservePath?: boolean | undefined;
858
+ preserveQuery?: boolean | undefined;
859
+ }[] | undefined;
860
+ }>>;
861
+ ports: z.ZodOptional<z.ZodArray<z.ZodObject<{
862
+ protocol: z.ZodOptional<z.ZodEnum<["tcp", "udp"]>>;
863
+ port: z.ZodNumber;
864
+ httpSupport: z.ZodOptional<z.ZodBoolean>;
865
+ }, "strict", z.ZodTypeAny, {
866
+ port: number;
867
+ protocol?: "tcp" | "udp" | undefined;
868
+ httpSupport?: boolean | undefined;
869
+ }, {
870
+ port: number;
871
+ protocol?: "tcp" | "udp" | undefined;
872
+ httpSupport?: boolean | undefined;
873
+ }>, "many">>;
874
+ envVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
875
+ startCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{
876
+ name: z.ZodOptional<z.ZodString>;
877
+ command: z.ZodString;
878
+ workingDir: z.ZodOptional<z.ZodString>;
879
+ initCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
880
+ }, "strict", z.ZodTypeAny, {
881
+ command: string;
882
+ name?: string | undefined;
883
+ initCommands?: string[] | undefined;
884
+ workingDir?: string | undefined;
885
+ }, {
886
+ command: string;
887
+ name?: string | undefined;
888
+ initCommands?: string[] | undefined;
889
+ workingDir?: string | undefined;
890
+ }>, "many">>;
891
+ crontab: z.ZodOptional<z.ZodArray<z.ZodObject<{
892
+ timing: z.ZodString;
893
+ command: z.ZodString;
894
+ workingDir: z.ZodOptional<z.ZodString>;
895
+ allContainers: z.ZodBoolean;
896
+ }, "strict", z.ZodTypeAny, {
897
+ command: string;
898
+ timing: string;
899
+ allContainers: boolean;
900
+ workingDir?: string | undefined;
901
+ }, {
902
+ command: string;
903
+ timing: string;
904
+ allContainers: boolean;
905
+ workingDir?: string | undefined;
906
+ }>, "many">>;
907
+ }, "strict", z.ZodTypeAny, {
908
+ os?: "alpine" | "ubuntu" | undefined;
909
+ envVariables?: Record<string, string | number | boolean> | undefined;
910
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
911
+ start?: string | undefined;
912
+ prepareCommands?: string[] | undefined;
913
+ initCommands?: string[] | undefined;
914
+ ports?: {
915
+ port: number;
916
+ protocol?: "tcp" | "udp" | undefined;
917
+ httpSupport?: boolean | undefined;
918
+ }[] | undefined;
919
+ healthCheck?: {
920
+ failureTimeout?: string | undefined;
921
+ exec?: {
922
+ command: string;
923
+ } | undefined;
924
+ httpGet?: {
925
+ path: string;
926
+ port: number;
927
+ scheme?: string | undefined;
928
+ host?: string | undefined;
929
+ } | undefined;
930
+ execPeriod?: string | undefined;
931
+ disconnectTimeout?: string | undefined;
932
+ recoveryTimeout?: string | undefined;
933
+ } | undefined;
934
+ crontab?: {
935
+ command: string;
936
+ timing: string;
937
+ allContainers: boolean;
938
+ workingDir?: string | undefined;
939
+ }[] | undefined;
940
+ documentRoot?: string | undefined;
941
+ siteConfigPath?: string | undefined;
942
+ envReplace?: {
943
+ target: string | string[];
944
+ delimiter: string | string[];
945
+ } | undefined;
946
+ routing?: {
947
+ headers?: {
948
+ values: Record<string, string>;
949
+ for: string;
950
+ }[] | undefined;
951
+ cors?: string | undefined;
952
+ root?: string | undefined;
953
+ redirects?: {
954
+ from: string;
955
+ to: string;
956
+ status?: number | undefined;
957
+ preservePath?: boolean | undefined;
958
+ preserveQuery?: boolean | undefined;
959
+ }[] | undefined;
960
+ } | undefined;
961
+ startCommands?: {
962
+ command: string;
963
+ name?: string | undefined;
964
+ initCommands?: string[] | undefined;
965
+ workingDir?: string | undefined;
966
+ }[] | undefined;
967
+ }, {
968
+ os?: "alpine" | "ubuntu" | undefined;
969
+ envVariables?: Record<string, string | number | boolean> | undefined;
970
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
971
+ start?: string | undefined;
972
+ prepareCommands?: string[] | undefined;
973
+ initCommands?: string[] | undefined;
974
+ ports?: {
975
+ port: number;
976
+ protocol?: "tcp" | "udp" | undefined;
977
+ httpSupport?: boolean | undefined;
978
+ }[] | undefined;
979
+ healthCheck?: {
980
+ failureTimeout?: string | undefined;
981
+ exec?: {
982
+ command: string;
983
+ } | undefined;
984
+ httpGet?: {
985
+ path: string;
986
+ port: number;
987
+ scheme?: string | undefined;
988
+ host?: string | undefined;
989
+ } | undefined;
990
+ execPeriod?: string | undefined;
991
+ disconnectTimeout?: string | undefined;
992
+ recoveryTimeout?: string | undefined;
993
+ } | undefined;
994
+ crontab?: {
995
+ command: string;
996
+ timing: string;
997
+ allContainers: boolean;
998
+ workingDir?: string | undefined;
999
+ }[] | undefined;
1000
+ documentRoot?: string | undefined;
1001
+ siteConfigPath?: string | undefined;
1002
+ envReplace?: {
1003
+ target: string | string[];
1004
+ delimiter: string | string[];
1005
+ } | undefined;
1006
+ routing?: {
1007
+ headers?: {
1008
+ values: Record<string, string>;
1009
+ for: string;
1010
+ }[] | undefined;
1011
+ cors?: string | undefined;
1012
+ root?: string | undefined;
1013
+ redirects?: {
1014
+ from: string;
1015
+ to: string;
1016
+ status?: number | undefined;
1017
+ preservePath?: boolean | undefined;
1018
+ preserveQuery?: boolean | undefined;
1019
+ }[] | undefined;
1020
+ } | undefined;
1021
+ startCommands?: {
1022
+ command: string;
1023
+ name?: string | undefined;
1024
+ initCommands?: string[] | undefined;
1025
+ workingDir?: string | undefined;
1026
+ }[] | undefined;
1027
+ }>>;
1028
+ }, "strict", z.ZodTypeAny, {
1029
+ setup: string;
1030
+ build?: {
1031
+ deployFiles: string | string[];
1032
+ cache?: string | boolean | string[] | undefined;
1033
+ os?: "alpine" | "ubuntu" | undefined;
1034
+ envVariables?: Record<string, string | number | boolean> | undefined;
1035
+ deploy?: string | string[] | undefined;
1036
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
1037
+ buildCommands?: string[] | undefined;
1038
+ prepareCommands?: string[] | undefined;
1039
+ addToRunPrepare?: string | string[] | undefined;
1040
+ } | undefined;
1041
+ run?: {
1042
+ os?: "alpine" | "ubuntu" | undefined;
1043
+ envVariables?: Record<string, string | number | boolean> | undefined;
1044
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1045
+ start?: string | undefined;
1046
+ prepareCommands?: string[] | undefined;
1047
+ initCommands?: string[] | undefined;
1048
+ ports?: {
1049
+ port: number;
1050
+ protocol?: "tcp" | "udp" | undefined;
1051
+ httpSupport?: boolean | undefined;
1052
+ }[] | undefined;
1053
+ healthCheck?: {
1054
+ failureTimeout?: string | undefined;
1055
+ exec?: {
1056
+ command: string;
1057
+ } | undefined;
1058
+ httpGet?: {
1059
+ path: string;
1060
+ port: number;
1061
+ scheme?: string | undefined;
1062
+ host?: string | undefined;
1063
+ } | undefined;
1064
+ execPeriod?: string | undefined;
1065
+ disconnectTimeout?: string | undefined;
1066
+ recoveryTimeout?: string | undefined;
1067
+ } | undefined;
1068
+ crontab?: {
1069
+ command: string;
1070
+ timing: string;
1071
+ allContainers: boolean;
1072
+ workingDir?: string | undefined;
1073
+ }[] | undefined;
1074
+ documentRoot?: string | undefined;
1075
+ siteConfigPath?: string | undefined;
1076
+ envReplace?: {
1077
+ target: string | string[];
1078
+ delimiter: string | string[];
1079
+ } | undefined;
1080
+ routing?: {
1081
+ headers?: {
1082
+ values: Record<string, string>;
1083
+ for: string;
1084
+ }[] | undefined;
1085
+ cors?: string | undefined;
1086
+ root?: string | undefined;
1087
+ redirects?: {
1088
+ from: string;
1089
+ to: string;
1090
+ status?: number | undefined;
1091
+ preservePath?: boolean | undefined;
1092
+ preserveQuery?: boolean | undefined;
1093
+ }[] | undefined;
1094
+ } | undefined;
1095
+ startCommands?: {
1096
+ command: string;
1097
+ name?: string | undefined;
1098
+ initCommands?: string[] | undefined;
1099
+ workingDir?: string | undefined;
1100
+ }[] | undefined;
1101
+ } | undefined;
1102
+ extends?: string | string[] | undefined;
1103
+ deploy?: {
1104
+ readinessCheck?: {
1105
+ retryPeriod?: string | undefined;
1106
+ failureTimeout?: string | undefined;
1107
+ exec?: {
1108
+ command: string;
1109
+ } | undefined;
1110
+ httpGet?: {
1111
+ path: string;
1112
+ port: number;
1113
+ scheme?: string | undefined;
1114
+ host?: string | undefined;
1115
+ } | undefined;
1116
+ } | undefined;
1117
+ temporaryShutdown?: boolean | undefined;
1118
+ } | undefined;
1119
+ }, {
1120
+ setup: string;
1121
+ build?: {
1122
+ deployFiles: string | string[];
1123
+ cache?: string | boolean | string[] | undefined;
1124
+ os?: "alpine" | "ubuntu" | undefined;
1125
+ envVariables?: Record<string, string | number | boolean> | undefined;
1126
+ deploy?: string | string[] | undefined;
1127
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
1128
+ buildCommands?: string[] | undefined;
1129
+ prepareCommands?: string[] | undefined;
1130
+ addToRunPrepare?: string | string[] | undefined;
1131
+ } | undefined;
1132
+ run?: {
1133
+ os?: "alpine" | "ubuntu" | undefined;
1134
+ envVariables?: Record<string, string | number | boolean> | undefined;
1135
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1136
+ start?: string | undefined;
1137
+ prepareCommands?: string[] | undefined;
1138
+ initCommands?: string[] | undefined;
1139
+ ports?: {
1140
+ port: number;
1141
+ protocol?: "tcp" | "udp" | undefined;
1142
+ httpSupport?: boolean | undefined;
1143
+ }[] | undefined;
1144
+ healthCheck?: {
1145
+ failureTimeout?: string | undefined;
1146
+ exec?: {
1147
+ command: string;
1148
+ } | undefined;
1149
+ httpGet?: {
1150
+ path: string;
1151
+ port: number;
1152
+ scheme?: string | undefined;
1153
+ host?: string | undefined;
1154
+ } | undefined;
1155
+ execPeriod?: string | undefined;
1156
+ disconnectTimeout?: string | undefined;
1157
+ recoveryTimeout?: string | undefined;
1158
+ } | undefined;
1159
+ crontab?: {
1160
+ command: string;
1161
+ timing: string;
1162
+ allContainers: boolean;
1163
+ workingDir?: string | undefined;
1164
+ }[] | undefined;
1165
+ documentRoot?: string | undefined;
1166
+ siteConfigPath?: string | undefined;
1167
+ envReplace?: {
1168
+ target: string | string[];
1169
+ delimiter: string | string[];
1170
+ } | undefined;
1171
+ routing?: {
1172
+ headers?: {
1173
+ values: Record<string, string>;
1174
+ for: string;
1175
+ }[] | undefined;
1176
+ cors?: string | undefined;
1177
+ root?: string | undefined;
1178
+ redirects?: {
1179
+ from: string;
1180
+ to: string;
1181
+ status?: number | undefined;
1182
+ preservePath?: boolean | undefined;
1183
+ preserveQuery?: boolean | undefined;
1184
+ }[] | undefined;
1185
+ } | undefined;
1186
+ startCommands?: {
1187
+ command: string;
1188
+ name?: string | undefined;
1189
+ initCommands?: string[] | undefined;
1190
+ workingDir?: string | undefined;
1191
+ }[] | undefined;
1192
+ } | undefined;
1193
+ extends?: string | string[] | undefined;
1194
+ deploy?: {
1195
+ readinessCheck?: {
1196
+ retryPeriod?: string | undefined;
1197
+ failureTimeout?: string | undefined;
1198
+ exec?: {
1199
+ command: string;
1200
+ } | undefined;
1201
+ httpGet?: {
1202
+ path: string;
1203
+ port: number;
1204
+ scheme?: string | undefined;
1205
+ host?: string | undefined;
1206
+ } | undefined;
1207
+ } | undefined;
1208
+ temporaryShutdown?: boolean | undefined;
1209
+ } | undefined;
1210
+ }>, "many">;
1211
+ }, "strict", z.ZodTypeAny, {
1212
+ zerops: {
1213
+ setup: string;
1214
+ build?: {
1215
+ deployFiles: string | string[];
1216
+ cache?: string | boolean | string[] | undefined;
1217
+ os?: "alpine" | "ubuntu" | undefined;
1218
+ envVariables?: Record<string, string | number | boolean> | undefined;
1219
+ deploy?: string | string[] | undefined;
1220
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
1221
+ buildCommands?: string[] | undefined;
1222
+ prepareCommands?: string[] | undefined;
1223
+ addToRunPrepare?: string | string[] | undefined;
1224
+ } | undefined;
1225
+ run?: {
1226
+ os?: "alpine" | "ubuntu" | undefined;
1227
+ envVariables?: Record<string, string | number | boolean> | undefined;
1228
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1229
+ start?: string | undefined;
1230
+ prepareCommands?: string[] | undefined;
1231
+ initCommands?: string[] | undefined;
1232
+ ports?: {
1233
+ port: number;
1234
+ protocol?: "tcp" | "udp" | undefined;
1235
+ httpSupport?: boolean | undefined;
1236
+ }[] | undefined;
1237
+ healthCheck?: {
1238
+ failureTimeout?: string | undefined;
1239
+ exec?: {
1240
+ command: string;
1241
+ } | undefined;
1242
+ httpGet?: {
1243
+ path: string;
1244
+ port: number;
1245
+ scheme?: string | undefined;
1246
+ host?: string | undefined;
1247
+ } | undefined;
1248
+ execPeriod?: string | undefined;
1249
+ disconnectTimeout?: string | undefined;
1250
+ recoveryTimeout?: string | undefined;
1251
+ } | undefined;
1252
+ crontab?: {
1253
+ command: string;
1254
+ timing: string;
1255
+ allContainers: boolean;
1256
+ workingDir?: string | undefined;
1257
+ }[] | undefined;
1258
+ documentRoot?: string | undefined;
1259
+ siteConfigPath?: string | undefined;
1260
+ envReplace?: {
1261
+ target: string | string[];
1262
+ delimiter: string | string[];
1263
+ } | undefined;
1264
+ routing?: {
1265
+ headers?: {
1266
+ values: Record<string, string>;
1267
+ for: string;
1268
+ }[] | undefined;
1269
+ cors?: string | undefined;
1270
+ root?: string | undefined;
1271
+ redirects?: {
1272
+ from: string;
1273
+ to: string;
1274
+ status?: number | undefined;
1275
+ preservePath?: boolean | undefined;
1276
+ preserveQuery?: boolean | undefined;
1277
+ }[] | undefined;
1278
+ } | undefined;
1279
+ startCommands?: {
1280
+ command: string;
1281
+ name?: string | undefined;
1282
+ initCommands?: string[] | undefined;
1283
+ workingDir?: string | undefined;
1284
+ }[] | undefined;
1285
+ } | undefined;
1286
+ extends?: string | string[] | undefined;
1287
+ deploy?: {
1288
+ readinessCheck?: {
1289
+ retryPeriod?: string | undefined;
1290
+ failureTimeout?: string | undefined;
1291
+ exec?: {
1292
+ command: string;
1293
+ } | undefined;
1294
+ httpGet?: {
1295
+ path: string;
1296
+ port: number;
1297
+ scheme?: string | undefined;
1298
+ host?: string | undefined;
1299
+ } | undefined;
1300
+ } | undefined;
1301
+ temporaryShutdown?: boolean | undefined;
1302
+ } | undefined;
1303
+ }[];
1304
+ }, {
1305
+ zerops: {
1306
+ setup: string;
1307
+ build?: {
1308
+ deployFiles: string | string[];
1309
+ cache?: string | boolean | string[] | undefined;
1310
+ os?: "alpine" | "ubuntu" | undefined;
1311
+ envVariables?: Record<string, string | number | boolean> | undefined;
1312
+ deploy?: string | string[] | undefined;
1313
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | ("alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3")[] | undefined;
1314
+ buildCommands?: string[] | undefined;
1315
+ prepareCommands?: string[] | undefined;
1316
+ addToRunPrepare?: string | string[] | undefined;
1317
+ } | undefined;
1318
+ run?: {
1319
+ os?: "alpine" | "ubuntu" | undefined;
1320
+ envVariables?: Record<string, string | number | boolean> | undefined;
1321
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1322
+ start?: string | undefined;
1323
+ prepareCommands?: string[] | undefined;
1324
+ initCommands?: string[] | undefined;
1325
+ ports?: {
1326
+ port: number;
1327
+ protocol?: "tcp" | "udp" | undefined;
1328
+ httpSupport?: boolean | undefined;
1329
+ }[] | undefined;
1330
+ healthCheck?: {
1331
+ failureTimeout?: string | undefined;
1332
+ exec?: {
1333
+ command: string;
1334
+ } | undefined;
1335
+ httpGet?: {
1336
+ path: string;
1337
+ port: number;
1338
+ scheme?: string | undefined;
1339
+ host?: string | undefined;
1340
+ } | undefined;
1341
+ execPeriod?: string | undefined;
1342
+ disconnectTimeout?: string | undefined;
1343
+ recoveryTimeout?: string | undefined;
1344
+ } | undefined;
1345
+ crontab?: {
1346
+ command: string;
1347
+ timing: string;
1348
+ allContainers: boolean;
1349
+ workingDir?: string | undefined;
1350
+ }[] | undefined;
1351
+ documentRoot?: string | undefined;
1352
+ siteConfigPath?: string | undefined;
1353
+ envReplace?: {
1354
+ target: string | string[];
1355
+ delimiter: string | string[];
1356
+ } | undefined;
1357
+ routing?: {
1358
+ headers?: {
1359
+ values: Record<string, string>;
1360
+ for: string;
1361
+ }[] | undefined;
1362
+ cors?: string | undefined;
1363
+ root?: string | undefined;
1364
+ redirects?: {
1365
+ from: string;
1366
+ to: string;
1367
+ status?: number | undefined;
1368
+ preservePath?: boolean | undefined;
1369
+ preserveQuery?: boolean | undefined;
1370
+ }[] | undefined;
1371
+ } | undefined;
1372
+ startCommands?: {
1373
+ command: string;
1374
+ name?: string | undefined;
1375
+ initCommands?: string[] | undefined;
1376
+ workingDir?: string | undefined;
1377
+ }[] | undefined;
1378
+ } | undefined;
1379
+ extends?: string | string[] | undefined;
1380
+ deploy?: {
1381
+ readinessCheck?: {
1382
+ retryPeriod?: string | undefined;
1383
+ failureTimeout?: string | undefined;
1384
+ exec?: {
1385
+ command: string;
1386
+ } | undefined;
1387
+ httpGet?: {
1388
+ path: string;
1389
+ port: number;
1390
+ scheme?: string | undefined;
1391
+ host?: string | undefined;
1392
+ } | undefined;
1393
+ } | undefined;
1394
+ temporaryShutdown?: boolean | undefined;
1395
+ } | undefined;
1396
+ }[];
1397
+ }>;
1398
+ export declare const importSchema: z.ZodObject<{
1399
+ project: z.ZodOptional<z.ZodObject<{
1400
+ name: z.ZodString;
1401
+ description: z.ZodOptional<z.ZodString>;
1402
+ corePackage: z.ZodOptional<z.ZodEnum<["LIGHT", "SERIOUS"]>>;
1403
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1404
+ envVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1405
+ envIsolation: z.ZodOptional<z.ZodString>;
1406
+ sshIsolation: z.ZodOptional<z.ZodString>;
1407
+ sharedIpv4: z.ZodOptional<z.ZodBoolean>;
1408
+ location: z.ZodOptional<z.ZodEnum<["eu-central", "us-east-1", "us-west-1"]>>;
1409
+ }, "strict", z.ZodTypeAny, {
1410
+ name: string;
1411
+ description?: string | undefined;
1412
+ envIsolation?: string | undefined;
1413
+ sshIsolation?: string | undefined;
1414
+ envVariables?: Record<string, string> | undefined;
1415
+ corePackage?: "LIGHT" | "SERIOUS" | undefined;
1416
+ tags?: string[] | undefined;
1417
+ sharedIpv4?: boolean | undefined;
1418
+ location?: "eu-central" | "us-east-1" | "us-west-1" | undefined;
1419
+ }, {
1420
+ name: string;
1421
+ description?: string | undefined;
1422
+ envIsolation?: string | undefined;
1423
+ sshIsolation?: string | undefined;
1424
+ envVariables?: Record<string, string> | undefined;
1425
+ corePackage?: "LIGHT" | "SERIOUS" | undefined;
1426
+ tags?: string[] | undefined;
1427
+ sharedIpv4?: boolean | undefined;
1428
+ location?: "eu-central" | "us-east-1" | "us-west-1" | undefined;
1429
+ }>>;
1430
+ services: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1431
+ hostname: z.ZodString;
1432
+ mode: z.ZodOptional<z.ZodString>;
1433
+ envSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1434
+ dotEnvSecrets: z.ZodOptional<z.ZodString>;
1435
+ nginxConfig: z.ZodOptional<z.ZodString>;
1436
+ objectStorageSize: z.ZodOptional<z.ZodNumber>;
1437
+ objectStoragePolicy: z.ZodOptional<z.ZodEnum<["custom", "private", "public-read", "public-objects-read", "public-write", "public-read-write"]>>;
1438
+ objectStorageRawPolicy: z.ZodOptional<z.ZodString>;
1439
+ buildFromGit: z.ZodOptional<z.ZodString>;
1440
+ startWithoutCode: z.ZodOptional<z.ZodBoolean>;
1441
+ enableSubdomainAccess: z.ZodOptional<z.ZodBoolean>;
1442
+ priority: z.ZodOptional<z.ZodNumber>;
1443
+ mount: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1444
+ enableCdn: z.ZodOptional<z.ZodBoolean>;
1445
+ envIsolation: z.ZodOptional<z.ZodString>;
1446
+ sshIsolation: z.ZodOptional<z.ZodString>;
1447
+ os: z.ZodOptional<z.ZodString>;
1448
+ zeropsSetup: z.ZodOptional<z.ZodString>;
1449
+ override: z.ZodOptional<z.ZodBoolean>;
1450
+ } & {
1451
+ type: z.ZodEnum<["alpine/bun@1.3", "alpine@3.21", "alpine/go@latest", "alpine/nodejs@22", "ubuntu/bun@1.3"]>;
1452
+ minContainers: z.ZodOptional<z.ZodNumber>;
1453
+ maxContainers: z.ZodOptional<z.ZodNumber>;
1454
+ verticalAutoscaling: z.ZodOptional<z.ZodObject<{
1455
+ cpu: z.ZodOptional<z.ZodNumber>;
1456
+ minCpu: z.ZodOptional<z.ZodNumber>;
1457
+ maxCpu: z.ZodOptional<z.ZodNumber>;
1458
+ ram: z.ZodOptional<z.ZodNumber>;
1459
+ minRam: z.ZodOptional<z.ZodNumber>;
1460
+ maxRam: z.ZodOptional<z.ZodNumber>;
1461
+ disk: z.ZodOptional<z.ZodNumber>;
1462
+ minDisk: z.ZodOptional<z.ZodNumber>;
1463
+ maxDisk: z.ZodOptional<z.ZodNumber>;
1464
+ cpuMode: z.ZodOptional<z.ZodEnum<["DEDICATED", "SHARED"]>>;
1465
+ startCpuCoreCount: z.ZodOptional<z.ZodNumber>;
1466
+ swapEnabled: z.ZodOptional<z.ZodBoolean>;
1467
+ minFreeCpuCores: z.ZodOptional<z.ZodNumber>;
1468
+ minFreeCpuPercent: z.ZodOptional<z.ZodNumber>;
1469
+ minFreeRamGB: z.ZodOptional<z.ZodNumber>;
1470
+ minFreeRamPercent: z.ZodOptional<z.ZodNumber>;
1471
+ minVCpu: z.ZodOptional<z.ZodNumber>;
1472
+ maxVCpu: z.ZodOptional<z.ZodNumber>;
1473
+ }, "strict", z.ZodTypeAny, {
1474
+ minRam?: number | undefined;
1475
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1476
+ startCpuCoreCount?: number | undefined;
1477
+ swapEnabled?: boolean | undefined;
1478
+ cpu?: number | undefined;
1479
+ minCpu?: number | undefined;
1480
+ maxCpu?: number | undefined;
1481
+ ram?: number | undefined;
1482
+ maxRam?: number | undefined;
1483
+ disk?: number | undefined;
1484
+ minDisk?: number | undefined;
1485
+ maxDisk?: number | undefined;
1486
+ minFreeCpuCores?: number | undefined;
1487
+ minFreeCpuPercent?: number | undefined;
1488
+ minFreeRamGB?: number | undefined;
1489
+ minFreeRamPercent?: number | undefined;
1490
+ minVCpu?: number | undefined;
1491
+ maxVCpu?: number | undefined;
1492
+ }, {
1493
+ minRam?: number | undefined;
1494
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1495
+ startCpuCoreCount?: number | undefined;
1496
+ swapEnabled?: boolean | undefined;
1497
+ cpu?: number | undefined;
1498
+ minCpu?: number | undefined;
1499
+ maxCpu?: number | undefined;
1500
+ ram?: number | undefined;
1501
+ maxRam?: number | undefined;
1502
+ disk?: number | undefined;
1503
+ minDisk?: number | undefined;
1504
+ maxDisk?: number | undefined;
1505
+ minFreeCpuCores?: number | undefined;
1506
+ minFreeCpuPercent?: number | undefined;
1507
+ minFreeRamGB?: number | undefined;
1508
+ minFreeRamPercent?: number | undefined;
1509
+ minVCpu?: number | undefined;
1510
+ maxVCpu?: number | undefined;
1511
+ }>>;
1512
+ }, "strict", z.ZodTypeAny, {
1513
+ type: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3";
1514
+ hostname: string;
1515
+ mount?: string[] | undefined;
1516
+ envIsolation?: string | undefined;
1517
+ override?: boolean | undefined;
1518
+ envSecrets?: Record<string, string> | undefined;
1519
+ dotEnvSecrets?: string | undefined;
1520
+ mode?: string | undefined;
1521
+ os?: string | undefined;
1522
+ nginxConfig?: string | undefined;
1523
+ objectStorageSize?: number | undefined;
1524
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1525
+ objectStorageRawPolicy?: string | undefined;
1526
+ buildFromGit?: string | undefined;
1527
+ startWithoutCode?: boolean | undefined;
1528
+ enableSubdomainAccess?: boolean | undefined;
1529
+ priority?: number | undefined;
1530
+ verticalAutoscaling?: {
1531
+ minRam?: number | undefined;
1532
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1533
+ startCpuCoreCount?: number | undefined;
1534
+ swapEnabled?: boolean | undefined;
1535
+ cpu?: number | undefined;
1536
+ minCpu?: number | undefined;
1537
+ maxCpu?: number | undefined;
1538
+ ram?: number | undefined;
1539
+ maxRam?: number | undefined;
1540
+ disk?: number | undefined;
1541
+ minDisk?: number | undefined;
1542
+ maxDisk?: number | undefined;
1543
+ minFreeCpuCores?: number | undefined;
1544
+ minFreeCpuPercent?: number | undefined;
1545
+ minFreeRamGB?: number | undefined;
1546
+ minFreeRamPercent?: number | undefined;
1547
+ minVCpu?: number | undefined;
1548
+ maxVCpu?: number | undefined;
1549
+ } | undefined;
1550
+ minContainers?: number | undefined;
1551
+ maxContainers?: number | undefined;
1552
+ enableCdn?: boolean | undefined;
1553
+ sshIsolation?: string | undefined;
1554
+ zeropsSetup?: string | undefined;
1555
+ }, {
1556
+ type: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3";
1557
+ hostname: string;
1558
+ mount?: string[] | undefined;
1559
+ envIsolation?: string | undefined;
1560
+ override?: boolean | undefined;
1561
+ envSecrets?: Record<string, string> | undefined;
1562
+ dotEnvSecrets?: string | undefined;
1563
+ mode?: string | undefined;
1564
+ os?: string | undefined;
1565
+ nginxConfig?: string | undefined;
1566
+ objectStorageSize?: number | undefined;
1567
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1568
+ objectStorageRawPolicy?: string | undefined;
1569
+ buildFromGit?: string | undefined;
1570
+ startWithoutCode?: boolean | undefined;
1571
+ enableSubdomainAccess?: boolean | undefined;
1572
+ priority?: number | undefined;
1573
+ verticalAutoscaling?: {
1574
+ minRam?: number | undefined;
1575
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1576
+ startCpuCoreCount?: number | undefined;
1577
+ swapEnabled?: boolean | undefined;
1578
+ cpu?: number | undefined;
1579
+ minCpu?: number | undefined;
1580
+ maxCpu?: number | undefined;
1581
+ ram?: number | undefined;
1582
+ maxRam?: number | undefined;
1583
+ disk?: number | undefined;
1584
+ minDisk?: number | undefined;
1585
+ maxDisk?: number | undefined;
1586
+ minFreeCpuCores?: number | undefined;
1587
+ minFreeCpuPercent?: number | undefined;
1588
+ minFreeRamGB?: number | undefined;
1589
+ minFreeRamPercent?: number | undefined;
1590
+ minVCpu?: number | undefined;
1591
+ maxVCpu?: number | undefined;
1592
+ } | undefined;
1593
+ minContainers?: number | undefined;
1594
+ maxContainers?: number | undefined;
1595
+ enableCdn?: boolean | undefined;
1596
+ sshIsolation?: string | undefined;
1597
+ zeropsSetup?: string | undefined;
1598
+ }>, z.ZodEffects<z.ZodObject<{
1599
+ hostname: z.ZodString;
1600
+ mode: z.ZodOptional<z.ZodString>;
1601
+ envSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1602
+ dotEnvSecrets: z.ZodOptional<z.ZodString>;
1603
+ nginxConfig: z.ZodOptional<z.ZodString>;
1604
+ objectStorageSize: z.ZodOptional<z.ZodNumber>;
1605
+ objectStoragePolicy: z.ZodOptional<z.ZodEnum<["custom", "private", "public-read", "public-objects-read", "public-write", "public-read-write"]>>;
1606
+ objectStorageRawPolicy: z.ZodOptional<z.ZodString>;
1607
+ buildFromGit: z.ZodOptional<z.ZodString>;
1608
+ startWithoutCode: z.ZodOptional<z.ZodBoolean>;
1609
+ enableSubdomainAccess: z.ZodOptional<z.ZodBoolean>;
1610
+ priority: z.ZodOptional<z.ZodNumber>;
1611
+ mount: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1612
+ enableCdn: z.ZodOptional<z.ZodBoolean>;
1613
+ envIsolation: z.ZodOptional<z.ZodString>;
1614
+ sshIsolation: z.ZodOptional<z.ZodString>;
1615
+ os: z.ZodOptional<z.ZodString>;
1616
+ zeropsSetup: z.ZodOptional<z.ZodString>;
1617
+ override: z.ZodOptional<z.ZodBoolean>;
1618
+ } & {
1619
+ type: z.ZodEnum<["postgresql:ha@14", "postgresql:ha@16", "postgresql:ha@17", "postgresql:ha@18", "postgresql:single@14", "postgresql:single@16", "postgresql:single@17", "postgresql:single@18"]>;
1620
+ profile: z.ZodOptional<z.ZodEnum<["oltp-hobby", "oltp-staging", "oltp-production", "oltp-enterprise", "olap-production", "writeheavy-production", "custom"]>>;
1621
+ profileOverrides: z.ZodOptional<z.ZodUnknown>;
1622
+ verticalAutoscaling: z.ZodOptional<z.ZodObject<{
1623
+ cpu: z.ZodOptional<z.ZodNumber>;
1624
+ minCpu: z.ZodOptional<z.ZodNumber>;
1625
+ maxCpu: z.ZodOptional<z.ZodNumber>;
1626
+ disk: z.ZodOptional<z.ZodNumber>;
1627
+ minDisk: z.ZodOptional<z.ZodNumber>;
1628
+ maxDisk: z.ZodOptional<z.ZodNumber>;
1629
+ cpuMode: z.ZodOptional<z.ZodEnum<["DEDICATED", "SHARED"]>>;
1630
+ startCpuCoreCount: z.ZodOptional<z.ZodNumber>;
1631
+ swapEnabled: z.ZodOptional<z.ZodBoolean>;
1632
+ minFreeCpuCores: z.ZodOptional<z.ZodNumber>;
1633
+ minFreeCpuPercent: z.ZodOptional<z.ZodNumber>;
1634
+ minFreeRamGB: z.ZodOptional<z.ZodNumber>;
1635
+ minFreeRamPercent: z.ZodOptional<z.ZodNumber>;
1636
+ minVCpu: z.ZodOptional<z.ZodNumber>;
1637
+ maxVCpu: z.ZodOptional<z.ZodNumber>;
1638
+ } & {
1639
+ ram: z.ZodOptional<z.ZodNumber>;
1640
+ minRam: z.ZodOptional<z.ZodNumber>;
1641
+ maxRam: z.ZodOptional<z.ZodNumber>;
1642
+ }, "strict", z.ZodTypeAny, {
1643
+ minRam?: number | undefined;
1644
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1645
+ startCpuCoreCount?: number | undefined;
1646
+ swapEnabled?: boolean | undefined;
1647
+ cpu?: number | undefined;
1648
+ minCpu?: number | undefined;
1649
+ maxCpu?: number | undefined;
1650
+ ram?: number | undefined;
1651
+ maxRam?: number | undefined;
1652
+ disk?: number | undefined;
1653
+ minDisk?: number | undefined;
1654
+ maxDisk?: number | undefined;
1655
+ minFreeCpuCores?: number | undefined;
1656
+ minFreeCpuPercent?: number | undefined;
1657
+ minFreeRamGB?: number | undefined;
1658
+ minFreeRamPercent?: number | undefined;
1659
+ minVCpu?: number | undefined;
1660
+ maxVCpu?: number | undefined;
1661
+ }, {
1662
+ minRam?: number | undefined;
1663
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1664
+ startCpuCoreCount?: number | undefined;
1665
+ swapEnabled?: boolean | undefined;
1666
+ cpu?: number | undefined;
1667
+ minCpu?: number | undefined;
1668
+ maxCpu?: number | undefined;
1669
+ ram?: number | undefined;
1670
+ maxRam?: number | undefined;
1671
+ disk?: number | undefined;
1672
+ minDisk?: number | undefined;
1673
+ maxDisk?: number | undefined;
1674
+ minFreeCpuCores?: number | undefined;
1675
+ minFreeCpuPercent?: number | undefined;
1676
+ minFreeRamGB?: number | undefined;
1677
+ minFreeRamPercent?: number | undefined;
1678
+ minVCpu?: number | undefined;
1679
+ maxVCpu?: number | undefined;
1680
+ }>>;
1681
+ }, "strict", z.ZodTypeAny, {
1682
+ type: "postgresql:ha@14" | "postgresql:ha@16" | "postgresql:ha@17" | "postgresql:ha@18" | "postgresql:single@14" | "postgresql:single@16" | "postgresql:single@17" | "postgresql:single@18";
1683
+ hostname: string;
1684
+ mount?: string[] | undefined;
1685
+ envIsolation?: string | undefined;
1686
+ override?: boolean | undefined;
1687
+ envSecrets?: Record<string, string> | undefined;
1688
+ dotEnvSecrets?: string | undefined;
1689
+ mode?: string | undefined;
1690
+ os?: string | undefined;
1691
+ nginxConfig?: string | undefined;
1692
+ objectStorageSize?: number | undefined;
1693
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1694
+ objectStorageRawPolicy?: string | undefined;
1695
+ buildFromGit?: string | undefined;
1696
+ startWithoutCode?: boolean | undefined;
1697
+ enableSubdomainAccess?: boolean | undefined;
1698
+ priority?: number | undefined;
1699
+ verticalAutoscaling?: {
1700
+ minRam?: number | undefined;
1701
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1702
+ startCpuCoreCount?: number | undefined;
1703
+ swapEnabled?: boolean | undefined;
1704
+ cpu?: number | undefined;
1705
+ minCpu?: number | undefined;
1706
+ maxCpu?: number | undefined;
1707
+ ram?: number | undefined;
1708
+ maxRam?: number | undefined;
1709
+ disk?: number | undefined;
1710
+ minDisk?: number | undefined;
1711
+ maxDisk?: number | undefined;
1712
+ minFreeCpuCores?: number | undefined;
1713
+ minFreeCpuPercent?: number | undefined;
1714
+ minFreeRamGB?: number | undefined;
1715
+ minFreeRamPercent?: number | undefined;
1716
+ minVCpu?: number | undefined;
1717
+ maxVCpu?: number | undefined;
1718
+ } | undefined;
1719
+ profile?: "custom" | "oltp-staging" | "oltp-production" | "oltp-enterprise" | "olap-production" | "writeheavy-production" | "oltp-hobby" | undefined;
1720
+ profileOverrides?: unknown;
1721
+ enableCdn?: boolean | undefined;
1722
+ sshIsolation?: string | undefined;
1723
+ zeropsSetup?: string | undefined;
1724
+ }, {
1725
+ type: "postgresql:ha@14" | "postgresql:ha@16" | "postgresql:ha@17" | "postgresql:ha@18" | "postgresql:single@14" | "postgresql:single@16" | "postgresql:single@17" | "postgresql:single@18";
1726
+ hostname: string;
1727
+ mount?: string[] | undefined;
1728
+ envIsolation?: string | undefined;
1729
+ override?: boolean | undefined;
1730
+ envSecrets?: Record<string, string> | undefined;
1731
+ dotEnvSecrets?: string | undefined;
1732
+ mode?: string | undefined;
1733
+ os?: string | undefined;
1734
+ nginxConfig?: string | undefined;
1735
+ objectStorageSize?: number | undefined;
1736
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1737
+ objectStorageRawPolicy?: string | undefined;
1738
+ buildFromGit?: string | undefined;
1739
+ startWithoutCode?: boolean | undefined;
1740
+ enableSubdomainAccess?: boolean | undefined;
1741
+ priority?: number | undefined;
1742
+ verticalAutoscaling?: {
1743
+ minRam?: number | undefined;
1744
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1745
+ startCpuCoreCount?: number | undefined;
1746
+ swapEnabled?: boolean | undefined;
1747
+ cpu?: number | undefined;
1748
+ minCpu?: number | undefined;
1749
+ maxCpu?: number | undefined;
1750
+ ram?: number | undefined;
1751
+ maxRam?: number | undefined;
1752
+ disk?: number | undefined;
1753
+ minDisk?: number | undefined;
1754
+ maxDisk?: number | undefined;
1755
+ minFreeCpuCores?: number | undefined;
1756
+ minFreeCpuPercent?: number | undefined;
1757
+ minFreeRamGB?: number | undefined;
1758
+ minFreeRamPercent?: number | undefined;
1759
+ minVCpu?: number | undefined;
1760
+ maxVCpu?: number | undefined;
1761
+ } | undefined;
1762
+ profile?: "custom" | "oltp-staging" | "oltp-production" | "oltp-enterprise" | "olap-production" | "writeheavy-production" | "oltp-hobby" | undefined;
1763
+ profileOverrides?: unknown;
1764
+ enableCdn?: boolean | undefined;
1765
+ sshIsolation?: string | undefined;
1766
+ zeropsSetup?: string | undefined;
1767
+ }>, {
1768
+ type: "postgresql:ha@14" | "postgresql:ha@16" | "postgresql:ha@17" | "postgresql:ha@18" | "postgresql:single@14" | "postgresql:single@16" | "postgresql:single@17" | "postgresql:single@18";
1769
+ hostname: string;
1770
+ mount?: string[] | undefined;
1771
+ envIsolation?: string | undefined;
1772
+ override?: boolean | undefined;
1773
+ envSecrets?: Record<string, string> | undefined;
1774
+ dotEnvSecrets?: string | undefined;
1775
+ mode?: string | undefined;
1776
+ os?: string | undefined;
1777
+ nginxConfig?: string | undefined;
1778
+ objectStorageSize?: number | undefined;
1779
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1780
+ objectStorageRawPolicy?: string | undefined;
1781
+ buildFromGit?: string | undefined;
1782
+ startWithoutCode?: boolean | undefined;
1783
+ enableSubdomainAccess?: boolean | undefined;
1784
+ priority?: number | undefined;
1785
+ verticalAutoscaling?: {
1786
+ minRam?: number | undefined;
1787
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1788
+ startCpuCoreCount?: number | undefined;
1789
+ swapEnabled?: boolean | undefined;
1790
+ cpu?: number | undefined;
1791
+ minCpu?: number | undefined;
1792
+ maxCpu?: number | undefined;
1793
+ ram?: number | undefined;
1794
+ maxRam?: number | undefined;
1795
+ disk?: number | undefined;
1796
+ minDisk?: number | undefined;
1797
+ maxDisk?: number | undefined;
1798
+ minFreeCpuCores?: number | undefined;
1799
+ minFreeCpuPercent?: number | undefined;
1800
+ minFreeRamGB?: number | undefined;
1801
+ minFreeRamPercent?: number | undefined;
1802
+ minVCpu?: number | undefined;
1803
+ maxVCpu?: number | undefined;
1804
+ } | undefined;
1805
+ profile?: "custom" | "oltp-staging" | "oltp-production" | "oltp-enterprise" | "olap-production" | "writeheavy-production" | "oltp-hobby" | undefined;
1806
+ profileOverrides?: unknown;
1807
+ enableCdn?: boolean | undefined;
1808
+ sshIsolation?: string | undefined;
1809
+ zeropsSetup?: string | undefined;
1810
+ }, {
1811
+ type: "postgresql:ha@14" | "postgresql:ha@16" | "postgresql:ha@17" | "postgresql:ha@18" | "postgresql:single@14" | "postgresql:single@16" | "postgresql:single@17" | "postgresql:single@18";
1812
+ hostname: string;
1813
+ mount?: string[] | undefined;
1814
+ envIsolation?: string | undefined;
1815
+ override?: boolean | undefined;
1816
+ envSecrets?: Record<string, string> | undefined;
1817
+ dotEnvSecrets?: string | undefined;
1818
+ mode?: string | undefined;
1819
+ os?: string | undefined;
1820
+ nginxConfig?: string | undefined;
1821
+ objectStorageSize?: number | undefined;
1822
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1823
+ objectStorageRawPolicy?: string | undefined;
1824
+ buildFromGit?: string | undefined;
1825
+ startWithoutCode?: boolean | undefined;
1826
+ enableSubdomainAccess?: boolean | undefined;
1827
+ priority?: number | undefined;
1828
+ verticalAutoscaling?: {
1829
+ minRam?: number | undefined;
1830
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1831
+ startCpuCoreCount?: number | undefined;
1832
+ swapEnabled?: boolean | undefined;
1833
+ cpu?: number | undefined;
1834
+ minCpu?: number | undefined;
1835
+ maxCpu?: number | undefined;
1836
+ ram?: number | undefined;
1837
+ maxRam?: number | undefined;
1838
+ disk?: number | undefined;
1839
+ minDisk?: number | undefined;
1840
+ maxDisk?: number | undefined;
1841
+ minFreeCpuCores?: number | undefined;
1842
+ minFreeCpuPercent?: number | undefined;
1843
+ minFreeRamGB?: number | undefined;
1844
+ minFreeRamPercent?: number | undefined;
1845
+ minVCpu?: number | undefined;
1846
+ maxVCpu?: number | undefined;
1847
+ } | undefined;
1848
+ profile?: "custom" | "oltp-staging" | "oltp-production" | "oltp-enterprise" | "olap-production" | "writeheavy-production" | "oltp-hobby" | undefined;
1849
+ profileOverrides?: unknown;
1850
+ enableCdn?: boolean | undefined;
1851
+ sshIsolation?: string | undefined;
1852
+ zeropsSetup?: string | undefined;
1853
+ }>, z.ZodObject<{
1854
+ hostname: z.ZodString;
1855
+ mode: z.ZodOptional<z.ZodString>;
1856
+ envSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1857
+ dotEnvSecrets: z.ZodOptional<z.ZodString>;
1858
+ nginxConfig: z.ZodOptional<z.ZodString>;
1859
+ objectStorageSize: z.ZodOptional<z.ZodNumber>;
1860
+ objectStoragePolicy: z.ZodOptional<z.ZodEnum<["custom", "private", "public-read", "public-objects-read", "public-write", "public-read-write"]>>;
1861
+ objectStorageRawPolicy: z.ZodOptional<z.ZodString>;
1862
+ buildFromGit: z.ZodOptional<z.ZodString>;
1863
+ startWithoutCode: z.ZodOptional<z.ZodBoolean>;
1864
+ enableSubdomainAccess: z.ZodOptional<z.ZodBoolean>;
1865
+ priority: z.ZodOptional<z.ZodNumber>;
1866
+ mount: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1867
+ enableCdn: z.ZodOptional<z.ZodBoolean>;
1868
+ envIsolation: z.ZodOptional<z.ZodString>;
1869
+ sshIsolation: z.ZodOptional<z.ZodString>;
1870
+ os: z.ZodOptional<z.ZodString>;
1871
+ zeropsSetup: z.ZodOptional<z.ZodString>;
1872
+ override: z.ZodOptional<z.ZodBoolean>;
1873
+ } & {
1874
+ type: z.ZodEnum<["object-storage", "objectstorage"]>;
1875
+ verticalAutoscaling: z.ZodOptional<z.ZodObject<Omit<{
1876
+ cpu: z.ZodOptional<z.ZodNumber>;
1877
+ minCpu: z.ZodOptional<z.ZodNumber>;
1878
+ maxCpu: z.ZodOptional<z.ZodNumber>;
1879
+ ram: z.ZodOptional<z.ZodNumber>;
1880
+ minRam: z.ZodOptional<z.ZodNumber>;
1881
+ maxRam: z.ZodOptional<z.ZodNumber>;
1882
+ disk: z.ZodOptional<z.ZodNumber>;
1883
+ minDisk: z.ZodOptional<z.ZodNumber>;
1884
+ maxDisk: z.ZodOptional<z.ZodNumber>;
1885
+ cpuMode: z.ZodOptional<z.ZodEnum<["DEDICATED", "SHARED"]>>;
1886
+ startCpuCoreCount: z.ZodOptional<z.ZodNumber>;
1887
+ swapEnabled: z.ZodOptional<z.ZodBoolean>;
1888
+ minFreeCpuCores: z.ZodOptional<z.ZodNumber>;
1889
+ minFreeCpuPercent: z.ZodOptional<z.ZodNumber>;
1890
+ minFreeRamGB: z.ZodOptional<z.ZodNumber>;
1891
+ minFreeRamPercent: z.ZodOptional<z.ZodNumber>;
1892
+ minVCpu: z.ZodOptional<z.ZodNumber>;
1893
+ maxVCpu: z.ZodOptional<z.ZodNumber>;
1894
+ }, "minRam" | "cpu" | "minCpu" | "maxCpu" | "ram" | "maxRam" | "disk" | "minDisk" | "maxDisk">, "strict", z.ZodTypeAny, {
1895
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1896
+ startCpuCoreCount?: number | undefined;
1897
+ swapEnabled?: boolean | undefined;
1898
+ minFreeCpuCores?: number | undefined;
1899
+ minFreeCpuPercent?: number | undefined;
1900
+ minFreeRamGB?: number | undefined;
1901
+ minFreeRamPercent?: number | undefined;
1902
+ minVCpu?: number | undefined;
1903
+ maxVCpu?: number | undefined;
1904
+ }, {
1905
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1906
+ startCpuCoreCount?: number | undefined;
1907
+ swapEnabled?: boolean | undefined;
1908
+ minFreeCpuCores?: number | undefined;
1909
+ minFreeCpuPercent?: number | undefined;
1910
+ minFreeRamGB?: number | undefined;
1911
+ minFreeRamPercent?: number | undefined;
1912
+ minVCpu?: number | undefined;
1913
+ maxVCpu?: number | undefined;
1914
+ }>>;
1915
+ }, "strict", z.ZodTypeAny, {
1916
+ type: "object-storage" | "objectstorage";
1917
+ hostname: string;
1918
+ mount?: string[] | undefined;
1919
+ envIsolation?: string | undefined;
1920
+ override?: boolean | undefined;
1921
+ envSecrets?: Record<string, string> | undefined;
1922
+ dotEnvSecrets?: string | undefined;
1923
+ mode?: string | undefined;
1924
+ os?: string | undefined;
1925
+ nginxConfig?: string | undefined;
1926
+ objectStorageSize?: number | undefined;
1927
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1928
+ objectStorageRawPolicy?: string | undefined;
1929
+ buildFromGit?: string | undefined;
1930
+ startWithoutCode?: boolean | undefined;
1931
+ enableSubdomainAccess?: boolean | undefined;
1932
+ priority?: number | undefined;
1933
+ verticalAutoscaling?: {
1934
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1935
+ startCpuCoreCount?: number | undefined;
1936
+ swapEnabled?: boolean | undefined;
1937
+ minFreeCpuCores?: number | undefined;
1938
+ minFreeCpuPercent?: number | undefined;
1939
+ minFreeRamGB?: number | undefined;
1940
+ minFreeRamPercent?: number | undefined;
1941
+ minVCpu?: number | undefined;
1942
+ maxVCpu?: number | undefined;
1943
+ } | undefined;
1944
+ enableCdn?: boolean | undefined;
1945
+ sshIsolation?: string | undefined;
1946
+ zeropsSetup?: string | undefined;
1947
+ }, {
1948
+ type: "object-storage" | "objectstorage";
1949
+ hostname: string;
1950
+ mount?: string[] | undefined;
1951
+ envIsolation?: string | undefined;
1952
+ override?: boolean | undefined;
1953
+ envSecrets?: Record<string, string> | undefined;
1954
+ dotEnvSecrets?: string | undefined;
1955
+ mode?: string | undefined;
1956
+ os?: string | undefined;
1957
+ nginxConfig?: string | undefined;
1958
+ objectStorageSize?: number | undefined;
1959
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
1960
+ objectStorageRawPolicy?: string | undefined;
1961
+ buildFromGit?: string | undefined;
1962
+ startWithoutCode?: boolean | undefined;
1963
+ enableSubdomainAccess?: boolean | undefined;
1964
+ priority?: number | undefined;
1965
+ verticalAutoscaling?: {
1966
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
1967
+ startCpuCoreCount?: number | undefined;
1968
+ swapEnabled?: boolean | undefined;
1969
+ minFreeCpuCores?: number | undefined;
1970
+ minFreeCpuPercent?: number | undefined;
1971
+ minFreeRamGB?: number | undefined;
1972
+ minFreeRamPercent?: number | undefined;
1973
+ minVCpu?: number | undefined;
1974
+ maxVCpu?: number | undefined;
1975
+ } | undefined;
1976
+ enableCdn?: boolean | undefined;
1977
+ sshIsolation?: string | undefined;
1978
+ zeropsSetup?: string | undefined;
1979
+ }>]>, "many">>;
1980
+ }, "strict", z.ZodTypeAny, {
1981
+ project?: {
1982
+ name: string;
1983
+ description?: string | undefined;
1984
+ envIsolation?: string | undefined;
1985
+ sshIsolation?: string | undefined;
1986
+ envVariables?: Record<string, string> | undefined;
1987
+ corePackage?: "LIGHT" | "SERIOUS" | undefined;
1988
+ tags?: string[] | undefined;
1989
+ sharedIpv4?: boolean | undefined;
1990
+ location?: "eu-central" | "us-east-1" | "us-west-1" | undefined;
1991
+ } | undefined;
1992
+ services?: ({
1993
+ type: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3";
1994
+ hostname: string;
1995
+ mount?: string[] | undefined;
1996
+ envIsolation?: string | undefined;
1997
+ override?: boolean | undefined;
1998
+ envSecrets?: Record<string, string> | undefined;
1999
+ dotEnvSecrets?: string | undefined;
2000
+ mode?: string | undefined;
2001
+ os?: string | undefined;
2002
+ nginxConfig?: string | undefined;
2003
+ objectStorageSize?: number | undefined;
2004
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2005
+ objectStorageRawPolicy?: string | undefined;
2006
+ buildFromGit?: string | undefined;
2007
+ startWithoutCode?: boolean | undefined;
2008
+ enableSubdomainAccess?: boolean | undefined;
2009
+ priority?: number | undefined;
2010
+ verticalAutoscaling?: {
2011
+ minRam?: number | undefined;
2012
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
2013
+ startCpuCoreCount?: number | undefined;
2014
+ swapEnabled?: boolean | undefined;
2015
+ cpu?: number | undefined;
2016
+ minCpu?: number | undefined;
2017
+ maxCpu?: number | undefined;
2018
+ ram?: number | undefined;
2019
+ maxRam?: number | undefined;
2020
+ disk?: number | undefined;
2021
+ minDisk?: number | undefined;
2022
+ maxDisk?: number | undefined;
2023
+ minFreeCpuCores?: number | undefined;
2024
+ minFreeCpuPercent?: number | undefined;
2025
+ minFreeRamGB?: number | undefined;
2026
+ minFreeRamPercent?: number | undefined;
2027
+ minVCpu?: number | undefined;
2028
+ maxVCpu?: number | undefined;
2029
+ } | undefined;
2030
+ minContainers?: number | undefined;
2031
+ maxContainers?: number | undefined;
2032
+ enableCdn?: boolean | undefined;
2033
+ sshIsolation?: string | undefined;
2034
+ zeropsSetup?: string | undefined;
2035
+ } | {
2036
+ type: "postgresql:ha@14" | "postgresql:ha@16" | "postgresql:ha@17" | "postgresql:ha@18" | "postgresql:single@14" | "postgresql:single@16" | "postgresql:single@17" | "postgresql:single@18";
2037
+ hostname: string;
2038
+ mount?: string[] | undefined;
2039
+ envIsolation?: string | undefined;
2040
+ override?: boolean | undefined;
2041
+ envSecrets?: Record<string, string> | undefined;
2042
+ dotEnvSecrets?: string | undefined;
2043
+ mode?: string | undefined;
2044
+ os?: string | undefined;
2045
+ nginxConfig?: string | undefined;
2046
+ objectStorageSize?: number | undefined;
2047
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2048
+ objectStorageRawPolicy?: string | undefined;
2049
+ buildFromGit?: string | undefined;
2050
+ startWithoutCode?: boolean | undefined;
2051
+ enableSubdomainAccess?: boolean | undefined;
2052
+ priority?: number | undefined;
2053
+ verticalAutoscaling?: {
2054
+ minRam?: number | undefined;
2055
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
2056
+ startCpuCoreCount?: number | undefined;
2057
+ swapEnabled?: boolean | undefined;
2058
+ cpu?: number | undefined;
2059
+ minCpu?: number | undefined;
2060
+ maxCpu?: number | undefined;
2061
+ ram?: number | undefined;
2062
+ maxRam?: number | undefined;
2063
+ disk?: number | undefined;
2064
+ minDisk?: number | undefined;
2065
+ maxDisk?: number | undefined;
2066
+ minFreeCpuCores?: number | undefined;
2067
+ minFreeCpuPercent?: number | undefined;
2068
+ minFreeRamGB?: number | undefined;
2069
+ minFreeRamPercent?: number | undefined;
2070
+ minVCpu?: number | undefined;
2071
+ maxVCpu?: number | undefined;
2072
+ } | undefined;
2073
+ profile?: "custom" | "oltp-staging" | "oltp-production" | "oltp-enterprise" | "olap-production" | "writeheavy-production" | "oltp-hobby" | undefined;
2074
+ profileOverrides?: unknown;
2075
+ enableCdn?: boolean | undefined;
2076
+ sshIsolation?: string | undefined;
2077
+ zeropsSetup?: string | undefined;
2078
+ } | {
2079
+ type: "object-storage" | "objectstorage";
2080
+ hostname: string;
2081
+ mount?: string[] | undefined;
2082
+ envIsolation?: string | undefined;
2083
+ override?: boolean | undefined;
2084
+ envSecrets?: Record<string, string> | undefined;
2085
+ dotEnvSecrets?: string | undefined;
2086
+ mode?: string | undefined;
2087
+ os?: string | undefined;
2088
+ nginxConfig?: string | undefined;
2089
+ objectStorageSize?: number | undefined;
2090
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2091
+ objectStorageRawPolicy?: string | undefined;
2092
+ buildFromGit?: string | undefined;
2093
+ startWithoutCode?: boolean | undefined;
2094
+ enableSubdomainAccess?: boolean | undefined;
2095
+ priority?: number | undefined;
2096
+ verticalAutoscaling?: {
2097
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
2098
+ startCpuCoreCount?: number | undefined;
2099
+ swapEnabled?: boolean | undefined;
2100
+ minFreeCpuCores?: number | undefined;
2101
+ minFreeCpuPercent?: number | undefined;
2102
+ minFreeRamGB?: number | undefined;
2103
+ minFreeRamPercent?: number | undefined;
2104
+ minVCpu?: number | undefined;
2105
+ maxVCpu?: number | undefined;
2106
+ } | undefined;
2107
+ enableCdn?: boolean | undefined;
2108
+ sshIsolation?: string | undefined;
2109
+ zeropsSetup?: string | undefined;
2110
+ })[] | undefined;
2111
+ }, {
2112
+ project?: {
2113
+ name: string;
2114
+ description?: string | undefined;
2115
+ envIsolation?: string | undefined;
2116
+ sshIsolation?: string | undefined;
2117
+ envVariables?: Record<string, string> | undefined;
2118
+ corePackage?: "LIGHT" | "SERIOUS" | undefined;
2119
+ tags?: string[] | undefined;
2120
+ sharedIpv4?: boolean | undefined;
2121
+ location?: "eu-central" | "us-east-1" | "us-west-1" | undefined;
2122
+ } | undefined;
2123
+ services?: ({
2124
+ type: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3";
2125
+ hostname: string;
2126
+ mount?: string[] | undefined;
2127
+ envIsolation?: string | undefined;
2128
+ override?: boolean | undefined;
2129
+ envSecrets?: Record<string, string> | undefined;
2130
+ dotEnvSecrets?: string | undefined;
2131
+ mode?: string | undefined;
2132
+ os?: string | undefined;
2133
+ nginxConfig?: string | undefined;
2134
+ objectStorageSize?: number | undefined;
2135
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2136
+ objectStorageRawPolicy?: string | undefined;
2137
+ buildFromGit?: string | undefined;
2138
+ startWithoutCode?: boolean | undefined;
2139
+ enableSubdomainAccess?: boolean | undefined;
2140
+ priority?: number | undefined;
2141
+ verticalAutoscaling?: {
2142
+ minRam?: number | undefined;
2143
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
2144
+ startCpuCoreCount?: number | undefined;
2145
+ swapEnabled?: boolean | undefined;
2146
+ cpu?: number | undefined;
2147
+ minCpu?: number | undefined;
2148
+ maxCpu?: number | undefined;
2149
+ ram?: number | undefined;
2150
+ maxRam?: number | undefined;
2151
+ disk?: number | undefined;
2152
+ minDisk?: number | undefined;
2153
+ maxDisk?: number | undefined;
2154
+ minFreeCpuCores?: number | undefined;
2155
+ minFreeCpuPercent?: number | undefined;
2156
+ minFreeRamGB?: number | undefined;
2157
+ minFreeRamPercent?: number | undefined;
2158
+ minVCpu?: number | undefined;
2159
+ maxVCpu?: number | undefined;
2160
+ } | undefined;
2161
+ minContainers?: number | undefined;
2162
+ maxContainers?: number | undefined;
2163
+ enableCdn?: boolean | undefined;
2164
+ sshIsolation?: string | undefined;
2165
+ zeropsSetup?: string | undefined;
2166
+ } | {
2167
+ type: "postgresql:ha@14" | "postgresql:ha@16" | "postgresql:ha@17" | "postgresql:ha@18" | "postgresql:single@14" | "postgresql:single@16" | "postgresql:single@17" | "postgresql:single@18";
2168
+ hostname: string;
2169
+ mount?: string[] | undefined;
2170
+ envIsolation?: string | undefined;
2171
+ override?: boolean | undefined;
2172
+ envSecrets?: Record<string, string> | undefined;
2173
+ dotEnvSecrets?: string | undefined;
2174
+ mode?: string | undefined;
2175
+ os?: string | undefined;
2176
+ nginxConfig?: string | undefined;
2177
+ objectStorageSize?: number | undefined;
2178
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2179
+ objectStorageRawPolicy?: string | undefined;
2180
+ buildFromGit?: string | undefined;
2181
+ startWithoutCode?: boolean | undefined;
2182
+ enableSubdomainAccess?: boolean | undefined;
2183
+ priority?: number | undefined;
2184
+ verticalAutoscaling?: {
2185
+ minRam?: number | undefined;
2186
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
2187
+ startCpuCoreCount?: number | undefined;
2188
+ swapEnabled?: boolean | undefined;
2189
+ cpu?: number | undefined;
2190
+ minCpu?: number | undefined;
2191
+ maxCpu?: number | undefined;
2192
+ ram?: number | undefined;
2193
+ maxRam?: number | undefined;
2194
+ disk?: number | undefined;
2195
+ minDisk?: number | undefined;
2196
+ maxDisk?: number | undefined;
2197
+ minFreeCpuCores?: number | undefined;
2198
+ minFreeCpuPercent?: number | undefined;
2199
+ minFreeRamGB?: number | undefined;
2200
+ minFreeRamPercent?: number | undefined;
2201
+ minVCpu?: number | undefined;
2202
+ maxVCpu?: number | undefined;
2203
+ } | undefined;
2204
+ profile?: "custom" | "oltp-staging" | "oltp-production" | "oltp-enterprise" | "olap-production" | "writeheavy-production" | "oltp-hobby" | undefined;
2205
+ profileOverrides?: unknown;
2206
+ enableCdn?: boolean | undefined;
2207
+ sshIsolation?: string | undefined;
2208
+ zeropsSetup?: string | undefined;
2209
+ } | {
2210
+ type: "object-storage" | "objectstorage";
2211
+ hostname: string;
2212
+ mount?: string[] | undefined;
2213
+ envIsolation?: string | undefined;
2214
+ override?: boolean | undefined;
2215
+ envSecrets?: Record<string, string> | undefined;
2216
+ dotEnvSecrets?: string | undefined;
2217
+ mode?: string | undefined;
2218
+ os?: string | undefined;
2219
+ nginxConfig?: string | undefined;
2220
+ objectStorageSize?: number | undefined;
2221
+ objectStoragePolicy?: "custom" | "private" | "public-read" | "public-objects-read" | "public-write" | "public-read-write" | undefined;
2222
+ objectStorageRawPolicy?: string | undefined;
2223
+ buildFromGit?: string | undefined;
2224
+ startWithoutCode?: boolean | undefined;
2225
+ enableSubdomainAccess?: boolean | undefined;
2226
+ priority?: number | undefined;
2227
+ verticalAutoscaling?: {
2228
+ cpuMode?: "DEDICATED" | "SHARED" | undefined;
2229
+ startCpuCoreCount?: number | undefined;
2230
+ swapEnabled?: boolean | undefined;
2231
+ minFreeCpuCores?: number | undefined;
2232
+ minFreeCpuPercent?: number | undefined;
2233
+ minFreeRamGB?: number | undefined;
2234
+ minFreeRamPercent?: number | undefined;
2235
+ minVCpu?: number | undefined;
2236
+ maxVCpu?: number | undefined;
2237
+ } | undefined;
2238
+ enableCdn?: boolean | undefined;
2239
+ sshIsolation?: string | undefined;
2240
+ zeropsSetup?: string | undefined;
2241
+ })[] | undefined;
2242
+ }>;