@fabrika/provider-zerops 0.8.2 → 0.9.0-cloudflare.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 (128) hide show
  1. package/package.json +16 -14
  2. package/src/api/client.ts +6 -0
  3. package/src/api/types.ts +12 -0
  4. package/src/cli.ts +11 -0
  5. package/src/collaborators.ts +0 -14
  6. package/src/control.ts +33 -57
  7. package/src/execution.ts +113 -102
  8. package/src/installation/admin.ts +1 -1
  9. package/src/installation/deploy-options.ts +1 -2
  10. package/src/installation/deploy.ts +41 -75
  11. package/src/installation/generated/platform-console-schema.ts +3 -0
  12. package/src/installation/generated/platform-proxy-manifest.ts +21 -1
  13. package/src/installation/guide.md +9 -6
  14. package/src/installation/hosts.ts +1 -7
  15. package/src/installation/index.ts +0 -13
  16. package/src/installation/init-options.ts +2 -1
  17. package/src/installation/install-environment.ts +42 -106
  18. package/src/installation/install-options.ts +3 -1
  19. package/src/installation/install-secrets.ts +24 -68
  20. package/src/installation/install.ts +8 -4
  21. package/src/installation/sidecar.ts +5 -26
  22. package/src/installation/topology/setups.ts +5 -0
  23. package/src/installation/upgrade-options.ts +2 -2
  24. package/src/managed-env.ts +1 -174
  25. package/src/manifest.ts +11 -14
  26. package/src/namespace/claims.ts +56 -1
  27. package/src/namespace/errors.ts +1 -1
  28. package/src/namespace/manifest.ts +6 -19
  29. package/src/namespace/provisioning.ts +15 -3
  30. package/src/namespace/proxy-attempt.ts +43 -2
  31. package/src/namespace/proxy-reads.ts +12 -22
  32. package/src/namespace-cli.ts +152 -0
  33. package/src/plan.ts +2 -7
  34. package/src/provider.ts +128 -126
  35. package/src/proxy-manifest-carrier.ts +18 -0
  36. package/src/types.ts +0 -2
  37. package/types/src/api/client.d.ts +5 -0
  38. package/types/src/api/errors.d.ts +24 -0
  39. package/types/src/api/polling.d.ts +41 -0
  40. package/types/src/api/readers.d.ts +1115 -0
  41. package/types/src/api/service-env-limit.d.ts +17 -0
  42. package/types/src/api/service-env-response.d.ts +23 -0
  43. package/types/src/api/types.d.ts +687 -0
  44. package/types/src/api.d.ts +6 -0
  45. package/types/src/authoring.d.ts +9 -0
  46. package/types/src/cli-args.d.ts +19 -0
  47. package/types/src/cli.d.ts +13 -0
  48. package/types/src/collaborators.d.ts +16 -0
  49. package/types/src/compile.d.ts +91 -0
  50. package/types/src/control.d.ts +40 -0
  51. package/types/src/database-budget.d.ts +38 -0
  52. package/types/src/descriptor.d.ts +28 -0
  53. package/types/src/execution.d.ts +125 -0
  54. package/types/src/exposure.d.ts +47 -0
  55. package/types/src/index.d.ts +31 -0
  56. package/types/src/installation/admin-options.d.ts +24 -0
  57. package/types/src/installation/admin.d.ts +35 -0
  58. package/types/src/installation/checker-release.d.ts +12 -0
  59. package/types/src/installation/deploy-options.d.ts +37 -0
  60. package/types/src/installation/deploy.d.ts +136 -0
  61. package/types/src/installation/generated/platform-console-schema.d.ts +2 -0
  62. package/types/src/installation/generated/platform-proxy-manifest.d.ts +2 -0
  63. package/types/src/installation/hosts.d.ts +34 -0
  64. package/types/src/installation/index.d.ts +7 -0
  65. package/types/src/installation/init-options.d.ts +38 -0
  66. package/types/src/installation/init.d.ts +60 -0
  67. package/types/src/installation/install-collaborators.d.ts +24 -0
  68. package/types/src/installation/install-environment.d.ts +63 -0
  69. package/types/src/installation/install-options.d.ts +49 -0
  70. package/types/src/installation/install-project.d.ts +13 -0
  71. package/types/src/installation/install-provisioning.d.ts +58 -0
  72. package/types/src/installation/install-secrets.d.ts +17 -0
  73. package/types/src/installation/install-token.d.ts +10 -0
  74. package/types/src/installation/install.d.ts +23 -0
  75. package/types/src/installation/installation-source.d.ts +8 -0
  76. package/types/src/installation/log.d.ts +44 -0
  77. package/types/src/installation/machine-key.d.ts +19 -0
  78. package/types/src/installation/placement-options.d.ts +11 -0
  79. package/types/src/installation/platform-archive.d.ts +7 -0
  80. package/types/src/installation/platform-source.d.ts +8 -0
  81. package/types/src/installation/platform-upload.d.ts +3 -0
  82. package/types/src/installation/sidecar.d.ts +49 -0
  83. package/types/src/installation/source-options.d.ts +1 -0
  84. package/types/src/installation/topology/artifacts.d.ts +8 -0
  85. package/types/src/installation/topology/index.d.ts +5 -0
  86. package/types/src/installation/topology/installation-schemas.d.ts +2242 -0
  87. package/types/src/installation/topology/invariants.d.ts +23 -0
  88. package/types/src/installation/topology/setups.d.ts +59 -0
  89. package/types/src/installation/topology/topology.d.ts +153 -0
  90. package/types/src/installation/topology/validate.d.ts +11 -0
  91. package/types/src/installation/upgrade-options.d.ts +26 -0
  92. package/types/src/installation/upgrade-output.d.ts +6 -0
  93. package/types/src/installation/upgrade.d.ts +88 -0
  94. package/types/src/managed-env.d.ts +24 -0
  95. package/types/src/manifest.d.ts +204 -0
  96. package/types/src/namespace/claims.d.ts +16 -0
  97. package/types/src/namespace/codec.d.ts +334 -0
  98. package/types/src/namespace/constants.d.ts +25 -0
  99. package/types/src/namespace/errors.d.ts +15 -0
  100. package/types/src/namespace/manifest.d.ts +4 -0
  101. package/types/src/namespace/operator.d.ts +12 -0
  102. package/types/src/namespace/provisioning.d.ts +4 -0
  103. package/types/src/namespace/proxy-attempt.d.ts +39 -0
  104. package/types/src/namespace/proxy-reads.d.ts +22 -0
  105. package/types/src/namespace/proxy-secrets.d.ts +8 -0
  106. package/types/src/namespace/proxy-source.d.ts +74 -0
  107. package/types/src/namespace/topology.d.ts +9 -0
  108. package/types/src/namespace/types.d.ts +101 -0
  109. package/types/src/namespace/update.d.ts +6 -0
  110. package/types/src/namespace/validation.d.ts +12 -0
  111. package/types/src/namespace-cli.d.ts +2 -0
  112. package/types/src/namespace.d.ts +9 -0
  113. package/types/src/plan.d.ts +11 -0
  114. package/types/src/provider.d.ts +63 -0
  115. package/types/src/proxy-manifest-carrier.d.ts +24 -0
  116. package/types/src/schema.generated.d.ts +376 -0
  117. package/types/src/service-names.d.ts +4 -0
  118. package/types/src/service-references.d.ts +13 -0
  119. package/types/src/source/constants.d.ts +6 -0
  120. package/types/src/source/port.d.ts +60 -0
  121. package/types/src/source/types.d.ts +4 -0
  122. package/types/src/source/validation.d.ts +19 -0
  123. package/types/src/source.d.ts +2 -0
  124. package/types/src/types.d.ts +119 -0
  125. package/types/src/version-attempt.d.ts +8 -0
  126. package/src/installation/mcp.ts +0 -102
  127. package/src/installation/proxy-manifest.ts +0 -214
  128. package/src/installation/secrets.ts +0 -78
@@ -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
+ run?: {
426
+ os?: "alpine" | "ubuntu" | undefined;
427
+ envVariables?: Record<string, string | number | boolean> | undefined;
428
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
429
+ start?: string | undefined;
430
+ prepareCommands?: string[] | undefined;
431
+ initCommands?: string[] | undefined;
432
+ ports?: {
433
+ port: number;
434
+ protocol?: "tcp" | "udp" | undefined;
435
+ httpSupport?: boolean | undefined;
436
+ }[] | undefined;
437
+ healthCheck?: {
438
+ failureTimeout?: string | undefined;
439
+ exec?: {
440
+ command: string;
441
+ } | undefined;
442
+ httpGet?: {
443
+ path: string;
444
+ port: number;
445
+ scheme?: string | undefined;
446
+ host?: string | undefined;
447
+ } | undefined;
448
+ execPeriod?: string | undefined;
449
+ disconnectTimeout?: string | undefined;
450
+ recoveryTimeout?: string | undefined;
451
+ } | undefined;
452
+ crontab?: {
453
+ command: string;
454
+ timing: string;
455
+ allContainers: boolean;
456
+ workingDir?: string | undefined;
457
+ }[] | undefined;
458
+ documentRoot?: string | undefined;
459
+ siteConfigPath?: string | undefined;
460
+ envReplace?: {
461
+ target: string | string[];
462
+ delimiter: string | string[];
463
+ } | undefined;
464
+ routing?: {
465
+ headers?: {
466
+ values: Record<string, string>;
467
+ for: string;
468
+ }[] | undefined;
469
+ cors?: string | undefined;
470
+ root?: string | undefined;
471
+ redirects?: {
472
+ from: string;
473
+ to: string;
474
+ status?: number | undefined;
475
+ preservePath?: boolean | undefined;
476
+ preserveQuery?: boolean | undefined;
477
+ }[] | undefined;
478
+ } | undefined;
479
+ startCommands?: {
480
+ command: string;
481
+ name?: string | undefined;
482
+ initCommands?: string[] | undefined;
483
+ workingDir?: string | undefined;
484
+ }[] | undefined;
485
+ } | undefined;
486
+ build?: {
487
+ deployFiles: string | string[];
488
+ cache?: string | boolean | string[] | undefined;
489
+ os?: "alpine" | "ubuntu" | undefined;
490
+ envVariables?: Record<string, string | number | boolean> | undefined;
491
+ deploy?: string | string[] | undefined;
492
+ 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;
493
+ buildCommands?: string[] | undefined;
494
+ prepareCommands?: string[] | undefined;
495
+ addToRunPrepare?: string | string[] | 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
+ run?: {
517
+ os?: "alpine" | "ubuntu" | undefined;
518
+ envVariables?: Record<string, string | number | boolean> | undefined;
519
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
520
+ start?: string | undefined;
521
+ prepareCommands?: string[] | undefined;
522
+ initCommands?: string[] | undefined;
523
+ ports?: {
524
+ port: number;
525
+ protocol?: "tcp" | "udp" | undefined;
526
+ httpSupport?: boolean | undefined;
527
+ }[] | undefined;
528
+ healthCheck?: {
529
+ failureTimeout?: string | undefined;
530
+ exec?: {
531
+ command: string;
532
+ } | undefined;
533
+ httpGet?: {
534
+ path: string;
535
+ port: number;
536
+ scheme?: string | undefined;
537
+ host?: string | undefined;
538
+ } | undefined;
539
+ execPeriod?: string | undefined;
540
+ disconnectTimeout?: string | undefined;
541
+ recoveryTimeout?: string | undefined;
542
+ } | undefined;
543
+ crontab?: {
544
+ command: string;
545
+ timing: string;
546
+ allContainers: boolean;
547
+ workingDir?: string | undefined;
548
+ }[] | undefined;
549
+ documentRoot?: string | undefined;
550
+ siteConfigPath?: string | undefined;
551
+ envReplace?: {
552
+ target: string | string[];
553
+ delimiter: string | string[];
554
+ } | undefined;
555
+ routing?: {
556
+ headers?: {
557
+ values: Record<string, string>;
558
+ for: string;
559
+ }[] | undefined;
560
+ cors?: string | undefined;
561
+ root?: string | undefined;
562
+ redirects?: {
563
+ from: string;
564
+ to: string;
565
+ status?: number | undefined;
566
+ preservePath?: boolean | undefined;
567
+ preserveQuery?: boolean | undefined;
568
+ }[] | undefined;
569
+ } | undefined;
570
+ startCommands?: {
571
+ command: string;
572
+ name?: string | undefined;
573
+ initCommands?: string[] | undefined;
574
+ workingDir?: string | undefined;
575
+ }[] | undefined;
576
+ } | undefined;
577
+ build?: {
578
+ deployFiles: string | string[];
579
+ cache?: string | boolean | string[] | undefined;
580
+ os?: "alpine" | "ubuntu" | undefined;
581
+ envVariables?: Record<string, string | number | boolean> | undefined;
582
+ deploy?: string | string[] | undefined;
583
+ 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;
584
+ buildCommands?: string[] | undefined;
585
+ prepareCommands?: string[] | undefined;
586
+ addToRunPrepare?: string | string[] | 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
+ run?: {
1031
+ os?: "alpine" | "ubuntu" | undefined;
1032
+ envVariables?: Record<string, string | number | boolean> | undefined;
1033
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1034
+ start?: string | undefined;
1035
+ prepareCommands?: string[] | undefined;
1036
+ initCommands?: string[] | undefined;
1037
+ ports?: {
1038
+ port: number;
1039
+ protocol?: "tcp" | "udp" | undefined;
1040
+ httpSupport?: boolean | undefined;
1041
+ }[] | undefined;
1042
+ healthCheck?: {
1043
+ failureTimeout?: string | undefined;
1044
+ exec?: {
1045
+ command: string;
1046
+ } | undefined;
1047
+ httpGet?: {
1048
+ path: string;
1049
+ port: number;
1050
+ scheme?: string | undefined;
1051
+ host?: string | undefined;
1052
+ } | undefined;
1053
+ execPeriod?: string | undefined;
1054
+ disconnectTimeout?: string | undefined;
1055
+ recoveryTimeout?: string | undefined;
1056
+ } | undefined;
1057
+ crontab?: {
1058
+ command: string;
1059
+ timing: string;
1060
+ allContainers: boolean;
1061
+ workingDir?: string | undefined;
1062
+ }[] | undefined;
1063
+ documentRoot?: string | undefined;
1064
+ siteConfigPath?: string | undefined;
1065
+ envReplace?: {
1066
+ target: string | string[];
1067
+ delimiter: string | string[];
1068
+ } | undefined;
1069
+ routing?: {
1070
+ headers?: {
1071
+ values: Record<string, string>;
1072
+ for: string;
1073
+ }[] | undefined;
1074
+ cors?: string | undefined;
1075
+ root?: string | undefined;
1076
+ redirects?: {
1077
+ from: string;
1078
+ to: string;
1079
+ status?: number | undefined;
1080
+ preservePath?: boolean | undefined;
1081
+ preserveQuery?: boolean | undefined;
1082
+ }[] | undefined;
1083
+ } | undefined;
1084
+ startCommands?: {
1085
+ command: string;
1086
+ name?: string | undefined;
1087
+ initCommands?: string[] | undefined;
1088
+ workingDir?: string | undefined;
1089
+ }[] | undefined;
1090
+ } | undefined;
1091
+ build?: {
1092
+ deployFiles: string | string[];
1093
+ cache?: string | boolean | string[] | undefined;
1094
+ os?: "alpine" | "ubuntu" | undefined;
1095
+ envVariables?: Record<string, string | number | boolean> | undefined;
1096
+ deploy?: string | string[] | undefined;
1097
+ 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;
1098
+ buildCommands?: string[] | undefined;
1099
+ prepareCommands?: string[] | undefined;
1100
+ addToRunPrepare?: string | string[] | 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
+ run?: {
1122
+ os?: "alpine" | "ubuntu" | undefined;
1123
+ envVariables?: Record<string, string | number | boolean> | undefined;
1124
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1125
+ start?: string | undefined;
1126
+ prepareCommands?: string[] | undefined;
1127
+ initCommands?: string[] | undefined;
1128
+ ports?: {
1129
+ port: number;
1130
+ protocol?: "tcp" | "udp" | undefined;
1131
+ httpSupport?: boolean | undefined;
1132
+ }[] | undefined;
1133
+ healthCheck?: {
1134
+ failureTimeout?: string | undefined;
1135
+ exec?: {
1136
+ command: string;
1137
+ } | undefined;
1138
+ httpGet?: {
1139
+ path: string;
1140
+ port: number;
1141
+ scheme?: string | undefined;
1142
+ host?: string | undefined;
1143
+ } | undefined;
1144
+ execPeriod?: string | undefined;
1145
+ disconnectTimeout?: string | undefined;
1146
+ recoveryTimeout?: string | undefined;
1147
+ } | undefined;
1148
+ crontab?: {
1149
+ command: string;
1150
+ timing: string;
1151
+ allContainers: boolean;
1152
+ workingDir?: string | undefined;
1153
+ }[] | undefined;
1154
+ documentRoot?: string | undefined;
1155
+ siteConfigPath?: string | undefined;
1156
+ envReplace?: {
1157
+ target: string | string[];
1158
+ delimiter: string | string[];
1159
+ } | undefined;
1160
+ routing?: {
1161
+ headers?: {
1162
+ values: Record<string, string>;
1163
+ for: string;
1164
+ }[] | undefined;
1165
+ cors?: string | undefined;
1166
+ root?: string | undefined;
1167
+ redirects?: {
1168
+ from: string;
1169
+ to: string;
1170
+ status?: number | undefined;
1171
+ preservePath?: boolean | undefined;
1172
+ preserveQuery?: boolean | undefined;
1173
+ }[] | undefined;
1174
+ } | undefined;
1175
+ startCommands?: {
1176
+ command: string;
1177
+ name?: string | undefined;
1178
+ initCommands?: string[] | undefined;
1179
+ workingDir?: string | undefined;
1180
+ }[] | undefined;
1181
+ } | undefined;
1182
+ build?: {
1183
+ deployFiles: string | string[];
1184
+ cache?: string | boolean | string[] | undefined;
1185
+ os?: "alpine" | "ubuntu" | undefined;
1186
+ envVariables?: Record<string, string | number | boolean> | undefined;
1187
+ deploy?: string | string[] | undefined;
1188
+ 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;
1189
+ buildCommands?: string[] | undefined;
1190
+ prepareCommands?: string[] | undefined;
1191
+ addToRunPrepare?: string | string[] | 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
+ run?: {
1215
+ os?: "alpine" | "ubuntu" | undefined;
1216
+ envVariables?: Record<string, string | number | boolean> | undefined;
1217
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1218
+ start?: string | undefined;
1219
+ prepareCommands?: string[] | undefined;
1220
+ initCommands?: string[] | undefined;
1221
+ ports?: {
1222
+ port: number;
1223
+ protocol?: "tcp" | "udp" | undefined;
1224
+ httpSupport?: boolean | undefined;
1225
+ }[] | undefined;
1226
+ healthCheck?: {
1227
+ failureTimeout?: string | undefined;
1228
+ exec?: {
1229
+ command: string;
1230
+ } | undefined;
1231
+ httpGet?: {
1232
+ path: string;
1233
+ port: number;
1234
+ scheme?: string | undefined;
1235
+ host?: string | undefined;
1236
+ } | undefined;
1237
+ execPeriod?: string | undefined;
1238
+ disconnectTimeout?: string | undefined;
1239
+ recoveryTimeout?: string | undefined;
1240
+ } | undefined;
1241
+ crontab?: {
1242
+ command: string;
1243
+ timing: string;
1244
+ allContainers: boolean;
1245
+ workingDir?: string | undefined;
1246
+ }[] | undefined;
1247
+ documentRoot?: string | undefined;
1248
+ siteConfigPath?: string | undefined;
1249
+ envReplace?: {
1250
+ target: string | string[];
1251
+ delimiter: string | string[];
1252
+ } | undefined;
1253
+ routing?: {
1254
+ headers?: {
1255
+ values: Record<string, string>;
1256
+ for: string;
1257
+ }[] | undefined;
1258
+ cors?: string | undefined;
1259
+ root?: string | undefined;
1260
+ redirects?: {
1261
+ from: string;
1262
+ to: string;
1263
+ status?: number | undefined;
1264
+ preservePath?: boolean | undefined;
1265
+ preserveQuery?: boolean | undefined;
1266
+ }[] | undefined;
1267
+ } | undefined;
1268
+ startCommands?: {
1269
+ command: string;
1270
+ name?: string | undefined;
1271
+ initCommands?: string[] | undefined;
1272
+ workingDir?: string | undefined;
1273
+ }[] | undefined;
1274
+ } | undefined;
1275
+ build?: {
1276
+ deployFiles: string | string[];
1277
+ cache?: string | boolean | string[] | undefined;
1278
+ os?: "alpine" | "ubuntu" | undefined;
1279
+ envVariables?: Record<string, string | number | boolean> | undefined;
1280
+ deploy?: string | string[] | undefined;
1281
+ 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;
1282
+ buildCommands?: string[] | undefined;
1283
+ prepareCommands?: string[] | undefined;
1284
+ addToRunPrepare?: string | string[] | 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
+ run?: {
1308
+ os?: "alpine" | "ubuntu" | undefined;
1309
+ envVariables?: Record<string, string | number | boolean> | undefined;
1310
+ base?: "alpine/bun@1.3" | "alpine/go@latest" | "alpine/nodejs@22" | "alpine@3.21" | "ubuntu/bun@1.3" | undefined;
1311
+ start?: string | undefined;
1312
+ prepareCommands?: string[] | undefined;
1313
+ initCommands?: string[] | undefined;
1314
+ ports?: {
1315
+ port: number;
1316
+ protocol?: "tcp" | "udp" | undefined;
1317
+ httpSupport?: boolean | undefined;
1318
+ }[] | undefined;
1319
+ healthCheck?: {
1320
+ failureTimeout?: string | undefined;
1321
+ exec?: {
1322
+ command: string;
1323
+ } | undefined;
1324
+ httpGet?: {
1325
+ path: string;
1326
+ port: number;
1327
+ scheme?: string | undefined;
1328
+ host?: string | undefined;
1329
+ } | undefined;
1330
+ execPeriod?: string | undefined;
1331
+ disconnectTimeout?: string | undefined;
1332
+ recoveryTimeout?: string | undefined;
1333
+ } | undefined;
1334
+ crontab?: {
1335
+ command: string;
1336
+ timing: string;
1337
+ allContainers: boolean;
1338
+ workingDir?: string | undefined;
1339
+ }[] | undefined;
1340
+ documentRoot?: string | undefined;
1341
+ siteConfigPath?: string | undefined;
1342
+ envReplace?: {
1343
+ target: string | string[];
1344
+ delimiter: string | string[];
1345
+ } | undefined;
1346
+ routing?: {
1347
+ headers?: {
1348
+ values: Record<string, string>;
1349
+ for: string;
1350
+ }[] | undefined;
1351
+ cors?: string | undefined;
1352
+ root?: string | undefined;
1353
+ redirects?: {
1354
+ from: string;
1355
+ to: string;
1356
+ status?: number | undefined;
1357
+ preservePath?: boolean | undefined;
1358
+ preserveQuery?: boolean | undefined;
1359
+ }[] | undefined;
1360
+ } | undefined;
1361
+ startCommands?: {
1362
+ command: string;
1363
+ name?: string | undefined;
1364
+ initCommands?: string[] | undefined;
1365
+ workingDir?: string | undefined;
1366
+ }[] | undefined;
1367
+ } | undefined;
1368
+ build?: {
1369
+ deployFiles: string | string[];
1370
+ cache?: string | boolean | string[] | undefined;
1371
+ os?: "alpine" | "ubuntu" | undefined;
1372
+ envVariables?: Record<string, string | number | boolean> | undefined;
1373
+ deploy?: string | string[] | undefined;
1374
+ 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;
1375
+ buildCommands?: string[] | undefined;
1376
+ prepareCommands?: string[] | undefined;
1377
+ addToRunPrepare?: string | string[] | 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
+ envIsolation?: string | undefined;
1412
+ sshIsolation?: string | undefined;
1413
+ envVariables?: Record<string, string> | undefined;
1414
+ description?: 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
+ envIsolation?: string | undefined;
1422
+ sshIsolation?: string | undefined;
1423
+ envVariables?: Record<string, string> | undefined;
1424
+ description?: 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
+ mode?: string | undefined;
1517
+ envIsolation?: string | undefined;
1518
+ override?: boolean | undefined;
1519
+ envSecrets?: Record<string, string> | undefined;
1520
+ dotEnvSecrets?: string | undefined;
1521
+ os?: string | undefined;
1522
+ nginxConfig?: string | undefined;
1523
+ objectStorageSize?: number | undefined;
1524
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
1560
+ envIsolation?: string | undefined;
1561
+ override?: boolean | undefined;
1562
+ envSecrets?: Record<string, string> | undefined;
1563
+ dotEnvSecrets?: string | undefined;
1564
+ os?: string | undefined;
1565
+ nginxConfig?: string | undefined;
1566
+ objectStorageSize?: number | undefined;
1567
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
1686
+ envIsolation?: string | undefined;
1687
+ override?: boolean | undefined;
1688
+ envSecrets?: Record<string, string> | undefined;
1689
+ dotEnvSecrets?: string | undefined;
1690
+ os?: string | undefined;
1691
+ nginxConfig?: string | undefined;
1692
+ objectStorageSize?: number | undefined;
1693
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
1729
+ envIsolation?: string | undefined;
1730
+ override?: boolean | undefined;
1731
+ envSecrets?: Record<string, string> | undefined;
1732
+ dotEnvSecrets?: string | undefined;
1733
+ os?: string | undefined;
1734
+ nginxConfig?: string | undefined;
1735
+ objectStorageSize?: number | undefined;
1736
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
1772
+ envIsolation?: string | undefined;
1773
+ override?: boolean | undefined;
1774
+ envSecrets?: Record<string, string> | undefined;
1775
+ dotEnvSecrets?: string | undefined;
1776
+ os?: string | undefined;
1777
+ nginxConfig?: string | undefined;
1778
+ objectStorageSize?: number | undefined;
1779
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
1815
+ envIsolation?: string | undefined;
1816
+ override?: boolean | undefined;
1817
+ envSecrets?: Record<string, string> | undefined;
1818
+ dotEnvSecrets?: string | undefined;
1819
+ os?: string | undefined;
1820
+ nginxConfig?: string | undefined;
1821
+ objectStorageSize?: number | undefined;
1822
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
1920
+ envIsolation?: string | undefined;
1921
+ override?: boolean | undefined;
1922
+ envSecrets?: Record<string, string> | undefined;
1923
+ dotEnvSecrets?: string | undefined;
1924
+ os?: string | undefined;
1925
+ nginxConfig?: string | undefined;
1926
+ objectStorageSize?: number | undefined;
1927
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
1952
+ envIsolation?: string | undefined;
1953
+ override?: boolean | undefined;
1954
+ envSecrets?: Record<string, string> | undefined;
1955
+ dotEnvSecrets?: string | undefined;
1956
+ os?: string | undefined;
1957
+ nginxConfig?: string | undefined;
1958
+ objectStorageSize?: number | undefined;
1959
+ objectStoragePolicy?: "private" | "custom" | "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
+ envIsolation?: string | undefined;
1984
+ sshIsolation?: string | undefined;
1985
+ envVariables?: Record<string, string> | undefined;
1986
+ description?: 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
+ mode?: string | undefined;
1997
+ envIsolation?: string | undefined;
1998
+ override?: boolean | undefined;
1999
+ envSecrets?: Record<string, string> | undefined;
2000
+ dotEnvSecrets?: string | undefined;
2001
+ os?: string | undefined;
2002
+ nginxConfig?: string | undefined;
2003
+ objectStorageSize?: number | undefined;
2004
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
2040
+ envIsolation?: string | undefined;
2041
+ override?: boolean | undefined;
2042
+ envSecrets?: Record<string, string> | undefined;
2043
+ dotEnvSecrets?: string | undefined;
2044
+ os?: string | undefined;
2045
+ nginxConfig?: string | undefined;
2046
+ objectStorageSize?: number | undefined;
2047
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
2083
+ envIsolation?: string | undefined;
2084
+ override?: boolean | undefined;
2085
+ envSecrets?: Record<string, string> | undefined;
2086
+ dotEnvSecrets?: string | undefined;
2087
+ os?: string | undefined;
2088
+ nginxConfig?: string | undefined;
2089
+ objectStorageSize?: number | undefined;
2090
+ objectStoragePolicy?: "private" | "custom" | "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
+ envIsolation?: string | undefined;
2115
+ sshIsolation?: string | undefined;
2116
+ envVariables?: Record<string, string> | undefined;
2117
+ description?: 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
+ mode?: string | undefined;
2128
+ envIsolation?: string | undefined;
2129
+ override?: boolean | undefined;
2130
+ envSecrets?: Record<string, string> | undefined;
2131
+ dotEnvSecrets?: string | undefined;
2132
+ os?: string | undefined;
2133
+ nginxConfig?: string | undefined;
2134
+ objectStorageSize?: number | undefined;
2135
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
2171
+ envIsolation?: string | undefined;
2172
+ override?: boolean | undefined;
2173
+ envSecrets?: Record<string, string> | undefined;
2174
+ dotEnvSecrets?: string | undefined;
2175
+ os?: string | undefined;
2176
+ nginxConfig?: string | undefined;
2177
+ objectStorageSize?: number | undefined;
2178
+ objectStoragePolicy?: "private" | "custom" | "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
+ mode?: string | undefined;
2214
+ envIsolation?: string | undefined;
2215
+ override?: boolean | undefined;
2216
+ envSecrets?: Record<string, string> | undefined;
2217
+ dotEnvSecrets?: string | undefined;
2218
+ os?: string | undefined;
2219
+ nginxConfig?: string | undefined;
2220
+ objectStorageSize?: number | undefined;
2221
+ objectStoragePolicy?: "private" | "custom" | "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
+ }>;