@sylphx/contract 0.5.1 → 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 +6 -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 +0 -1
- package/dist/endpoints/kv-admin.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 +90 -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/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 +254 -338
- 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/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 +0 -1
- package/dist/schemas/kv-admin.d.ts.map +1 -1
- package/dist/schemas/kv-admin.js +0 -1
- 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 +180 -187
- package/dist/schemas/project-manifest.d.ts.map +1 -1
- package/dist/schemas/project-manifest.js +62 -57
- 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 +1 -1
- package/dist/schemas/storage.js +1 -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
|
@@ -43,7 +43,7 @@ export declare const projectManifestEndpoints: {
|
|
|
43
43
|
strategy: Schema.optional<Schema.Literal<["rolling", "blue-green", "immediate"]>>;
|
|
44
44
|
graceful_shutdown: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
45
45
|
}>>;
|
|
46
|
-
services: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
46
|
+
services: Schema.optional<Schema.Array$<Schema.filter<Schema.Struct<{
|
|
47
47
|
name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
|
|
48
48
|
type: Schema.Literal<["web", "worker", "cron", "function"]>;
|
|
49
49
|
build: Schema.optional<Schema.Struct<{
|
|
@@ -60,18 +60,18 @@ export declare const projectManifestEndpoints: {
|
|
|
60
60
|
}>>;
|
|
61
61
|
command: Schema.optional<typeof Schema.String>;
|
|
62
62
|
port: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
63
|
-
|
|
64
|
-
replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
63
|
+
instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
65
64
|
instance_type: Schema.optional<Schema.Literal<["nano", "micro", "small", "standard", "large", "xlarge"]>>;
|
|
66
65
|
cron_schedule: Schema.optional<typeof Schema.String>;
|
|
67
66
|
regions: Schema.optional<Schema.Array$<Schema.Literal<["fsn1", "nbg1", "hel1", "ash1", "hil1"]>>>;
|
|
68
67
|
scale_to_zero: Schema.optional<typeof Schema.Boolean>;
|
|
69
68
|
idle_timeout_seconds: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
70
|
-
|
|
69
|
+
min_instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
70
|
+
max_instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
71
71
|
env: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
72
72
|
resources: Schema.optional<Schema.Array$<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>>;
|
|
73
73
|
watch_paths: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
74
|
-
}
|
|
74
|
+
}>>>>;
|
|
75
75
|
database: Schema.optional<Schema.Struct<{
|
|
76
76
|
migrations: Schema.optional<Schema.Struct<{
|
|
77
77
|
engine: Schema.Literal<["atlas", "drizzle", "prisma", "alembic", "flyway", "goose", "sqlx", "custom"]>;
|
|
@@ -112,15 +112,15 @@ export declare const projectManifestEndpoints: {
|
|
|
112
112
|
readonly port?: number | undefined;
|
|
113
113
|
readonly env?: readonly string[] | undefined;
|
|
114
114
|
readonly resources?: readonly string[] | undefined;
|
|
115
|
-
readonly
|
|
115
|
+
readonly instances?: number | undefined;
|
|
116
|
+
readonly max_instances?: number | undefined;
|
|
116
117
|
readonly command?: string | undefined;
|
|
117
|
-
readonly
|
|
118
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
118
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
119
119
|
readonly cron_schedule?: string | undefined;
|
|
120
120
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
121
121
|
readonly scale_to_zero?: boolean | undefined;
|
|
122
122
|
readonly idle_timeout_seconds?: number | undefined;
|
|
123
|
-
readonly
|
|
123
|
+
readonly min_instances?: number | undefined;
|
|
124
124
|
}[] | undefined;
|
|
125
125
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
126
126
|
readonly env?: {
|
|
@@ -166,15 +166,15 @@ export declare const projectManifestEndpoints: {
|
|
|
166
166
|
readonly port?: number | undefined;
|
|
167
167
|
readonly env?: readonly string[] | undefined;
|
|
168
168
|
readonly resources?: readonly string[] | undefined;
|
|
169
|
-
readonly
|
|
169
|
+
readonly instances?: number | undefined;
|
|
170
|
+
readonly max_instances?: number | undefined;
|
|
170
171
|
readonly command?: string | undefined;
|
|
171
|
-
readonly
|
|
172
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
172
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
173
173
|
readonly cron_schedule?: string | undefined;
|
|
174
174
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
175
175
|
readonly scale_to_zero?: boolean | undefined;
|
|
176
176
|
readonly idle_timeout_seconds?: number | undefined;
|
|
177
|
-
readonly
|
|
177
|
+
readonly min_instances?: number | undefined;
|
|
178
178
|
}[] | undefined;
|
|
179
179
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
180
180
|
readonly env?: {
|
|
@@ -220,15 +220,15 @@ export declare const projectManifestEndpoints: {
|
|
|
220
220
|
readonly port?: number | undefined;
|
|
221
221
|
readonly env?: readonly string[] | undefined;
|
|
222
222
|
readonly resources?: readonly string[] | undefined;
|
|
223
|
-
readonly
|
|
223
|
+
readonly instances?: number | undefined;
|
|
224
|
+
readonly max_instances?: number | undefined;
|
|
224
225
|
readonly command?: string | undefined;
|
|
225
|
-
readonly
|
|
226
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
226
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
227
227
|
readonly cron_schedule?: string | undefined;
|
|
228
228
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
229
229
|
readonly scale_to_zero?: boolean | undefined;
|
|
230
230
|
readonly idle_timeout_seconds?: number | undefined;
|
|
231
|
-
readonly
|
|
231
|
+
readonly min_instances?: number | undefined;
|
|
232
232
|
}[] | undefined;
|
|
233
233
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
234
234
|
readonly env?: {
|
|
@@ -274,15 +274,15 @@ export declare const projectManifestEndpoints: {
|
|
|
274
274
|
readonly port?: number | undefined;
|
|
275
275
|
readonly env?: readonly string[] | undefined;
|
|
276
276
|
readonly resources?: readonly string[] | undefined;
|
|
277
|
-
readonly
|
|
277
|
+
readonly instances?: number | undefined;
|
|
278
|
+
readonly max_instances?: number | undefined;
|
|
278
279
|
readonly command?: string | undefined;
|
|
279
|
-
readonly
|
|
280
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
280
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
281
281
|
readonly cron_schedule?: string | undefined;
|
|
282
282
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
283
283
|
readonly scale_to_zero?: boolean | undefined;
|
|
284
284
|
readonly idle_timeout_seconds?: number | undefined;
|
|
285
|
-
readonly
|
|
285
|
+
readonly min_instances?: number | undefined;
|
|
286
286
|
}[] | undefined;
|
|
287
287
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
288
288
|
readonly env?: {
|
|
@@ -329,15 +329,15 @@ export declare const projectManifestEndpoints: {
|
|
|
329
329
|
readonly port?: number | undefined;
|
|
330
330
|
readonly env?: readonly string[] | undefined;
|
|
331
331
|
readonly resources?: readonly string[] | undefined;
|
|
332
|
-
readonly
|
|
332
|
+
readonly instances?: number | undefined;
|
|
333
|
+
readonly max_instances?: number | undefined;
|
|
333
334
|
readonly command?: string | undefined;
|
|
334
|
-
readonly
|
|
335
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
335
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
336
336
|
readonly cron_schedule?: string | undefined;
|
|
337
337
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
338
338
|
readonly scale_to_zero?: boolean | undefined;
|
|
339
339
|
readonly idle_timeout_seconds?: number | undefined;
|
|
340
|
-
readonly
|
|
340
|
+
readonly min_instances?: number | undefined;
|
|
341
341
|
}[] | undefined;
|
|
342
342
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
343
343
|
readonly env?: {
|
|
@@ -383,15 +383,15 @@ export declare const projectManifestEndpoints: {
|
|
|
383
383
|
readonly port?: number | undefined;
|
|
384
384
|
readonly env?: readonly string[] | undefined;
|
|
385
385
|
readonly resources?: readonly string[] | undefined;
|
|
386
|
-
readonly
|
|
386
|
+
readonly instances?: number | undefined;
|
|
387
|
+
readonly max_instances?: number | undefined;
|
|
387
388
|
readonly command?: string | undefined;
|
|
388
|
-
readonly
|
|
389
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
389
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
390
390
|
readonly cron_schedule?: string | undefined;
|
|
391
391
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
392
392
|
readonly scale_to_zero?: boolean | undefined;
|
|
393
393
|
readonly idle_timeout_seconds?: number | undefined;
|
|
394
|
-
readonly
|
|
394
|
+
readonly min_instances?: number | undefined;
|
|
395
395
|
}[] | undefined;
|
|
396
396
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
397
397
|
readonly env?: {
|
|
@@ -437,15 +437,15 @@ export declare const projectManifestEndpoints: {
|
|
|
437
437
|
readonly port?: number | undefined;
|
|
438
438
|
readonly env?: readonly string[] | undefined;
|
|
439
439
|
readonly resources?: readonly string[] | undefined;
|
|
440
|
-
readonly
|
|
440
|
+
readonly instances?: number | undefined;
|
|
441
|
+
readonly max_instances?: number | undefined;
|
|
441
442
|
readonly command?: string | undefined;
|
|
442
|
-
readonly
|
|
443
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
443
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
444
444
|
readonly cron_schedule?: string | undefined;
|
|
445
445
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
446
446
|
readonly scale_to_zero?: boolean | undefined;
|
|
447
447
|
readonly idle_timeout_seconds?: number | undefined;
|
|
448
|
-
readonly
|
|
448
|
+
readonly min_instances?: number | undefined;
|
|
449
449
|
}[] | undefined;
|
|
450
450
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
451
451
|
readonly env?: {
|
|
@@ -491,15 +491,15 @@ export declare const projectManifestEndpoints: {
|
|
|
491
491
|
readonly port?: number | undefined;
|
|
492
492
|
readonly env?: readonly string[] | undefined;
|
|
493
493
|
readonly resources?: readonly string[] | undefined;
|
|
494
|
-
readonly
|
|
494
|
+
readonly instances?: number | undefined;
|
|
495
|
+
readonly max_instances?: number | undefined;
|
|
495
496
|
readonly command?: string | undefined;
|
|
496
|
-
readonly
|
|
497
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
497
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
498
498
|
readonly cron_schedule?: string | undefined;
|
|
499
499
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
500
500
|
readonly scale_to_zero?: boolean | undefined;
|
|
501
501
|
readonly idle_timeout_seconds?: number | undefined;
|
|
502
|
-
readonly
|
|
502
|
+
readonly min_instances?: number | undefined;
|
|
503
503
|
}[] | undefined;
|
|
504
504
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
505
505
|
readonly env?: {
|
|
@@ -538,24 +538,27 @@ export declare const projectManifestEndpoints: {
|
|
|
538
538
|
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
539
539
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
540
540
|
version: Schema.optional<Schema.Literal<["15", "16", "17"]>>;
|
|
541
|
-
|
|
541
|
+
read_replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
542
542
|
branch_on_preview: Schema.optional<typeof Schema.Boolean>;
|
|
543
543
|
}>>;
|
|
544
544
|
kv: Schema.optional<Schema.Struct<{
|
|
545
|
-
engine: Schema.
|
|
545
|
+
engine: Schema.optionalWith<typeof Schema.Never, {
|
|
546
|
+
exact: true;
|
|
547
|
+
}>;
|
|
546
548
|
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
547
549
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
548
550
|
}>>;
|
|
549
551
|
search: Schema.optional<Schema.Struct<{
|
|
550
|
-
engine: Schema.
|
|
552
|
+
engine: Schema.optionalWith<typeof Schema.Never, {
|
|
553
|
+
exact: true;
|
|
554
|
+
}>;
|
|
551
555
|
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
552
556
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
553
|
-
nodes: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
554
557
|
}>>;
|
|
555
558
|
volume: Schema.optional<Schema.Struct<{
|
|
556
559
|
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
557
560
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
558
|
-
|
|
561
|
+
sharing: Schema.optional<Schema.Literal<["single-writer", "shared"]>>;
|
|
559
562
|
mount_path: Schema.optional<Schema.filter<typeof Schema.String>>;
|
|
560
563
|
role: Schema.optional<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>;
|
|
561
564
|
}>>;
|
|
@@ -601,7 +604,7 @@ export declare const projectManifestEndpoints: {
|
|
|
601
604
|
strategy: Schema.optional<Schema.Literal<["rolling", "blue-green", "immediate"]>>;
|
|
602
605
|
graceful_shutdown: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
603
606
|
}>>;
|
|
604
|
-
services: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
607
|
+
services: Schema.optional<Schema.Array$<Schema.filter<Schema.Struct<{
|
|
605
608
|
name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
|
|
606
609
|
type: Schema.Literal<["web", "worker", "cron", "function"]>;
|
|
607
610
|
build: Schema.optional<Schema.Struct<{
|
|
@@ -618,18 +621,18 @@ export declare const projectManifestEndpoints: {
|
|
|
618
621
|
}>>;
|
|
619
622
|
command: Schema.optional<typeof Schema.String>;
|
|
620
623
|
port: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
621
|
-
|
|
622
|
-
replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
624
|
+
instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
623
625
|
instance_type: Schema.optional<Schema.Literal<["nano", "micro", "small", "standard", "large", "xlarge"]>>;
|
|
624
626
|
cron_schedule: Schema.optional<typeof Schema.String>;
|
|
625
627
|
regions: Schema.optional<Schema.Array$<Schema.Literal<["fsn1", "nbg1", "hel1", "ash1", "hil1"]>>>;
|
|
626
628
|
scale_to_zero: Schema.optional<typeof Schema.Boolean>;
|
|
627
629
|
idle_timeout_seconds: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
628
|
-
|
|
630
|
+
min_instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
631
|
+
max_instances: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
629
632
|
env: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
630
633
|
resources: Schema.optional<Schema.Array$<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>>;
|
|
631
634
|
watch_paths: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
632
|
-
}
|
|
635
|
+
}>>>>;
|
|
633
636
|
database: Schema.optional<Schema.Struct<{
|
|
634
637
|
migrations: Schema.optional<Schema.Struct<{
|
|
635
638
|
engine: Schema.Literal<["atlas", "drizzle", "prisma", "alembic", "flyway", "goose", "sqlx", "custom"]>;
|
|
@@ -670,15 +673,15 @@ export declare const projectManifestEndpoints: {
|
|
|
670
673
|
readonly port?: number | undefined;
|
|
671
674
|
readonly env?: readonly string[] | undefined;
|
|
672
675
|
readonly resources?: readonly string[] | undefined;
|
|
673
|
-
readonly
|
|
676
|
+
readonly instances?: number | undefined;
|
|
677
|
+
readonly max_instances?: number | undefined;
|
|
674
678
|
readonly command?: string | undefined;
|
|
675
|
-
readonly
|
|
676
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
679
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
677
680
|
readonly cron_schedule?: string | undefined;
|
|
678
681
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
679
682
|
readonly scale_to_zero?: boolean | undefined;
|
|
680
683
|
readonly idle_timeout_seconds?: number | undefined;
|
|
681
|
-
readonly
|
|
684
|
+
readonly min_instances?: number | undefined;
|
|
682
685
|
}[] | undefined;
|
|
683
686
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
684
687
|
readonly env?: {
|
|
@@ -724,15 +727,15 @@ export declare const projectManifestEndpoints: {
|
|
|
724
727
|
readonly port?: number | undefined;
|
|
725
728
|
readonly env?: readonly string[] | undefined;
|
|
726
729
|
readonly resources?: readonly string[] | undefined;
|
|
727
|
-
readonly
|
|
730
|
+
readonly instances?: number | undefined;
|
|
731
|
+
readonly max_instances?: number | undefined;
|
|
728
732
|
readonly command?: string | undefined;
|
|
729
|
-
readonly
|
|
730
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
733
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
731
734
|
readonly cron_schedule?: string | undefined;
|
|
732
735
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
733
736
|
readonly scale_to_zero?: boolean | undefined;
|
|
734
737
|
readonly idle_timeout_seconds?: number | undefined;
|
|
735
|
-
readonly
|
|
738
|
+
readonly min_instances?: number | undefined;
|
|
736
739
|
}[] | undefined;
|
|
737
740
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
738
741
|
readonly env?: {
|
|
@@ -778,15 +781,15 @@ export declare const projectManifestEndpoints: {
|
|
|
778
781
|
readonly port?: number | undefined;
|
|
779
782
|
readonly env?: readonly string[] | undefined;
|
|
780
783
|
readonly resources?: readonly string[] | undefined;
|
|
781
|
-
readonly
|
|
784
|
+
readonly instances?: number | undefined;
|
|
785
|
+
readonly max_instances?: number | undefined;
|
|
782
786
|
readonly command?: string | undefined;
|
|
783
|
-
readonly
|
|
784
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
787
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
785
788
|
readonly cron_schedule?: string | undefined;
|
|
786
789
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
787
790
|
readonly scale_to_zero?: boolean | undefined;
|
|
788
791
|
readonly idle_timeout_seconds?: number | undefined;
|
|
789
|
-
readonly
|
|
792
|
+
readonly min_instances?: number | undefined;
|
|
790
793
|
}[] | undefined;
|
|
791
794
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
792
795
|
readonly env?: {
|
|
@@ -832,15 +835,15 @@ export declare const projectManifestEndpoints: {
|
|
|
832
835
|
readonly port?: number | undefined;
|
|
833
836
|
readonly env?: readonly string[] | undefined;
|
|
834
837
|
readonly resources?: readonly string[] | undefined;
|
|
835
|
-
readonly
|
|
838
|
+
readonly instances?: number | undefined;
|
|
839
|
+
readonly max_instances?: number | undefined;
|
|
836
840
|
readonly command?: string | undefined;
|
|
837
|
-
readonly
|
|
838
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
841
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
839
842
|
readonly cron_schedule?: string | undefined;
|
|
840
843
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
841
844
|
readonly scale_to_zero?: boolean | undefined;
|
|
842
845
|
readonly idle_timeout_seconds?: number | undefined;
|
|
843
|
-
readonly
|
|
846
|
+
readonly min_instances?: number | undefined;
|
|
844
847
|
}[] | undefined;
|
|
845
848
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
846
849
|
readonly env?: {
|
|
@@ -887,15 +890,15 @@ export declare const projectManifestEndpoints: {
|
|
|
887
890
|
readonly port?: number | undefined;
|
|
888
891
|
readonly env?: readonly string[] | undefined;
|
|
889
892
|
readonly resources?: readonly string[] | undefined;
|
|
890
|
-
readonly
|
|
893
|
+
readonly instances?: number | undefined;
|
|
894
|
+
readonly max_instances?: number | undefined;
|
|
891
895
|
readonly command?: string | undefined;
|
|
892
|
-
readonly
|
|
893
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
896
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
894
897
|
readonly cron_schedule?: string | undefined;
|
|
895
898
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
896
899
|
readonly scale_to_zero?: boolean | undefined;
|
|
897
900
|
readonly idle_timeout_seconds?: number | undefined;
|
|
898
|
-
readonly
|
|
901
|
+
readonly min_instances?: number | undefined;
|
|
899
902
|
}[] | undefined;
|
|
900
903
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
901
904
|
readonly env?: {
|
|
@@ -941,15 +944,15 @@ export declare const projectManifestEndpoints: {
|
|
|
941
944
|
readonly port?: number | undefined;
|
|
942
945
|
readonly env?: readonly string[] | undefined;
|
|
943
946
|
readonly resources?: readonly string[] | undefined;
|
|
944
|
-
readonly
|
|
947
|
+
readonly instances?: number | undefined;
|
|
948
|
+
readonly max_instances?: number | undefined;
|
|
945
949
|
readonly command?: string | undefined;
|
|
946
|
-
readonly
|
|
947
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
950
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
948
951
|
readonly cron_schedule?: string | undefined;
|
|
949
952
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
950
953
|
readonly scale_to_zero?: boolean | undefined;
|
|
951
954
|
readonly idle_timeout_seconds?: number | undefined;
|
|
952
|
-
readonly
|
|
955
|
+
readonly min_instances?: number | undefined;
|
|
953
956
|
}[] | undefined;
|
|
954
957
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
955
958
|
readonly env?: {
|
|
@@ -995,15 +998,15 @@ export declare const projectManifestEndpoints: {
|
|
|
995
998
|
readonly port?: number | undefined;
|
|
996
999
|
readonly env?: readonly string[] | undefined;
|
|
997
1000
|
readonly resources?: readonly string[] | undefined;
|
|
998
|
-
readonly
|
|
1001
|
+
readonly instances?: number | undefined;
|
|
1002
|
+
readonly max_instances?: number | undefined;
|
|
999
1003
|
readonly command?: string | undefined;
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
1004
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
1002
1005
|
readonly cron_schedule?: string | undefined;
|
|
1003
1006
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
1004
1007
|
readonly scale_to_zero?: boolean | undefined;
|
|
1005
1008
|
readonly idle_timeout_seconds?: number | undefined;
|
|
1006
|
-
readonly
|
|
1009
|
+
readonly min_instances?: number | undefined;
|
|
1007
1010
|
}[] | undefined;
|
|
1008
1011
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
1009
1012
|
readonly env?: {
|
|
@@ -1049,15 +1052,15 @@ export declare const projectManifestEndpoints: {
|
|
|
1049
1052
|
readonly port?: number | undefined;
|
|
1050
1053
|
readonly env?: readonly string[] | undefined;
|
|
1051
1054
|
readonly resources?: readonly string[] | undefined;
|
|
1052
|
-
readonly
|
|
1055
|
+
readonly instances?: number | undefined;
|
|
1056
|
+
readonly max_instances?: number | undefined;
|
|
1053
1057
|
readonly command?: string | undefined;
|
|
1054
|
-
readonly
|
|
1055
|
-
readonly instance_type?: "standard" | "large" | "xlarge" | "nano" | "micro" | "small" | undefined;
|
|
1058
|
+
readonly instance_type?: "nano" | "micro" | "standard" | "large" | "xlarge" | "small" | undefined;
|
|
1056
1059
|
readonly cron_schedule?: string | undefined;
|
|
1057
1060
|
readonly regions?: readonly ("fsn1" | "nbg1" | "hel1" | "ash1" | "hil1")[] | undefined;
|
|
1058
1061
|
readonly scale_to_zero?: boolean | undefined;
|
|
1059
1062
|
readonly idle_timeout_seconds?: number | undefined;
|
|
1060
|
-
readonly
|
|
1063
|
+
readonly min_instances?: number | undefined;
|
|
1061
1064
|
}[] | undefined;
|
|
1062
1065
|
readonly region?: "fsn1" | "nbg1" | "hel1" | "ash1" | "hil1" | undefined;
|
|
1063
1066
|
readonly env?: {
|
|
@@ -1096,24 +1099,27 @@ export declare const projectManifestEndpoints: {
|
|
|
1096
1099
|
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
1097
1100
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1098
1101
|
version: Schema.optional<Schema.Literal<["15", "16", "17"]>>;
|
|
1099
|
-
|
|
1102
|
+
read_replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1100
1103
|
branch_on_preview: Schema.optional<typeof Schema.Boolean>;
|
|
1101
1104
|
}>>;
|
|
1102
1105
|
kv: Schema.optional<Schema.Struct<{
|
|
1103
|
-
engine: Schema.
|
|
1106
|
+
engine: Schema.optionalWith<typeof Schema.Never, {
|
|
1107
|
+
exact: true;
|
|
1108
|
+
}>;
|
|
1104
1109
|
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
1105
1110
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1106
1111
|
}>>;
|
|
1107
1112
|
search: Schema.optional<Schema.Struct<{
|
|
1108
|
-
engine: Schema.
|
|
1113
|
+
engine: Schema.optionalWith<typeof Schema.Never, {
|
|
1114
|
+
exact: true;
|
|
1115
|
+
}>;
|
|
1109
1116
|
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
1110
1117
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1111
|
-
nodes: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1112
1118
|
}>>;
|
|
1113
1119
|
volume: Schema.optional<Schema.Struct<{
|
|
1114
1120
|
tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
|
|
1115
1121
|
storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
1116
|
-
|
|
1122
|
+
sharing: Schema.optional<Schema.Literal<["single-writer", "shared"]>>;
|
|
1117
1123
|
mount_path: Schema.optional<Schema.filter<typeof Schema.String>>;
|
|
1118
1124
|
role: Schema.optional<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>;
|
|
1119
1125
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-manifest.d.ts","sourceRoot":"","sources":["../../src/endpoints/project-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2B/B,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"project-manifest.d.ts","sourceRoot":"","sources":["../../src/endpoints/project-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2B/B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwB3B,CAAA"}
|
|
@@ -36,8 +36,6 @@ export declare const projectsEndpoints: {
|
|
|
36
36
|
isActive: Schema.optional<typeof Schema.Boolean>;
|
|
37
37
|
publicKey: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
38
38
|
secretKeyPrefix: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
39
|
-
deployAppId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
40
|
-
namespace: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
41
39
|
githubRepo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
42
40
|
githubBranch: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
43
41
|
customDomains: Schema.optional<Schema.NullOr<Schema.Array$<typeof Schema.String>>>;
|
|
@@ -83,8 +81,6 @@ export declare const projectsEndpoints: {
|
|
|
83
81
|
isActive: Schema.optional<typeof Schema.Boolean>;
|
|
84
82
|
publicKey: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
85
83
|
secretKeyPrefix: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
86
|
-
deployAppId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
87
|
-
namespace: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
88
84
|
githubRepo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
89
85
|
githubBranch: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
90
86
|
customDomains: Schema.optional<Schema.NullOr<Schema.Array$<typeof Schema.String>>>;
|
|
@@ -123,8 +119,6 @@ export declare const projectsEndpoints: {
|
|
|
123
119
|
isActive: Schema.optional<typeof Schema.Boolean>;
|
|
124
120
|
publicKey: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
125
121
|
secretKeyPrefix: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
126
|
-
deployAppId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
127
|
-
namespace: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
128
122
|
githubRepo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
129
123
|
githubBranch: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
130
124
|
customDomains: Schema.optional<Schema.NullOr<Schema.Array$<typeof Schema.String>>>;
|
|
@@ -168,8 +162,6 @@ export declare const projectsEndpoints: {
|
|
|
168
162
|
isActive: Schema.optional<typeof Schema.Boolean>;
|
|
169
163
|
publicKey: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
170
164
|
secretKeyPrefix: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
171
|
-
deployAppId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
172
|
-
namespace: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
173
165
|
githubRepo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
174
166
|
githubBranch: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
175
167
|
customDomains: Schema.optional<Schema.NullOr<Schema.Array$<typeof Schema.String>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/endpoints/projects.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiB/B,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/endpoints/projects.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiB/B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CpB,CAAA"}
|
|
@@ -12,7 +12,6 @@ export declare const realtimeAdminEndpoints: {
|
|
|
12
12
|
projectId: typeof import("effect/Schema").String;
|
|
13
13
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
14
14
|
available: typeof import("effect/Schema").Boolean;
|
|
15
|
-
provider: typeof import("effect/Schema").String;
|
|
16
15
|
}>, undefined>;
|
|
17
16
|
readonly listChannels: import("../endpoint.js").Endpoint<"GET", "/realtime/channels", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
18
17
|
projectId: typeof import("effect/Schema").String;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime-admin.d.ts","sourceRoot":"","sources":["../../src/endpoints/realtime-admin.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAaH,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"realtime-admin.d.ts","sourceRoot":"","sources":["../../src/endpoints/realtime-admin.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAaH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCzB,CAAA"}
|
|
@@ -16,7 +16,7 @@ export const realtimeAdminEndpoints = {
|
|
|
16
16
|
query: RealtimeAdminProjectIdQuery,
|
|
17
17
|
response: RealtimeAdminStatusResult,
|
|
18
18
|
plane: 'management',
|
|
19
|
-
summary: 'Get realtime service status
|
|
19
|
+
summary: 'Get realtime service status',
|
|
20
20
|
tags: ['realtime-admin'],
|
|
21
21
|
}),
|
|
22
22
|
listChannels: defineEndpoint({
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Plane: `management`. `GET /regions` is publicly listable (no auth
|
|
5
5
|
* required) so docs and pricing can enumerate regions. Region pinning is
|
|
6
|
-
* intentionally not public until
|
|
7
|
-
*
|
|
6
|
+
* intentionally not public until deployment can actually target multiple
|
|
7
|
+
* regions.
|
|
8
8
|
*/
|
|
9
9
|
export declare const regionsEndpoints: {
|
|
10
10
|
readonly list: import("../endpoint.js").Endpoint<"GET", "/regions", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -12,11 +12,9 @@ export declare const regionsEndpoints: {
|
|
|
12
12
|
id: typeof import("effect/Schema").String;
|
|
13
13
|
slug: typeof import("effect/Schema").String;
|
|
14
14
|
name: typeof import("effect/Schema").String;
|
|
15
|
-
clusterEndpoint: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
16
15
|
status: import("effect/Schema").Literal<["coming-soon", "active", "decommissioned"]>;
|
|
17
16
|
locationLat: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
18
17
|
locationLng: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
19
|
-
gatewayIpRange: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
20
18
|
createdAt: typeof import("effect/Schema").String;
|
|
21
19
|
}>>;
|
|
22
20
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regions.d.ts","sourceRoot":"","sources":["../../src/endpoints/regions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"regions.d.ts","sourceRoot":"","sources":["../../src/endpoints/regions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;CAWnB,CAAA"}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Plane: `management`. `GET /regions` is publicly listable (no auth
|
|
5
5
|
* required) so docs and pricing can enumerate regions. Region pinning is
|
|
6
|
-
* intentionally not public until
|
|
7
|
-
*
|
|
6
|
+
* intentionally not public until deployment can actually target multiple
|
|
7
|
+
* regions.
|
|
8
8
|
*/
|
|
9
9
|
import { defineEndpoint } from '../endpoint.js';
|
|
10
10
|
import { ListRegionsResult } from '../schemas/region.js';
|