@sylphx/contract 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/endpoint.d.ts +3 -1
- package/dist/endpoint.d.ts.map +1 -1
- package/dist/endpoints/admin-audit.d.ts +2 -2
- package/dist/endpoints/admin-audit.js +2 -2
- package/dist/endpoints/admin-bootstrap.js +3 -3
- package/dist/endpoints/admin-branch-databases.d.ts +1 -1
- package/dist/endpoints/admin-branch-databases.js +2 -2
- package/dist/endpoints/admin-envs-spec.d.ts +27 -0
- package/dist/endpoints/admin-envs-spec.d.ts.map +1 -0
- package/dist/endpoints/admin-envs-spec.js +25 -0
- package/dist/endpoints/admin-projects.d.ts +1 -1
- package/dist/endpoints/admin-rate-limits.d.ts +1 -1
- package/dist/endpoints/admin-rate-limits.js +3 -3
- package/dist/endpoints/admin-secrets.d.ts +3 -3
- package/dist/endpoints/admin-secrets.js +1 -1
- package/dist/endpoints/admin-services.d.ts +3 -3
- package/dist/endpoints/admin-services.d.ts.map +1 -1
- package/dist/endpoints/admin-services.js +4 -5
- package/dist/endpoints/branch-databases.d.ts +13 -7
- package/dist/endpoints/branch-databases.d.ts.map +1 -1
- package/dist/endpoints/branch-databases.js +3 -3
- package/dist/endpoints/databases.d.ts +100 -164
- package/dist/endpoints/databases.d.ts.map +1 -1
- package/dist/endpoints/databases.js +8 -35
- package/dist/endpoints/deployments.d.ts +1 -3
- package/dist/endpoints/deployments.d.ts.map +1 -1
- package/dist/endpoints/deployments.js +1 -1
- package/dist/endpoints/environments.d.ts +11 -42
- package/dist/endpoints/environments.d.ts.map +1 -1
- package/dist/endpoints/image-opt.d.ts +5 -13
- package/dist/endpoints/image-opt.d.ts.map +1 -1
- package/dist/endpoints/image-opt.js +6 -18
- package/dist/endpoints/kv-admin.d.ts +1 -2
- package/dist/endpoints/kv-admin.d.ts.map +1 -1
- package/dist/endpoints/kv-admin.js +1 -1
- package/dist/endpoints/kv.d.ts +19 -13
- package/dist/endpoints/kv.d.ts.map +1 -1
- package/dist/endpoints/kv.js +9 -9
- package/dist/endpoints/notifications.d.ts +7 -0
- package/dist/endpoints/notifications.d.ts.map +1 -1
- package/dist/endpoints/organizations.d.ts +8 -6
- package/dist/endpoints/organizations.d.ts.map +1 -1
- package/dist/endpoints/project-manifest.d.ts +196 -84
- package/dist/endpoints/project-manifest.d.ts.map +1 -1
- package/dist/endpoints/projects.d.ts +0 -8
- package/dist/endpoints/projects.d.ts.map +1 -1
- package/dist/endpoints/realtime-admin.d.ts +0 -1
- package/dist/endpoints/realtime-admin.d.ts.map +1 -1
- package/dist/endpoints/realtime-admin.js +1 -1
- package/dist/endpoints/regions.d.ts +2 -4
- package/dist/endpoints/regions.d.ts.map +1 -1
- package/dist/endpoints/regions.js +2 -2
- package/dist/endpoints/storage.d.ts +18 -0
- package/dist/endpoints/storage.d.ts.map +1 -1
- package/dist/endpoints/storage.js +11 -1
- package/dist/endpoints/tasks.d.ts +2 -6
- package/dist/endpoints/tasks.d.ts.map +1 -1
- package/dist/hono-app.d.ts +2 -2
- package/dist/hono-app.js +2 -2
- package/dist/index.d.ts +403 -350
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/schemas/_primitives.d.ts +14 -0
- package/dist/schemas/_primitives.d.ts.map +1 -1
- package/dist/schemas/_primitives.js +16 -0
- package/dist/schemas/admin-audit.d.ts +4 -4
- package/dist/schemas/admin-audit.js +3 -3
- package/dist/schemas/admin-bootstrap.d.ts +1 -1
- package/dist/schemas/admin-bootstrap.js +1 -1
- package/dist/schemas/admin-builds.d.ts +1 -1
- package/dist/schemas/admin-builds.js +1 -1
- package/dist/schemas/admin-envs-spec.d.ts +49 -0
- package/dist/schemas/admin-envs-spec.d.ts.map +1 -0
- package/dist/schemas/admin-envs-spec.js +58 -0
- package/dist/schemas/admin-projects.d.ts +2 -2
- package/dist/schemas/admin-projects.js +1 -1
- package/dist/schemas/admin-rate-limits.d.ts +2 -2
- package/dist/schemas/admin-rate-limits.js +2 -2
- package/dist/schemas/admin-secrets.d.ts +14 -14
- package/dist/schemas/admin-secrets.d.ts.map +1 -1
- package/dist/schemas/admin-secrets.js +10 -10
- package/dist/schemas/admin-services.d.ts +18 -22
- package/dist/schemas/admin-services.d.ts.map +1 -1
- package/dist/schemas/admin-services.js +15 -19
- package/dist/schemas/auth.d.ts +1 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/auth.js +1 -0
- package/dist/schemas/branch-database.d.ts +25 -18
- package/dist/schemas/branch-database.d.ts.map +1 -1
- package/dist/schemas/branch-database.js +15 -14
- package/dist/schemas/database.d.ts +13 -19
- package/dist/schemas/database.d.ts.map +1 -1
- package/dist/schemas/database.js +7 -19
- package/dist/schemas/deployment.d.ts +5 -7
- package/dist/schemas/deployment.d.ts.map +1 -1
- package/dist/schemas/deployment.js +6 -6
- package/dist/schemas/environment.d.ts +17 -31
- package/dist/schemas/environment.d.ts.map +1 -1
- package/dist/schemas/environment.js +11 -16
- package/dist/schemas/ids.d.ts +4 -0
- package/dist/schemas/ids.d.ts.map +1 -1
- package/dist/schemas/ids.js +2 -0
- package/dist/schemas/image-opt.d.ts +10 -11
- package/dist/schemas/image-opt.d.ts.map +1 -1
- package/dist/schemas/image-opt.js +11 -12
- package/dist/schemas/kv-admin.d.ts +1 -2
- package/dist/schemas/kv-admin.d.ts.map +1 -1
- package/dist/schemas/kv-admin.js +1 -2
- package/dist/schemas/kv.d.ts +12 -4
- package/dist/schemas/kv.d.ts.map +1 -1
- package/dist/schemas/kv.js +17 -5
- package/dist/schemas/notifications.d.ts +11 -0
- package/dist/schemas/notifications.d.ts.map +1 -1
- package/dist/schemas/notifications.js +11 -0
- package/dist/schemas/organization.d.ts +8 -6
- package/dist/schemas/organization.d.ts.map +1 -1
- package/dist/schemas/organization.js +11 -6
- package/dist/schemas/project-manifest.d.ts +384 -174
- package/dist/schemas/project-manifest.d.ts.map +1 -1
- package/dist/schemas/project-manifest.js +127 -50
- package/dist/schemas/project.d.ts +0 -6
- package/dist/schemas/project.d.ts.map +1 -1
- package/dist/schemas/project.js +0 -2
- package/dist/schemas/realtime-admin.d.ts +0 -1
- package/dist/schemas/realtime-admin.d.ts.map +1 -1
- package/dist/schemas/realtime-admin.js +0 -1
- package/dist/schemas/realtime.d.ts +2 -2
- package/dist/schemas/realtime.js +2 -2
- package/dist/schemas/region.d.ts +3 -21
- package/dist/schemas/region.d.ts.map +1 -1
- package/dist/schemas/region.js +2 -11
- package/dist/schemas/resources.d.ts +213 -164
- package/dist/schemas/resources.d.ts.map +1 -1
- package/dist/schemas/resources.js +87 -105
- package/dist/schemas/storage.d.ts +30 -1
- package/dist/schemas/storage.d.ts.map +1 -1
- package/dist/schemas/storage.js +20 -1
- package/dist/schemas/tasks.d.ts +3 -8
- package/dist/schemas/tasks.d.ts.map +1 -1
- package/dist/schemas/tasks.js +1 -4
- package/package.json +1 -1
|
@@ -27,7 +27,9 @@ export declare const projectManifestEndpoints: {
|
|
|
27
27
|
}>;
|
|
28
28
|
build: Schema.optional<Schema.Struct<{
|
|
29
29
|
buildpack: Schema.optional<Schema.Literal<["auto", "ruby", "node", "python", "static", "dockerfile"]>>;
|
|
30
|
+
strategy: Schema.optional<Schema.Literal<["auto", "buildpack", "dockerfile", "nixpacks"]>>;
|
|
30
31
|
dockerfile: Schema.optional<typeof Schema.String>;
|
|
32
|
+
context: Schema.optional<typeof Schema.String>;
|
|
31
33
|
docker_context: Schema.optional<typeof Schema.String>;
|
|
32
34
|
build_command: Schema.optional<typeof Schema.String>;
|
|
33
35
|
ignore: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
@@ -41,22 +43,45 @@ export declare const projectManifestEndpoints: {
|
|
|
41
43
|
strategy: Schema.optional<Schema.Literal<["rolling", "blue-green", "immediate"]>>;
|
|
42
44
|
graceful_shutdown: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
43
45
|
}>>;
|
|
44
|
-
services: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
46
|
+
services: Schema.optional<Schema.Array$<Schema.filter<Schema.Struct<{
|
|
45
47
|
name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
|
|
46
48
|
type: Schema.Literal<["web", "worker", "cron", "function"]>;
|
|
49
|
+
build: Schema.optional<Schema.Struct<{
|
|
50
|
+
strategy: Schema.optional<Schema.Literal<["auto", "buildpack", "dockerfile", "nixpacks"]>>;
|
|
51
|
+
dockerfile: Schema.optional<typeof Schema.String>;
|
|
52
|
+
context: Schema.optional<typeof Schema.String>;
|
|
53
|
+
docker_context: Schema.optional<typeof Schema.String>;
|
|
54
|
+
build_command: Schema.optional<typeof Schema.String>;
|
|
55
|
+
}>>;
|
|
56
|
+
health: Schema.optional<Schema.Struct<{
|
|
57
|
+
mode: Schema.optional<Schema.Literal<["http", "tcp", "command"]>>;
|
|
58
|
+
path: Schema.optional<typeof Schema.String>;
|
|
59
|
+
command: Schema.optional<typeof Schema.String>;
|
|
60
|
+
}>>;
|
|
47
61
|
command: Schema.optional<typeof Schema.String>;
|
|
48
62
|
port: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
49
|
-
|
|
50
|
-
replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
63
|
+
instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
51
64
|
instance_type: Schema.optional<Schema.Literal<["nano", "micro", "small", "standard", "large", "xlarge"]>>;
|
|
52
65
|
cron_schedule: Schema.optional<typeof Schema.String>;
|
|
53
66
|
regions: Schema.optional<Schema.Array$<Schema.Literal<["fsn1", "nbg1", "hel1", "ash1", "hil1"]>>>;
|
|
54
67
|
scale_to_zero: Schema.optional<typeof Schema.Boolean>;
|
|
55
68
|
idle_timeout_seconds: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
56
|
-
|
|
69
|
+
min_instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
70
|
+
max_instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
57
71
|
env: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
58
72
|
resources: Schema.optional<Schema.Array$<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>>;
|
|
59
|
-
|
|
73
|
+
watch_paths: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
74
|
+
}>>>>;
|
|
75
|
+
database: Schema.optional<Schema.Struct<{
|
|
76
|
+
migrations: Schema.optional<Schema.Struct<{
|
|
77
|
+
engine: Schema.Literal<["atlas", "drizzle", "prisma", "alembic", "flyway", "goose", "sqlx", "custom"]>;
|
|
78
|
+
dir: Schema.optional<typeof Schema.String>;
|
|
79
|
+
image: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
|
|
80
|
+
command: Schema.filter<typeof Schema.String>;
|
|
81
|
+
timeout: Schema.optional<typeof Schema.String>;
|
|
82
|
+
destructive_policy: Schema.optional<Schema.Literal<["require-approval", "allow"]>>;
|
|
83
|
+
}>>;
|
|
84
|
+
}>>;
|
|
60
85
|
env: Schema.optional<Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
|
|
61
86
|
value: typeof Schema.String;
|
|
62
87
|
}>, Schema.Struct<{
|
|
@@ -87,15 +112,15 @@ export declare const projectManifestEndpoints: {
|
|
|
87
112
|
readonly port?: number | undefined;
|
|
88
113
|
readonly env?: readonly string[] | undefined;
|
|
89
114
|
readonly resources?: readonly string[] | undefined;
|
|
90
|
-
readonly
|
|
115
|
+
readonly instances?: number | undefined;
|
|
116
|
+
readonly max_instances?: number | undefined;
|
|
91
117
|
readonly command?: string | undefined;
|
|
92
|
-
readonly
|
|
93
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
118
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
94
119
|
readonly cron_schedule?: string | undefined;
|
|
95
120
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
96
121
|
readonly scale_to_zero?: boolean | undefined;
|
|
97
122
|
readonly idle_timeout_seconds?: number | undefined;
|
|
98
|
-
readonly
|
|
123
|
+
readonly min_instances?: number | undefined;
|
|
99
124
|
}[] | undefined;
|
|
100
125
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
101
126
|
readonly env?: {
|
|
@@ -109,6 +134,8 @@ export declare const projectManifestEndpoints: {
|
|
|
109
134
|
};
|
|
110
135
|
} | undefined;
|
|
111
136
|
readonly build?: {
|
|
137
|
+
readonly context?: string | undefined;
|
|
138
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
112
139
|
readonly dockerfile?: string | undefined;
|
|
113
140
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
114
141
|
readonly docker_context?: string | undefined;
|
|
@@ -139,15 +166,15 @@ export declare const projectManifestEndpoints: {
|
|
|
139
166
|
readonly port?: number | undefined;
|
|
140
167
|
readonly env?: readonly string[] | undefined;
|
|
141
168
|
readonly resources?: readonly string[] | undefined;
|
|
142
|
-
readonly
|
|
169
|
+
readonly instances?: number | undefined;
|
|
170
|
+
readonly max_instances?: number | undefined;
|
|
143
171
|
readonly command?: string | undefined;
|
|
144
|
-
readonly
|
|
145
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
172
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
146
173
|
readonly cron_schedule?: string | undefined;
|
|
147
174
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
148
175
|
readonly scale_to_zero?: boolean | undefined;
|
|
149
176
|
readonly idle_timeout_seconds?: number | undefined;
|
|
150
|
-
readonly
|
|
177
|
+
readonly min_instances?: number | undefined;
|
|
151
178
|
}[] | undefined;
|
|
152
179
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
153
180
|
readonly env?: {
|
|
@@ -161,6 +188,8 @@ export declare const projectManifestEndpoints: {
|
|
|
161
188
|
};
|
|
162
189
|
} | undefined;
|
|
163
190
|
readonly build?: {
|
|
191
|
+
readonly context?: string | undefined;
|
|
192
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
164
193
|
readonly dockerfile?: string | undefined;
|
|
165
194
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
166
195
|
readonly docker_context?: string | undefined;
|
|
@@ -191,15 +220,15 @@ export declare const projectManifestEndpoints: {
|
|
|
191
220
|
readonly port?: number | undefined;
|
|
192
221
|
readonly env?: readonly string[] | undefined;
|
|
193
222
|
readonly resources?: readonly string[] | undefined;
|
|
194
|
-
readonly
|
|
223
|
+
readonly instances?: number | undefined;
|
|
224
|
+
readonly max_instances?: number | undefined;
|
|
195
225
|
readonly command?: string | undefined;
|
|
196
|
-
readonly
|
|
197
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
226
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
198
227
|
readonly cron_schedule?: string | undefined;
|
|
199
228
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
200
229
|
readonly scale_to_zero?: boolean | undefined;
|
|
201
230
|
readonly idle_timeout_seconds?: number | undefined;
|
|
202
|
-
readonly
|
|
231
|
+
readonly min_instances?: number | undefined;
|
|
203
232
|
}[] | undefined;
|
|
204
233
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
205
234
|
readonly env?: {
|
|
@@ -213,6 +242,8 @@ export declare const projectManifestEndpoints: {
|
|
|
213
242
|
};
|
|
214
243
|
} | undefined;
|
|
215
244
|
readonly build?: {
|
|
245
|
+
readonly context?: string | undefined;
|
|
246
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
216
247
|
readonly dockerfile?: string | undefined;
|
|
217
248
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
218
249
|
readonly docker_context?: string | undefined;
|
|
@@ -243,15 +274,15 @@ export declare const projectManifestEndpoints: {
|
|
|
243
274
|
readonly port?: number | undefined;
|
|
244
275
|
readonly env?: readonly string[] | undefined;
|
|
245
276
|
readonly resources?: readonly string[] | undefined;
|
|
246
|
-
readonly
|
|
277
|
+
readonly instances?: number | undefined;
|
|
278
|
+
readonly max_instances?: number | undefined;
|
|
247
279
|
readonly command?: string | undefined;
|
|
248
|
-
readonly
|
|
249
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
280
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
250
281
|
readonly cron_schedule?: string | undefined;
|
|
251
282
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
252
283
|
readonly scale_to_zero?: boolean | undefined;
|
|
253
284
|
readonly idle_timeout_seconds?: number | undefined;
|
|
254
|
-
readonly
|
|
285
|
+
readonly min_instances?: number | undefined;
|
|
255
286
|
}[] | undefined;
|
|
256
287
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
257
288
|
readonly env?: {
|
|
@@ -265,6 +296,8 @@ export declare const projectManifestEndpoints: {
|
|
|
265
296
|
};
|
|
266
297
|
} | undefined;
|
|
267
298
|
readonly build?: {
|
|
299
|
+
readonly context?: string | undefined;
|
|
300
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
268
301
|
readonly dockerfile?: string | undefined;
|
|
269
302
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
270
303
|
readonly docker_context?: string | undefined;
|
|
@@ -296,15 +329,15 @@ export declare const projectManifestEndpoints: {
|
|
|
296
329
|
readonly port?: number | undefined;
|
|
297
330
|
readonly env?: readonly string[] | undefined;
|
|
298
331
|
readonly resources?: readonly string[] | undefined;
|
|
299
|
-
readonly
|
|
332
|
+
readonly instances?: number | undefined;
|
|
333
|
+
readonly max_instances?: number | undefined;
|
|
300
334
|
readonly command?: string | undefined;
|
|
301
|
-
readonly
|
|
302
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
335
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
303
336
|
readonly cron_schedule?: string | undefined;
|
|
304
337
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
305
338
|
readonly scale_to_zero?: boolean | undefined;
|
|
306
339
|
readonly idle_timeout_seconds?: number | undefined;
|
|
307
|
-
readonly
|
|
340
|
+
readonly min_instances?: number | undefined;
|
|
308
341
|
}[] | undefined;
|
|
309
342
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
310
343
|
readonly env?: {
|
|
@@ -318,6 +351,8 @@ export declare const projectManifestEndpoints: {
|
|
|
318
351
|
};
|
|
319
352
|
} | undefined;
|
|
320
353
|
readonly build?: {
|
|
354
|
+
readonly context?: string | undefined;
|
|
355
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
321
356
|
readonly dockerfile?: string | undefined;
|
|
322
357
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
323
358
|
readonly docker_context?: string | undefined;
|
|
@@ -348,15 +383,15 @@ export declare const projectManifestEndpoints: {
|
|
|
348
383
|
readonly port?: number | undefined;
|
|
349
384
|
readonly env?: readonly string[] | undefined;
|
|
350
385
|
readonly resources?: readonly string[] | undefined;
|
|
351
|
-
readonly
|
|
386
|
+
readonly instances?: number | undefined;
|
|
387
|
+
readonly max_instances?: number | undefined;
|
|
352
388
|
readonly command?: string | undefined;
|
|
353
|
-
readonly
|
|
354
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
389
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
355
390
|
readonly cron_schedule?: string | undefined;
|
|
356
391
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
357
392
|
readonly scale_to_zero?: boolean | undefined;
|
|
358
393
|
readonly idle_timeout_seconds?: number | undefined;
|
|
359
|
-
readonly
|
|
394
|
+
readonly min_instances?: number | undefined;
|
|
360
395
|
}[] | undefined;
|
|
361
396
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
362
397
|
readonly env?: {
|
|
@@ -370,6 +405,8 @@ export declare const projectManifestEndpoints: {
|
|
|
370
405
|
};
|
|
371
406
|
} | undefined;
|
|
372
407
|
readonly build?: {
|
|
408
|
+
readonly context?: string | undefined;
|
|
409
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
373
410
|
readonly dockerfile?: string | undefined;
|
|
374
411
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
375
412
|
readonly docker_context?: string | undefined;
|
|
@@ -400,15 +437,15 @@ export declare const projectManifestEndpoints: {
|
|
|
400
437
|
readonly port?: number | undefined;
|
|
401
438
|
readonly env?: readonly string[] | undefined;
|
|
402
439
|
readonly resources?: readonly string[] | undefined;
|
|
403
|
-
readonly
|
|
440
|
+
readonly instances?: number | undefined;
|
|
441
|
+
readonly max_instances?: number | undefined;
|
|
404
442
|
readonly command?: string | undefined;
|
|
405
|
-
readonly
|
|
406
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
443
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
407
444
|
readonly cron_schedule?: string | undefined;
|
|
408
445
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
409
446
|
readonly scale_to_zero?: boolean | undefined;
|
|
410
447
|
readonly idle_timeout_seconds?: number | undefined;
|
|
411
|
-
readonly
|
|
448
|
+
readonly min_instances?: number | undefined;
|
|
412
449
|
}[] | undefined;
|
|
413
450
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
414
451
|
readonly env?: {
|
|
@@ -422,6 +459,8 @@ export declare const projectManifestEndpoints: {
|
|
|
422
459
|
};
|
|
423
460
|
} | undefined;
|
|
424
461
|
readonly build?: {
|
|
462
|
+
readonly context?: string | undefined;
|
|
463
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
425
464
|
readonly dockerfile?: string | undefined;
|
|
426
465
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
427
466
|
readonly docker_context?: string | undefined;
|
|
@@ -452,15 +491,15 @@ export declare const projectManifestEndpoints: {
|
|
|
452
491
|
readonly port?: number | undefined;
|
|
453
492
|
readonly env?: readonly string[] | undefined;
|
|
454
493
|
readonly resources?: readonly string[] | undefined;
|
|
455
|
-
readonly
|
|
494
|
+
readonly instances?: number | undefined;
|
|
495
|
+
readonly max_instances?: number | undefined;
|
|
456
496
|
readonly command?: string | undefined;
|
|
457
|
-
readonly
|
|
458
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
497
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
459
498
|
readonly cron_schedule?: string | undefined;
|
|
460
499
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
461
500
|
readonly scale_to_zero?: boolean | undefined;
|
|
462
501
|
readonly idle_timeout_seconds?: number | undefined;
|
|
463
|
-
readonly
|
|
502
|
+
readonly min_instances?: number | undefined;
|
|
464
503
|
}[] | undefined;
|
|
465
504
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
466
505
|
readonly env?: {
|
|
@@ -474,6 +513,8 @@ export declare const projectManifestEndpoints: {
|
|
|
474
513
|
};
|
|
475
514
|
} | undefined;
|
|
476
515
|
readonly build?: {
|
|
516
|
+
readonly context?: string | undefined;
|
|
517
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
477
518
|
readonly dockerfile?: string | undefined;
|
|
478
519
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
479
520
|
readonly docker_context?: string | undefined;
|
|
@@ -494,17 +535,32 @@ export declare const projectManifestEndpoints: {
|
|
|
494
535
|
resources: Schema.optional<Schema.Struct<{
|
|
495
536
|
database: Schema.optional<Schema.Struct<{
|
|
496
537
|
engine: Schema.optional<Schema.Literal<["postgres"]>>;
|
|
497
|
-
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl"]>;
|
|
538
|
+
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
498
539
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
499
540
|
version: Schema.optional<Schema.Literal<["15", "16", "17"]>>;
|
|
500
|
-
|
|
541
|
+
read_replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
501
542
|
branch_on_preview: Schema.optional<typeof Schema.Boolean>;
|
|
502
543
|
}>>;
|
|
544
|
+
kv: Schema.optional<Schema.Struct<{
|
|
545
|
+
engine: Schema.optionalWith<typeof Schema.Never, {
|
|
546
|
+
exact: true;
|
|
547
|
+
}>;
|
|
548
|
+
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
549
|
+
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
550
|
+
}>>;
|
|
503
551
|
search: Schema.optional<Schema.Struct<{
|
|
504
|
-
engine: Schema.
|
|
505
|
-
|
|
552
|
+
engine: Schema.optionalWith<typeof Schema.Never, {
|
|
553
|
+
exact: true;
|
|
554
|
+
}>;
|
|
555
|
+
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
556
|
+
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
557
|
+
}>>;
|
|
558
|
+
volume: Schema.optional<Schema.Struct<{
|
|
559
|
+
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
506
560
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
507
|
-
|
|
561
|
+
sharing: Schema.optional<Schema.Literal<["single-writer", "shared"]>>;
|
|
562
|
+
mount_path: Schema.optional<Schema.filter<typeof Schema.String>>;
|
|
563
|
+
role: Schema.optional<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>;
|
|
508
564
|
}>>;
|
|
509
565
|
}>>;
|
|
510
566
|
ci: Schema.optional<Schema.Struct<{
|
|
@@ -532,7 +588,9 @@ export declare const projectManifestEndpoints: {
|
|
|
532
588
|
}>;
|
|
533
589
|
build: Schema.optional<Schema.Struct<{
|
|
534
590
|
buildpack: Schema.optional<Schema.Literal<["auto", "ruby", "node", "python", "static", "dockerfile"]>>;
|
|
591
|
+
strategy: Schema.optional<Schema.Literal<["auto", "buildpack", "dockerfile", "nixpacks"]>>;
|
|
535
592
|
dockerfile: Schema.optional<typeof Schema.String>;
|
|
593
|
+
context: Schema.optional<typeof Schema.String>;
|
|
536
594
|
docker_context: Schema.optional<typeof Schema.String>;
|
|
537
595
|
build_command: Schema.optional<typeof Schema.String>;
|
|
538
596
|
ignore: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
@@ -546,22 +604,45 @@ export declare const projectManifestEndpoints: {
|
|
|
546
604
|
strategy: Schema.optional<Schema.Literal<["rolling", "blue-green", "immediate"]>>;
|
|
547
605
|
graceful_shutdown: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
548
606
|
}>>;
|
|
549
|
-
services: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
607
|
+
services: Schema.optional<Schema.Array$<Schema.filter<Schema.Struct<{
|
|
550
608
|
name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
|
|
551
609
|
type: Schema.Literal<["web", "worker", "cron", "function"]>;
|
|
610
|
+
build: Schema.optional<Schema.Struct<{
|
|
611
|
+
strategy: Schema.optional<Schema.Literal<["auto", "buildpack", "dockerfile", "nixpacks"]>>;
|
|
612
|
+
dockerfile: Schema.optional<typeof Schema.String>;
|
|
613
|
+
context: Schema.optional<typeof Schema.String>;
|
|
614
|
+
docker_context: Schema.optional<typeof Schema.String>;
|
|
615
|
+
build_command: Schema.optional<typeof Schema.String>;
|
|
616
|
+
}>>;
|
|
617
|
+
health: Schema.optional<Schema.Struct<{
|
|
618
|
+
mode: Schema.optional<Schema.Literal<["http", "tcp", "command"]>>;
|
|
619
|
+
path: Schema.optional<typeof Schema.String>;
|
|
620
|
+
command: Schema.optional<typeof Schema.String>;
|
|
621
|
+
}>>;
|
|
552
622
|
command: Schema.optional<typeof Schema.String>;
|
|
553
623
|
port: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
554
|
-
|
|
555
|
-
replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
624
|
+
instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
556
625
|
instance_type: Schema.optional<Schema.Literal<["nano", "micro", "small", "standard", "large", "xlarge"]>>;
|
|
557
626
|
cron_schedule: Schema.optional<typeof Schema.String>;
|
|
558
627
|
regions: Schema.optional<Schema.Array$<Schema.Literal<["fsn1", "nbg1", "hel1", "ash1", "hil1"]>>>;
|
|
559
628
|
scale_to_zero: Schema.optional<typeof Schema.Boolean>;
|
|
560
629
|
idle_timeout_seconds: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
561
|
-
|
|
630
|
+
min_instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
631
|
+
max_instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
562
632
|
env: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
563
633
|
resources: Schema.optional<Schema.Array$<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>>;
|
|
564
|
-
|
|
634
|
+
watch_paths: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
635
|
+
}>>>>;
|
|
636
|
+
database: Schema.optional<Schema.Struct<{
|
|
637
|
+
migrations: Schema.optional<Schema.Struct<{
|
|
638
|
+
engine: Schema.Literal<["atlas", "drizzle", "prisma", "alembic", "flyway", "goose", "sqlx", "custom"]>;
|
|
639
|
+
dir: Schema.optional<typeof Schema.String>;
|
|
640
|
+
image: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
|
|
641
|
+
command: Schema.filter<typeof Schema.String>;
|
|
642
|
+
timeout: Schema.optional<typeof Schema.String>;
|
|
643
|
+
destructive_policy: Schema.optional<Schema.Literal<["require-approval", "allow"]>>;
|
|
644
|
+
}>>;
|
|
645
|
+
}>>;
|
|
565
646
|
env: Schema.optional<Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
|
|
566
647
|
value: typeof Schema.String;
|
|
567
648
|
}>, Schema.Struct<{
|
|
@@ -592,15 +673,15 @@ export declare const projectManifestEndpoints: {
|
|
|
592
673
|
readonly port?: number | undefined;
|
|
593
674
|
readonly env?: readonly string[] | undefined;
|
|
594
675
|
readonly resources?: readonly string[] | undefined;
|
|
595
|
-
readonly
|
|
676
|
+
readonly instances?: number | undefined;
|
|
677
|
+
readonly max_instances?: number | undefined;
|
|
596
678
|
readonly command?: string | undefined;
|
|
597
|
-
readonly
|
|
598
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
679
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
599
680
|
readonly cron_schedule?: string | undefined;
|
|
600
681
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
601
682
|
readonly scale_to_zero?: boolean | undefined;
|
|
602
683
|
readonly idle_timeout_seconds?: number | undefined;
|
|
603
|
-
readonly
|
|
684
|
+
readonly min_instances?: number | undefined;
|
|
604
685
|
}[] | undefined;
|
|
605
686
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
606
687
|
readonly env?: {
|
|
@@ -614,6 +695,8 @@ export declare const projectManifestEndpoints: {
|
|
|
614
695
|
};
|
|
615
696
|
} | undefined;
|
|
616
697
|
readonly build?: {
|
|
698
|
+
readonly context?: string | undefined;
|
|
699
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
617
700
|
readonly dockerfile?: string | undefined;
|
|
618
701
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
619
702
|
readonly docker_context?: string | undefined;
|
|
@@ -644,15 +727,15 @@ export declare const projectManifestEndpoints: {
|
|
|
644
727
|
readonly port?: number | undefined;
|
|
645
728
|
readonly env?: readonly string[] | undefined;
|
|
646
729
|
readonly resources?: readonly string[] | undefined;
|
|
647
|
-
readonly
|
|
730
|
+
readonly instances?: number | undefined;
|
|
731
|
+
readonly max_instances?: number | undefined;
|
|
648
732
|
readonly command?: string | undefined;
|
|
649
|
-
readonly
|
|
650
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
733
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
651
734
|
readonly cron_schedule?: string | undefined;
|
|
652
735
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
653
736
|
readonly scale_to_zero?: boolean | undefined;
|
|
654
737
|
readonly idle_timeout_seconds?: number | undefined;
|
|
655
|
-
readonly
|
|
738
|
+
readonly min_instances?: number | undefined;
|
|
656
739
|
}[] | undefined;
|
|
657
740
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
658
741
|
readonly env?: {
|
|
@@ -666,6 +749,8 @@ export declare const projectManifestEndpoints: {
|
|
|
666
749
|
};
|
|
667
750
|
} | undefined;
|
|
668
751
|
readonly build?: {
|
|
752
|
+
readonly context?: string | undefined;
|
|
753
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
669
754
|
readonly dockerfile?: string | undefined;
|
|
670
755
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
671
756
|
readonly docker_context?: string | undefined;
|
|
@@ -696,15 +781,15 @@ export declare const projectManifestEndpoints: {
|
|
|
696
781
|
readonly port?: number | undefined;
|
|
697
782
|
readonly env?: readonly string[] | undefined;
|
|
698
783
|
readonly resources?: readonly string[] | undefined;
|
|
699
|
-
readonly
|
|
784
|
+
readonly instances?: number | undefined;
|
|
785
|
+
readonly max_instances?: number | undefined;
|
|
700
786
|
readonly command?: string | undefined;
|
|
701
|
-
readonly
|
|
702
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
787
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
703
788
|
readonly cron_schedule?: string | undefined;
|
|
704
789
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
705
790
|
readonly scale_to_zero?: boolean | undefined;
|
|
706
791
|
readonly idle_timeout_seconds?: number | undefined;
|
|
707
|
-
readonly
|
|
792
|
+
readonly min_instances?: number | undefined;
|
|
708
793
|
}[] | undefined;
|
|
709
794
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
710
795
|
readonly env?: {
|
|
@@ -718,6 +803,8 @@ export declare const projectManifestEndpoints: {
|
|
|
718
803
|
};
|
|
719
804
|
} | undefined;
|
|
720
805
|
readonly build?: {
|
|
806
|
+
readonly context?: string | undefined;
|
|
807
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
721
808
|
readonly dockerfile?: string | undefined;
|
|
722
809
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
723
810
|
readonly docker_context?: string | undefined;
|
|
@@ -748,15 +835,15 @@ export declare const projectManifestEndpoints: {
|
|
|
748
835
|
readonly port?: number | undefined;
|
|
749
836
|
readonly env?: readonly string[] | undefined;
|
|
750
837
|
readonly resources?: readonly string[] | undefined;
|
|
751
|
-
readonly
|
|
838
|
+
readonly instances?: number | undefined;
|
|
839
|
+
readonly max_instances?: number | undefined;
|
|
752
840
|
readonly command?: string | undefined;
|
|
753
|
-
readonly
|
|
754
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
841
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
755
842
|
readonly cron_schedule?: string | undefined;
|
|
756
843
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
757
844
|
readonly scale_to_zero?: boolean | undefined;
|
|
758
845
|
readonly idle_timeout_seconds?: number | undefined;
|
|
759
|
-
readonly
|
|
846
|
+
readonly min_instances?: number | undefined;
|
|
760
847
|
}[] | undefined;
|
|
761
848
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
762
849
|
readonly env?: {
|
|
@@ -770,6 +857,8 @@ export declare const projectManifestEndpoints: {
|
|
|
770
857
|
};
|
|
771
858
|
} | undefined;
|
|
772
859
|
readonly build?: {
|
|
860
|
+
readonly context?: string | undefined;
|
|
861
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
773
862
|
readonly dockerfile?: string | undefined;
|
|
774
863
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
775
864
|
readonly docker_context?: string | undefined;
|
|
@@ -801,15 +890,15 @@ export declare const projectManifestEndpoints: {
|
|
|
801
890
|
readonly port?: number | undefined;
|
|
802
891
|
readonly env?: readonly string[] | undefined;
|
|
803
892
|
readonly resources?: readonly string[] | undefined;
|
|
804
|
-
readonly
|
|
893
|
+
readonly instances?: number | undefined;
|
|
894
|
+
readonly max_instances?: number | undefined;
|
|
805
895
|
readonly command?: string | undefined;
|
|
806
|
-
readonly
|
|
807
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
896
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
808
897
|
readonly cron_schedule?: string | undefined;
|
|
809
898
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
810
899
|
readonly scale_to_zero?: boolean | undefined;
|
|
811
900
|
readonly idle_timeout_seconds?: number | undefined;
|
|
812
|
-
readonly
|
|
901
|
+
readonly min_instances?: number | undefined;
|
|
813
902
|
}[] | undefined;
|
|
814
903
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
815
904
|
readonly env?: {
|
|
@@ -823,6 +912,8 @@ export declare const projectManifestEndpoints: {
|
|
|
823
912
|
};
|
|
824
913
|
} | undefined;
|
|
825
914
|
readonly build?: {
|
|
915
|
+
readonly context?: string | undefined;
|
|
916
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
826
917
|
readonly dockerfile?: string | undefined;
|
|
827
918
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
828
919
|
readonly docker_context?: string | undefined;
|
|
@@ -853,15 +944,15 @@ export declare const projectManifestEndpoints: {
|
|
|
853
944
|
readonly port?: number | undefined;
|
|
854
945
|
readonly env?: readonly string[] | undefined;
|
|
855
946
|
readonly resources?: readonly string[] | undefined;
|
|
856
|
-
readonly
|
|
947
|
+
readonly instances?: number | undefined;
|
|
948
|
+
readonly max_instances?: number | undefined;
|
|
857
949
|
readonly command?: string | undefined;
|
|
858
|
-
readonly
|
|
859
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
950
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
860
951
|
readonly cron_schedule?: string | undefined;
|
|
861
952
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
862
953
|
readonly scale_to_zero?: boolean | undefined;
|
|
863
954
|
readonly idle_timeout_seconds?: number | undefined;
|
|
864
|
-
readonly
|
|
955
|
+
readonly min_instances?: number | undefined;
|
|
865
956
|
}[] | undefined;
|
|
866
957
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
867
958
|
readonly env?: {
|
|
@@ -875,6 +966,8 @@ export declare const projectManifestEndpoints: {
|
|
|
875
966
|
};
|
|
876
967
|
} | undefined;
|
|
877
968
|
readonly build?: {
|
|
969
|
+
readonly context?: string | undefined;
|
|
970
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
878
971
|
readonly dockerfile?: string | undefined;
|
|
879
972
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
880
973
|
readonly docker_context?: string | undefined;
|
|
@@ -905,15 +998,15 @@ export declare const projectManifestEndpoints: {
|
|
|
905
998
|
readonly port?: number | undefined;
|
|
906
999
|
readonly env?: readonly string[] | undefined;
|
|
907
1000
|
readonly resources?: readonly string[] | undefined;
|
|
908
|
-
readonly
|
|
1001
|
+
readonly instances?: number | undefined;
|
|
1002
|
+
readonly max_instances?: number | undefined;
|
|
909
1003
|
readonly command?: string | undefined;
|
|
910
|
-
readonly
|
|
911
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
1004
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
912
1005
|
readonly cron_schedule?: string | undefined;
|
|
913
1006
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
914
1007
|
readonly scale_to_zero?: boolean | undefined;
|
|
915
1008
|
readonly idle_timeout_seconds?: number | undefined;
|
|
916
|
-
readonly
|
|
1009
|
+
readonly min_instances?: number | undefined;
|
|
917
1010
|
}[] | undefined;
|
|
918
1011
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
919
1012
|
readonly env?: {
|
|
@@ -927,6 +1020,8 @@ export declare const projectManifestEndpoints: {
|
|
|
927
1020
|
};
|
|
928
1021
|
} | undefined;
|
|
929
1022
|
readonly build?: {
|
|
1023
|
+
readonly context?: string | undefined;
|
|
1024
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
930
1025
|
readonly dockerfile?: string | undefined;
|
|
931
1026
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
932
1027
|
readonly docker_context?: string | undefined;
|
|
@@ -957,15 +1052,15 @@ export declare const projectManifestEndpoints: {
|
|
|
957
1052
|
readonly port?: number | undefined;
|
|
958
1053
|
readonly env?: readonly string[] | undefined;
|
|
959
1054
|
readonly resources?: readonly string[] | undefined;
|
|
960
|
-
readonly
|
|
1055
|
+
readonly instances?: number | undefined;
|
|
1056
|
+
readonly max_instances?: number | undefined;
|
|
961
1057
|
readonly command?: string | undefined;
|
|
962
|
-
readonly
|
|
963
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
1058
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
964
1059
|
readonly cron_schedule?: string | undefined;
|
|
965
1060
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
966
1061
|
readonly scale_to_zero?: boolean | undefined;
|
|
967
1062
|
readonly idle_timeout_seconds?: number | undefined;
|
|
968
|
-
readonly
|
|
1063
|
+
readonly min_instances?: number | undefined;
|
|
969
1064
|
}[] | undefined;
|
|
970
1065
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
971
1066
|
readonly env?: {
|
|
@@ -979,6 +1074,8 @@ export declare const projectManifestEndpoints: {
|
|
|
979
1074
|
};
|
|
980
1075
|
} | undefined;
|
|
981
1076
|
readonly build?: {
|
|
1077
|
+
readonly context?: string | undefined;
|
|
1078
|
+
readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
|
|
982
1079
|
readonly dockerfile?: string | undefined;
|
|
983
1080
|
readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
|
|
984
1081
|
readonly docker_context?: string | undefined;
|
|
@@ -999,17 +1096,32 @@ export declare const projectManifestEndpoints: {
|
|
|
999
1096
|
resources: Schema.optional<Schema.Struct<{
|
|
1000
1097
|
database: Schema.optional<Schema.Struct<{
|
|
1001
1098
|
engine: Schema.optional<Schema.Literal<["postgres"]>>;
|
|
1002
|
-
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl"]>;
|
|
1099
|
+
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
1003
1100
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1004
1101
|
version: Schema.optional<Schema.Literal<["15", "16", "17"]>>;
|
|
1005
|
-
|
|
1102
|
+
read_replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1006
1103
|
branch_on_preview: Schema.optional<typeof Schema.Boolean>;
|
|
1007
1104
|
}>>;
|
|
1105
|
+
kv: Schema.optional<Schema.Struct<{
|
|
1106
|
+
engine: Schema.optionalWith<typeof Schema.Never, {
|
|
1107
|
+
exact: true;
|
|
1108
|
+
}>;
|
|
1109
|
+
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
1110
|
+
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1111
|
+
}>>;
|
|
1008
1112
|
search: Schema.optional<Schema.Struct<{
|
|
1009
|
-
engine: Schema.
|
|
1010
|
-
|
|
1113
|
+
engine: Schema.optionalWith<typeof Schema.Never, {
|
|
1114
|
+
exact: true;
|
|
1115
|
+
}>;
|
|
1116
|
+
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
1117
|
+
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1118
|
+
}>>;
|
|
1119
|
+
volume: Schema.optional<Schema.Struct<{
|
|
1120
|
+
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
1011
1121
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1012
|
-
|
|
1122
|
+
sharing: Schema.optional<Schema.Literal<["single-writer", "shared"]>>;
|
|
1123
|
+
mount_path: Schema.optional<Schema.filter<typeof Schema.String>>;
|
|
1124
|
+
role: Schema.optional<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>;
|
|
1013
1125
|
}>>;
|
|
1014
1126
|
}>>;
|
|
1015
1127
|
ci: Schema.optional<Schema.Struct<{
|