@spacefast/common 0.0.21 → 0.0.24
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/dist/agents/connect-targets.d.ts +9 -6
- package/dist/agents/connect-targets.js +9 -6
- package/dist/config/domains.d.ts +1 -1
- package/dist/config/domains.js +1 -0
- package/dist/config/index.d.ts +0 -1
- package/dist/config/index.js +0 -1
- package/dist/contracts/abuse.d.ts +2 -0
- package/dist/contracts/abuse.js +12 -0
- package/dist/contracts/access.d.ts +121 -9
- package/dist/contracts/access.js +73 -9
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +0 -9
- package/dist/contracts/api-keys.d.ts +21 -21
- package/dist/contracts/beta.js +1 -1
- package/dist/contracts/billing.d.ts +1 -34
- package/dist/contracts/billing.js +4 -53
- package/dist/contracts/builds.d.ts +8 -8
- package/dist/contracts/builds.js +10 -3
- package/dist/contracts/cli.d.ts +10 -0
- package/dist/contracts/cli.js +10 -0
- package/dist/contracts/collab-public.d.ts +63 -0
- package/dist/contracts/collab-public.js +46 -0
- package/dist/contracts/comments.d.ts +283 -54
- package/dist/contracts/comments.js +173 -52
- package/dist/contracts/common.d.ts +3 -3
- package/dist/contracts/device-auth.d.ts +6 -6
- package/dist/contracts/device-auth.js +1 -1
- package/dist/contracts/docs.d.ts +5 -5
- package/dist/contracts/domains.d.ts +36 -36
- package/dist/contracts/enums.d.ts +33 -30
- package/dist/contracts/enums.js +52 -38
- package/dist/contracts/error-code-meta.d.ts +37 -126
- package/dist/contracts/error-code-meta.js +12 -41
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +10 -32
- package/dist/contracts/execution.d.ts +35 -57
- package/dist/contracts/execution.js +41 -40
- package/dist/contracts/feature-lifecycle-core.d.ts +0 -6
- package/dist/contracts/feature-lifecycle-core.js +2 -31
- package/dist/contracts/feature-lifecycle.d.ts +8 -38
- package/dist/contracts/feature-lifecycle.js +16 -48
- package/dist/contracts/features.d.ts +15 -13
- package/dist/contracts/features.js +39 -38
- package/dist/contracts/functions.d.ts +97 -70
- package/dist/contracts/functions.js +101 -34
- package/dist/contracts/git.d.ts +1 -1
- package/dist/contracts/grants.d.ts +7 -3
- package/dist/contracts/grants.js +18 -9
- package/dist/contracts/internal.d.ts +14 -1
- package/dist/contracts/internal.js +17 -7
- package/dist/contracts/oauth-resources.d.ts +4 -3
- package/dist/contracts/oauth-resources.js +12 -3
- package/dist/contracts/operations.d.ts +90 -5
- package/dist/contracts/operations.js +75 -1
- package/dist/contracts/pages.d.ts +6 -1
- package/dist/contracts/pages.js +24 -1
- package/dist/contracts/plan-policy.d.ts +1 -3
- package/dist/contracts/plan-policy.js +1 -2
- package/dist/contracts/platform.d.ts +61 -148
- package/dist/contracts/platform.js +70 -126
- package/dist/contracts/publish-archive.d.ts +498 -0
- package/dist/contracts/publish-archive.js +25 -0
- package/dist/contracts/resources.d.ts +12 -24
- package/dist/contracts/resources.js +32 -12
- package/dist/contracts/runtime-api.d.ts +369 -175
- package/dist/contracts/runtime-api.js +372 -348
- package/dist/contracts/runtime-app.d.ts +127 -120
- package/dist/contracts/runtime-app.js +19 -10
- package/dist/contracts/runtime-db.d.ts +1 -1
- package/dist/contracts/runtime-services.d.ts +219 -0
- package/dist/contracts/runtime-services.js +437 -0
- package/dist/contracts/runtime-storage.d.ts +45 -32
- package/dist/contracts/runtime-storage.js +30 -8
- package/dist/contracts/space-config.d.ts +10 -16
- package/dist/contracts/space-config.js +14 -10
- package/dist/contracts/spaces.d.ts +241 -436
- package/dist/contracts/spaces.js +128 -145
- package/dist/contracts/superadmin-activity.d.ts +57 -4
- package/dist/contracts/superadmin-activity.js +48 -2
- package/dist/contracts/superadmin-search.d.ts +126 -0
- package/dist/contracts/superadmin-search.js +61 -0
- package/dist/contracts/superadmin-spaces.d.ts +358 -89
- package/dist/contracts/superadmin-spaces.js +97 -24
- package/dist/contracts/superadmin-teams.d.ts +28 -10
- package/dist/contracts/superadmin-teams.js +5 -8
- package/dist/contracts/superadmin.d.ts +0 -32
- package/dist/contracts/superadmin.js +3 -11
- package/dist/contracts/tags.d.ts +9 -9
- package/dist/contracts/teams.d.ts +44 -2
- package/dist/contracts/teams.js +43 -23
- package/dist/contracts/transfers.d.ts +0 -49
- package/dist/contracts/transfers.js +2 -6
- package/dist/contracts/usage.d.ts +61 -0
- package/dist/contracts/usage.js +64 -0
- package/dist/contracts/variables.d.ts +2 -7
- package/dist/contracts/variables.js +6 -5
- package/dist/contracts/webhooks.d.ts +2 -2
- package/dist/contracts/zero.d.ts +87 -56
- package/dist/contracts/zero.js +82 -20
- package/dist/dashboard-paths/index.d.ts +1 -1
- package/dist/dashboard-paths/index.js +1 -0
- package/dist/docs/agent-prose.d.ts +1 -1
- package/dist/docs/agent-prose.js +62 -66
- package/dist/docs/agent-setup.js +49 -23
- package/dist/docs/agent-solutions.d.ts +4 -4
- package/dist/docs/agent-solutions.js +8 -8
- package/dist/docs/catalog.d.ts +19 -19
- package/dist/docs/catalog.js +30 -19
- package/dist/docs/error-docs.js +63 -151
- package/dist/docs/skills.d.ts +3 -3
- package/dist/docs/skills.js +1 -1
- package/dist/test-helpers/fetch-stub.d.ts +16 -0
- package/dist/test-helpers/fetch-stub.js +24 -0
- package/dist/utils/build-settings.js +9 -3
- package/dist/utils/canonical-json.d.ts +10 -0
- package/dist/utils/canonical-json.js +21 -0
- package/dist/utils/cast-transport.d.ts +28 -0
- package/dist/utils/cast-transport.js +52 -0
- package/dist/utils/claim-token.d.ts +0 -8
- package/dist/utils/claim-token.js +3 -15
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/env-file.d.ts +17 -0
- package/dist/utils/env-file.js +96 -0
- package/dist/utils/error-code.d.ts +2 -0
- package/dist/utils/error-code.js +7 -0
- package/dist/utils/generate-space-name.d.ts +8 -10
- package/dist/utils/generate-space-name.js +206 -21
- package/dist/utils/grant-decision.fixtures.json +2938 -0
- package/dist/utils/grants.d.ts +2 -0
- package/dist/utils/grants.js +25 -2
- package/dist/utils/gravatar.d.ts +9 -0
- package/dist/utils/gravatar.js +31 -0
- package/dist/utils/idempotency.d.ts +6 -0
- package/dist/utils/idempotency.js +28 -0
- package/dist/utils/local-space-state.d.ts +1 -5
- package/dist/utils/local-space-state.js +7 -26
- package/dist/utils/page-fonts.d.ts +2 -2
- package/dist/utils/page-fonts.js +22 -4
- package/dist/utils/pages.d.ts +1 -2
- package/dist/utils/pages.js +21 -5
- package/dist/utils/publish-form-data.d.ts +12 -0
- package/dist/utils/publish-form-data.js +10 -0
- package/dist/utils/publish-policy.d.ts +20 -0
- package/dist/utils/publish-policy.fixtures.json +397 -0
- package/dist/utils/publish-policy.js +36 -19
- package/dist/utils/push-new.d.ts +7 -0
- package/dist/utils/push-new.js +7 -0
- package/dist/utils/query-keys.d.ts +0 -1
- package/dist/utils/query-keys.js +0 -1
- package/dist/utils/runtime-paths.d.ts +5 -0
- package/dist/utils/runtime-paths.js +5 -0
- package/dist/utils/runtime-upload-batch.d.ts +0 -5
- package/dist/utils/runtime-upload-batch.js +1 -27
- package/dist/utils/runtime-upload.d.ts +3 -13
- package/dist/utils/runtime-upload.js +4 -14
- package/dist/utils/space-config.d.ts +0 -33
- package/dist/utils/space-config.js +5 -326
- package/dist/utils/storage-policy.d.ts +1 -1
- package/dist/utils/storage-policy.js +3 -1
- package/dist/utils/structured-error.d.ts +14 -0
- package/dist/utils/structured-error.js +22 -0
- package/dist/utils/version-path.js +12 -3
- package/dist/vocabulary.d.ts +5 -3
- package/dist/vocabulary.js +13 -10
- package/package.json +10 -5
- package/dist/config/postgres-budget.d.ts +0 -129
- package/dist/config/postgres-budget.js +0 -140
- package/dist/config/postgres-budget.json +0 -51
- package/dist/contracts/archives.d.ts +0 -331
- package/dist/contracts/archives.js +0 -120
- package/dist/contracts/deployments.d.ts +0 -574
- package/dist/contracts/deployments.js +0 -97
- package/dist/contracts/sites.d.ts +0 -416
- package/dist/contracts/sites.js +0 -168
- package/dist/contracts/superadmin-queues.d.ts +0 -414
- package/dist/contracts/superadmin-queues.js +0 -202
- package/dist/contracts/superadmin-runtime.d.ts +0 -27
- package/dist/contracts/superadmin-runtime.js +0 -38
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/utils/api.d.ts +0 -4
- package/dist/utils/api.js +0 -13
|
@@ -52,10 +52,6 @@ export declare const ERROR_CODE_META: {
|
|
|
52
52
|
readonly recovery: "re_auth";
|
|
53
53
|
readonly next: readonly ["sf publish", "MCP: call publish", "curl -sS -F archive=@site.zip https://api.spacefast.com/v1/publish"];
|
|
54
54
|
};
|
|
55
|
-
readonly anonymous_pool_unavailable: {
|
|
56
|
-
readonly retryable: true;
|
|
57
|
-
readonly recovery: "retry";
|
|
58
|
-
};
|
|
59
55
|
readonly anonymous_publish_rate_limited: {
|
|
60
56
|
readonly retryable: true;
|
|
61
57
|
readonly recovery: "wait";
|
|
@@ -64,16 +60,12 @@ export declare const ERROR_CODE_META: {
|
|
|
64
60
|
readonly anonymous_space_limit_reached: {
|
|
65
61
|
readonly retryable: false;
|
|
66
62
|
readonly recovery: "re_auth";
|
|
67
|
-
readonly next: readonly ["sf login", "Claim or delete an
|
|
63
|
+
readonly next: readonly ["sf login", "Claim or delete an unclaimed Space you already have"];
|
|
68
64
|
};
|
|
69
65
|
readonly api_key_scope_underivable: {
|
|
70
66
|
readonly retryable: false;
|
|
71
67
|
readonly recovery: "fix_input";
|
|
72
68
|
};
|
|
73
|
-
readonly archive_body_required: {
|
|
74
|
-
readonly retryable: false;
|
|
75
|
-
readonly recovery: "fix_input";
|
|
76
|
-
};
|
|
77
69
|
readonly archive_too_large: {
|
|
78
70
|
readonly retryable: false;
|
|
79
71
|
readonly recovery: "fix_input";
|
|
@@ -86,25 +78,13 @@ export declare const ERROR_CODE_META: {
|
|
|
86
78
|
readonly retryable: true;
|
|
87
79
|
readonly recovery: "wait";
|
|
88
80
|
};
|
|
89
|
-
readonly
|
|
90
|
-
readonly retryable: false;
|
|
91
|
-
readonly recovery: "fix_input";
|
|
92
|
-
};
|
|
93
|
-
readonly billing_receipt_not_bound_to_team: {
|
|
94
|
-
readonly retryable: false;
|
|
95
|
-
readonly recovery: "fix_input";
|
|
96
|
-
};
|
|
97
|
-
readonly billing_store_not_configured: {
|
|
98
|
-
readonly retryable: false;
|
|
99
|
-
readonly recovery: "contact_support";
|
|
100
|
-
};
|
|
101
|
-
readonly billing_subscription_conflict: {
|
|
81
|
+
readonly blob_gate_record_missing: {
|
|
102
82
|
readonly retryable: false;
|
|
103
83
|
readonly recovery: "fix_input";
|
|
104
84
|
};
|
|
105
|
-
readonly
|
|
85
|
+
readonly blob_gate_token_invalid: {
|
|
106
86
|
readonly retryable: false;
|
|
107
|
-
readonly recovery: "
|
|
87
|
+
readonly recovery: "re_auth";
|
|
108
88
|
};
|
|
109
89
|
readonly build_command_missing: {
|
|
110
90
|
readonly retryable: false;
|
|
@@ -178,10 +158,6 @@ export declare const ERROR_CODE_META: {
|
|
|
178
158
|
readonly retryable: false;
|
|
179
159
|
readonly recovery: "fix_input";
|
|
180
160
|
};
|
|
181
|
-
readonly comment_screenshot_rate_limited: {
|
|
182
|
-
readonly retryable: true;
|
|
183
|
-
readonly recovery: "wait";
|
|
184
|
-
};
|
|
185
161
|
readonly config_file_too_large: {
|
|
186
162
|
readonly retryable: false;
|
|
187
163
|
readonly recovery: "fix_input";
|
|
@@ -248,10 +224,6 @@ export declare const ERROR_CODE_META: {
|
|
|
248
224
|
readonly retryable: false;
|
|
249
225
|
readonly recovery: "contact_support";
|
|
250
226
|
};
|
|
251
|
-
readonly custom_certificates_require_dedicated_site: {
|
|
252
|
-
readonly retryable: false;
|
|
253
|
-
readonly recovery: "fix_input";
|
|
254
|
-
};
|
|
255
227
|
readonly data_location_immutable: {
|
|
256
228
|
readonly retryable: false;
|
|
257
229
|
readonly recovery: "fix_input";
|
|
@@ -492,14 +464,6 @@ export declare const ERROR_CODE_META: {
|
|
|
492
464
|
readonly retryable: false;
|
|
493
465
|
readonly recovery: "re_auth";
|
|
494
466
|
};
|
|
495
|
-
readonly export_archive_not_ready: {
|
|
496
|
-
readonly retryable: true;
|
|
497
|
-
readonly recovery: "wait";
|
|
498
|
-
};
|
|
499
|
-
readonly export_version_not_found: {
|
|
500
|
-
readonly retryable: false;
|
|
501
|
-
readonly recovery: "fix_input";
|
|
502
|
-
};
|
|
503
467
|
readonly feature_unavailable: {
|
|
504
468
|
readonly retryable: false;
|
|
505
469
|
readonly recovery: "fix_input";
|
|
@@ -516,10 +480,6 @@ export declare const ERROR_CODE_META: {
|
|
|
516
480
|
readonly retryable: false;
|
|
517
481
|
readonly recovery: "fix_input";
|
|
518
482
|
};
|
|
519
|
-
readonly google_play_webhook_identity_not_configured: {
|
|
520
|
-
readonly retryable: false;
|
|
521
|
-
readonly recovery: "contact_support";
|
|
522
|
-
};
|
|
523
483
|
readonly idempotency_conflict_in_progress: {
|
|
524
484
|
readonly retryable: true;
|
|
525
485
|
readonly recovery: "wait";
|
|
@@ -528,18 +488,6 @@ export declare const ERROR_CODE_META: {
|
|
|
528
488
|
readonly retryable: false;
|
|
529
489
|
readonly recovery: "fix_input";
|
|
530
490
|
};
|
|
531
|
-
readonly import_archive_not_uploaded: {
|
|
532
|
-
readonly retryable: false;
|
|
533
|
-
readonly recovery: "fix_input";
|
|
534
|
-
};
|
|
535
|
-
readonly import_not_cancelable: {
|
|
536
|
-
readonly retryable: false;
|
|
537
|
-
readonly recovery: "fix_input";
|
|
538
|
-
};
|
|
539
|
-
readonly import_not_waiting_for_archive: {
|
|
540
|
-
readonly retryable: false;
|
|
541
|
-
readonly recovery: "fix_input";
|
|
542
|
-
};
|
|
543
491
|
readonly incumbent_controls_dns: {
|
|
544
492
|
readonly retryable: false;
|
|
545
493
|
readonly recovery: "fix_input";
|
|
@@ -552,6 +500,10 @@ export declare const ERROR_CODE_META: {
|
|
|
552
500
|
readonly retryable: false;
|
|
553
501
|
readonly recovery: "fix_input";
|
|
554
502
|
};
|
|
503
|
+
readonly ingest_admission_exceeded: {
|
|
504
|
+
readonly retryable: true;
|
|
505
|
+
readonly recovery: "wait";
|
|
506
|
+
};
|
|
555
507
|
readonly internal_error: {
|
|
556
508
|
readonly retryable: true;
|
|
557
509
|
readonly recovery: "retry";
|
|
@@ -584,10 +536,6 @@ export declare const ERROR_CODE_META: {
|
|
|
584
536
|
readonly retryable: false;
|
|
585
537
|
readonly recovery: "fix_input";
|
|
586
538
|
};
|
|
587
|
-
readonly invalid_google_play_webhook_identity: {
|
|
588
|
-
readonly retryable: false;
|
|
589
|
-
readonly recovery: "re_auth";
|
|
590
|
-
};
|
|
591
539
|
readonly invalid_grant: {
|
|
592
540
|
readonly retryable: false;
|
|
593
541
|
readonly recovery: "re_auth";
|
|
@@ -789,10 +737,6 @@ export declare const ERROR_CODE_META: {
|
|
|
789
737
|
readonly retryable: false;
|
|
790
738
|
readonly recovery: "fix_input";
|
|
791
739
|
};
|
|
792
|
-
readonly placement_mode_requires_plan: {
|
|
793
|
-
readonly retryable: false;
|
|
794
|
-
readonly recovery: "fix_input";
|
|
795
|
-
};
|
|
796
740
|
readonly platform_tenant_immutable_client: {
|
|
797
741
|
readonly retryable: false;
|
|
798
742
|
readonly recovery: "fix_input";
|
|
@@ -817,6 +761,10 @@ export declare const ERROR_CODE_META: {
|
|
|
817
761
|
readonly retryable: true;
|
|
818
762
|
readonly recovery: "retry";
|
|
819
763
|
};
|
|
764
|
+
readonly provider_privilege: {
|
|
765
|
+
readonly retryable: false;
|
|
766
|
+
readonly recovery: "contact_support";
|
|
767
|
+
};
|
|
820
768
|
readonly provider_runtime_feature_unsupported: {
|
|
821
769
|
readonly retryable: false;
|
|
822
770
|
readonly recovery: "fix_input";
|
|
@@ -825,6 +773,10 @@ export declare const ERROR_CODE_META: {
|
|
|
825
773
|
readonly retryable: false;
|
|
826
774
|
readonly recovery: "fix_input";
|
|
827
775
|
};
|
|
776
|
+
readonly promote_admission_exceeded: {
|
|
777
|
+
readonly retryable: true;
|
|
778
|
+
readonly recovery: "wait";
|
|
779
|
+
};
|
|
828
780
|
readonly proxy_upstream_denied: {
|
|
829
781
|
readonly retryable: false;
|
|
830
782
|
readonly recovery: "fix_input";
|
|
@@ -893,6 +845,10 @@ export declare const ERROR_CODE_META: {
|
|
|
893
845
|
readonly retryable: true;
|
|
894
846
|
readonly recovery: "retry";
|
|
895
847
|
};
|
|
848
|
+
readonly publish_session_expired: {
|
|
849
|
+
readonly retryable: false;
|
|
850
|
+
readonly recovery: "fix_input";
|
|
851
|
+
};
|
|
896
852
|
readonly publish_snapshot_empty: {
|
|
897
853
|
readonly retryable: false;
|
|
898
854
|
readonly recovery: "fix_input";
|
|
@@ -946,10 +902,6 @@ export declare const ERROR_CODE_META: {
|
|
|
946
902
|
readonly retryable: false;
|
|
947
903
|
readonly recovery: "fix_input";
|
|
948
904
|
};
|
|
949
|
-
readonly runtime_engine_zip_missing: {
|
|
950
|
-
readonly retryable: false;
|
|
951
|
-
readonly recovery: "contact_support";
|
|
952
|
-
};
|
|
953
905
|
readonly runtime_hostname_unassigned: {
|
|
954
906
|
readonly retryable: false;
|
|
955
907
|
readonly recovery: "fix_input";
|
|
@@ -986,6 +938,22 @@ export declare const ERROR_CODE_META: {
|
|
|
986
938
|
readonly retryable: false;
|
|
987
939
|
readonly recovery: "fix_input";
|
|
988
940
|
};
|
|
941
|
+
readonly response_headers_unservable: {
|
|
942
|
+
readonly retryable: false;
|
|
943
|
+
readonly recovery: "fix_input";
|
|
944
|
+
};
|
|
945
|
+
readonly response_table_too_large: {
|
|
946
|
+
readonly retryable: false;
|
|
947
|
+
readonly recovery: "fix_input";
|
|
948
|
+
};
|
|
949
|
+
readonly review_item_claimed: {
|
|
950
|
+
readonly retryable: false;
|
|
951
|
+
readonly recovery: "fix_input";
|
|
952
|
+
};
|
|
953
|
+
readonly runtime_purge_failed: {
|
|
954
|
+
readonly retryable: true;
|
|
955
|
+
readonly recovery: "retry";
|
|
956
|
+
};
|
|
989
957
|
readonly runtime_scope_forbidden: {
|
|
990
958
|
readonly retryable: false;
|
|
991
959
|
readonly recovery: "re_auth";
|
|
@@ -1085,11 +1053,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1085
1053
|
readonly recovery: "fix_input";
|
|
1086
1054
|
readonly next: readonly ["sf login", "sf publish --space <space-id>", "Ask the owner to create an access token"];
|
|
1087
1055
|
};
|
|
1088
|
-
readonly space_capacity_warming: {
|
|
1089
|
-
readonly retryable: true;
|
|
1090
|
-
readonly recovery: "wait";
|
|
1091
|
-
readonly next: readonly ["Retry the same publish after the Retry-After seconds"];
|
|
1092
|
-
};
|
|
1093
1056
|
readonly space_claim_unavailable: {
|
|
1094
1057
|
readonly retryable: false;
|
|
1095
1058
|
readonly recovery: "fix_input";
|
|
@@ -1097,7 +1060,7 @@ export declare const ERROR_CODE_META: {
|
|
|
1097
1060
|
readonly space_claimed_credential_available: {
|
|
1098
1061
|
readonly retryable: false;
|
|
1099
1062
|
readonly recovery: "re_auth";
|
|
1100
|
-
readonly next: readonly ["bash scripts/continue.sh", "MCP On-Device: call publish again to exchange the locally held credential and retry", "curl -sS -X POST -H 'Authorization: Bearer <
|
|
1063
|
+
readonly next: readonly ["bash scripts/continue.sh", "MCP On-Device: call publish again to exchange the locally held credential and retry", "curl -sS -X POST -H 'Authorization: Bearer <space-key>' https://api.spacefast.com/v1/claim/exchange"];
|
|
1101
1064
|
};
|
|
1102
1065
|
readonly space_disabled: {
|
|
1103
1066
|
readonly retryable: false;
|
|
@@ -1119,30 +1082,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1119
1082
|
readonly retryable: false;
|
|
1120
1083
|
readonly recovery: "contact_support";
|
|
1121
1084
|
};
|
|
1122
|
-
readonly space_import_archive_invalid: {
|
|
1123
|
-
readonly retryable: false;
|
|
1124
|
-
readonly recovery: "fix_input";
|
|
1125
|
-
};
|
|
1126
|
-
readonly space_import_archive_too_large: {
|
|
1127
|
-
readonly retryable: false;
|
|
1128
|
-
readonly recovery: "fix_input";
|
|
1129
|
-
};
|
|
1130
|
-
readonly space_import_config_only_archive: {
|
|
1131
|
-
readonly retryable: false;
|
|
1132
|
-
readonly recovery: "fix_input";
|
|
1133
|
-
};
|
|
1134
|
-
readonly space_import_runtime_schema_unsupported: {
|
|
1135
|
-
readonly retryable: false;
|
|
1136
|
-
readonly recovery: "fix_input";
|
|
1137
|
-
};
|
|
1138
|
-
readonly space_move_would_strand_zero_data: {
|
|
1139
|
-
readonly retryable: false;
|
|
1140
|
-
readonly recovery: "contact_support";
|
|
1141
|
-
};
|
|
1142
|
-
readonly space_moving: {
|
|
1143
|
-
readonly retryable: true;
|
|
1144
|
-
readonly recovery: "wait";
|
|
1145
|
-
};
|
|
1146
1085
|
readonly space_no_live_version: {
|
|
1147
1086
|
readonly retryable: false;
|
|
1148
1087
|
readonly recovery: "fix_input";
|
|
@@ -1247,10 +1186,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1247
1186
|
readonly retryable: true;
|
|
1248
1187
|
readonly recovery: "retry";
|
|
1249
1188
|
};
|
|
1250
|
-
readonly storage_usage_unavailable: {
|
|
1251
|
-
readonly retryable: true;
|
|
1252
|
-
readonly recovery: "retry";
|
|
1253
|
-
};
|
|
1254
1189
|
readonly stripe_error: {
|
|
1255
1190
|
readonly retryable: true;
|
|
1256
1191
|
readonly recovery: "retry";
|
|
@@ -1323,10 +1258,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1323
1258
|
readonly retryable: false;
|
|
1324
1259
|
readonly recovery: "fix_input";
|
|
1325
1260
|
};
|
|
1326
|
-
readonly transfer_move_failed: {
|
|
1327
|
-
readonly retryable: true;
|
|
1328
|
-
readonly recovery: "retry";
|
|
1329
|
-
};
|
|
1330
1261
|
readonly transfer_not_cancelable: {
|
|
1331
1262
|
readonly retryable: false;
|
|
1332
1263
|
readonly recovery: "fix_input";
|
|
@@ -1379,10 +1310,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1379
1310
|
readonly retryable: false;
|
|
1380
1311
|
readonly recovery: "fix_input";
|
|
1381
1312
|
};
|
|
1382
|
-
readonly variable_cascade_failed: {
|
|
1383
|
-
readonly retryable: false;
|
|
1384
|
-
readonly recovery: "fix_input";
|
|
1385
|
-
};
|
|
1386
1313
|
readonly verification_required: {
|
|
1387
1314
|
readonly retryable: false;
|
|
1388
1315
|
readonly recovery: "re_auth";
|
|
@@ -1479,10 +1406,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1479
1406
|
readonly retryable: true;
|
|
1480
1407
|
readonly recovery: "retry";
|
|
1481
1408
|
};
|
|
1482
|
-
readonly wp_cloud_anonymous_pool_required: {
|
|
1483
|
-
readonly retryable: false;
|
|
1484
|
-
readonly recovery: "fix_input";
|
|
1485
|
-
};
|
|
1486
1409
|
readonly wp_cloud_assignment_kind_mismatch: {
|
|
1487
1410
|
readonly retryable: false;
|
|
1488
1411
|
readonly recovery: "fix_input";
|
|
@@ -1515,10 +1438,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1515
1438
|
readonly retryable: false;
|
|
1516
1439
|
readonly recovery: "contact_support";
|
|
1517
1440
|
};
|
|
1518
|
-
readonly zero_activating: {
|
|
1519
|
-
readonly retryable: true;
|
|
1520
|
-
readonly recovery: "wait";
|
|
1521
|
-
};
|
|
1522
1441
|
readonly zero_ai_unavailable: {
|
|
1523
1442
|
readonly retryable: false;
|
|
1524
1443
|
readonly recovery: "fix_input";
|
|
@@ -1855,10 +1774,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1855
1774
|
readonly retryable: false;
|
|
1856
1775
|
readonly recovery: "fix_input";
|
|
1857
1776
|
};
|
|
1858
|
-
readonly zero_requires_dedicated_plan: {
|
|
1859
|
-
readonly retryable: false;
|
|
1860
|
-
readonly recovery: "fix_input";
|
|
1861
|
-
};
|
|
1862
1777
|
readonly zero_routes_invalid: {
|
|
1863
1778
|
readonly retryable: false;
|
|
1864
1779
|
readonly recovery: "fix_input";
|
|
@@ -1931,10 +1846,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1931
1846
|
readonly retryable: false;
|
|
1932
1847
|
readonly recovery: "fix_input";
|
|
1933
1848
|
};
|
|
1934
|
-
readonly zero_shopify_unavailable: {
|
|
1935
|
-
readonly retryable: false;
|
|
1936
|
-
readonly recovery: "fix_input";
|
|
1937
|
-
};
|
|
1938
1849
|
};
|
|
1939
1850
|
/**
|
|
1940
1851
|
* Resolve the metadata for an error code, degrading to a safe `contact_support` default for
|
|
@@ -26,7 +26,6 @@ export const ERROR_CODE_META = {
|
|
|
26
26
|
"curl -sS -F archive=@site.zip https://api.spacefast.com/v1/publish",
|
|
27
27
|
],
|
|
28
28
|
},
|
|
29
|
-
anonymous_pool_unavailable: { retryable: true, recovery: "retry" },
|
|
30
29
|
anonymous_publish_rate_limited: {
|
|
31
30
|
retryable: true,
|
|
32
31
|
recovery: "wait",
|
|
@@ -35,18 +34,14 @@ export const ERROR_CODE_META = {
|
|
|
35
34
|
anonymous_space_limit_reached: {
|
|
36
35
|
retryable: false,
|
|
37
36
|
recovery: "re_auth",
|
|
38
|
-
next: ["sf login", "Claim or delete an
|
|
37
|
+
next: ["sf login", "Claim or delete an unclaimed Space you already have"],
|
|
39
38
|
},
|
|
40
39
|
api_key_scope_underivable: { retryable: false, recovery: "fix_input" },
|
|
41
|
-
archive_body_required: { retryable: false, recovery: "fix_input" },
|
|
42
40
|
archive_too_large: { retryable: false, recovery: "fix_input" },
|
|
43
41
|
auth_code_required: { retryable: false, recovery: "re_auth" },
|
|
44
42
|
authorization_pending: { retryable: true, recovery: "wait" },
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
billing_store_not_configured: { retryable: false, recovery: "contact_support" },
|
|
48
|
-
billing_subscription_conflict: { retryable: false, recovery: "fix_input" },
|
|
49
|
-
billing_unknown_product: { retryable: false, recovery: "fix_input" },
|
|
43
|
+
blob_gate_record_missing: { retryable: false, recovery: "fix_input" },
|
|
44
|
+
blob_gate_token_invalid: { retryable: false, recovery: "re_auth" },
|
|
50
45
|
build_command_missing: { retryable: false, recovery: "fix_input" },
|
|
51
46
|
build_execution_unavailable: { retryable: true, recovery: "retry" },
|
|
52
47
|
build_failed: { retryable: false, recovery: "fix_input" },
|
|
@@ -65,7 +60,6 @@ export const ERROR_CODE_META = {
|
|
|
65
60
|
claim_target_not_found: { retryable: false, recovery: "fix_input" },
|
|
66
61
|
claimed_space_quota_exceeded: { retryable: false, recovery: "fix_input" },
|
|
67
62
|
cli_upgrade_required: { retryable: false, recovery: "fix_input" },
|
|
68
|
-
comment_screenshot_rate_limited: { retryable: true, recovery: "wait" },
|
|
69
63
|
config_file_too_large: { retryable: false, recovery: "fix_input" },
|
|
70
64
|
config_functions_key_removed: { retryable: false, recovery: "fix_input" },
|
|
71
65
|
config_invalid: { retryable: false, recovery: "fix_input" },
|
|
@@ -98,7 +92,6 @@ export const ERROR_CODE_META = {
|
|
|
98
92
|
credential_revoked: { retryable: false, recovery: "re_auth" },
|
|
99
93
|
csam_blocked: { retryable: false, recovery: "contact_support" },
|
|
100
94
|
csam_policy_floor: { retryable: false, recovery: "contact_support" },
|
|
101
|
-
custom_certificates_require_dedicated_site: { retryable: false, recovery: "fix_input" },
|
|
102
95
|
data_location_immutable: { retryable: false, recovery: "fix_input" },
|
|
103
96
|
db_not_available: { retryable: false, recovery: "fix_input" },
|
|
104
97
|
device_authorization_failed: { retryable: false, recovery: "re_auth" },
|
|
@@ -174,24 +167,16 @@ export const ERROR_CODE_META = {
|
|
|
174
167
|
next: ["Retry after the Retry-After seconds"],
|
|
175
168
|
},
|
|
176
169
|
expired_token: { retryable: false, recovery: "re_auth" },
|
|
177
|
-
export_archive_not_ready: { retryable: true, recovery: "wait" },
|
|
178
|
-
export_version_not_found: { retryable: false, recovery: "fix_input" },
|
|
179
170
|
feature_unavailable: { retryable: false, recovery: "fix_input" },
|
|
180
171
|
files_mode_does_not_support_spa: { retryable: false, recovery: "fix_input" },
|
|
181
172
|
forbidden: { retryable: false, recovery: "re_auth" },
|
|
182
173
|
free_external_proxy_disabled: { retryable: false, recovery: "fix_input" },
|
|
183
|
-
google_play_webhook_identity_not_configured: {
|
|
184
|
-
retryable: false,
|
|
185
|
-
recovery: "contact_support",
|
|
186
|
-
},
|
|
187
174
|
idempotency_conflict_in_progress: { retryable: true, recovery: "wait" },
|
|
188
175
|
idempotency_key_reused: { retryable: false, recovery: "fix_input" },
|
|
189
|
-
import_archive_not_uploaded: { retryable: false, recovery: "fix_input" },
|
|
190
|
-
import_not_cancelable: { retryable: false, recovery: "fix_input" },
|
|
191
|
-
import_not_waiting_for_archive: { retryable: false, recovery: "fix_input" },
|
|
192
176
|
incumbent_controls_dns: { retryable: false, recovery: "fix_input" },
|
|
193
177
|
inject_invalid: { retryable: false, recovery: "fix_input" },
|
|
194
178
|
inject_snippet_too_large: { retryable: false, recovery: "fix_input" },
|
|
179
|
+
ingest_admission_exceeded: { retryable: true, recovery: "wait" },
|
|
195
180
|
internal_error: { retryable: true, recovery: "retry" },
|
|
196
181
|
invalid_claim_token: { retryable: false, recovery: "re_auth" },
|
|
197
182
|
invalid_continuation_token: { retryable: false, recovery: "re_auth" },
|
|
@@ -200,7 +185,6 @@ export const ERROR_CODE_META = {
|
|
|
200
185
|
invalid_domain: { retryable: false, recovery: "fix_input" },
|
|
201
186
|
invalid_domain_name: { retryable: false, recovery: "fix_input" },
|
|
202
187
|
invalid_file_path: { retryable: false, recovery: "fix_input" },
|
|
203
|
-
invalid_google_play_webhook_identity: { retryable: false, recovery: "re_auth" },
|
|
204
188
|
invalid_grant: { retryable: false, recovery: "re_auth" },
|
|
205
189
|
invalid_idempotency_key: { retryable: false, recovery: "fix_input" },
|
|
206
190
|
invalid_publish_archive: { retryable: false, recovery: "fix_input" },
|
|
@@ -255,15 +239,16 @@ export const ERROR_CODE_META = {
|
|
|
255
239
|
plan_grant_already_active: { retryable: false, recovery: "fix_input" },
|
|
256
240
|
plan_grant_already_revoked: { retryable: false, recovery: "fix_input" },
|
|
257
241
|
placement_invalid_burstable: { retryable: false, recovery: "fix_input" },
|
|
258
|
-
placement_mode_requires_plan: { retryable: false, recovery: "fix_input" },
|
|
259
242
|
platform_tenant_immutable_client: { retryable: false, recovery: "fix_input" },
|
|
260
243
|
policy_exceeds_grantor: { retryable: false, recovery: "fix_input" },
|
|
261
244
|
principal_space_mismatch: { retryable: false, recovery: "fix_input" },
|
|
262
245
|
provider_error: { retryable: true, recovery: "retry" },
|
|
263
246
|
provider_job_failed: { retryable: true, recovery: "retry" },
|
|
264
247
|
provider_job_timeout: { retryable: true, recovery: "retry" },
|
|
248
|
+
provider_privilege: { retryable: false, recovery: "contact_support" },
|
|
265
249
|
provider_runtime_feature_unsupported: { retryable: false, recovery: "fix_input" },
|
|
266
250
|
provider_site_id_required: { retryable: false, recovery: "fix_input" },
|
|
251
|
+
promote_admission_exceeded: { retryable: true, recovery: "wait" },
|
|
267
252
|
proxy_upstream_denied: { retryable: false, recovery: "fix_input" },
|
|
268
253
|
proxy_upstream_unresolved: { retryable: false, recovery: "fix_input" },
|
|
269
254
|
publish_archive_compression_ratio_exceeded: { retryable: false, recovery: "fix_input" },
|
|
@@ -281,6 +266,7 @@ export const ERROR_CODE_META = {
|
|
|
281
266
|
publish_path_collision: { retryable: false, recovery: "fix_input" },
|
|
282
267
|
publish_path_invalid: { retryable: false, recovery: "fix_input" },
|
|
283
268
|
publish_setup_failed: { retryable: true, recovery: "retry" },
|
|
269
|
+
publish_session_expired: { retryable: false, recovery: "fix_input" },
|
|
284
270
|
publish_snapshot_empty: { retryable: false, recovery: "fix_input" },
|
|
285
271
|
publish_upload_failed: { retryable: true, recovery: "retry" },
|
|
286
272
|
publish_verification_failed: { retryable: true, recovery: "retry" },
|
|
@@ -298,7 +284,6 @@ export const ERROR_CODE_META = {
|
|
|
298
284
|
runtime_api_not_found: { retryable: false, recovery: "fix_input" },
|
|
299
285
|
runtime_callback_forbidden: { retryable: false, recovery: "re_auth" },
|
|
300
286
|
runtime_dev_unsupported: { retryable: false, recovery: "fix_input" },
|
|
301
|
-
runtime_engine_zip_missing: { retryable: false, recovery: "contact_support" },
|
|
302
287
|
runtime_hostname_unassigned: { retryable: false, recovery: "fix_input" },
|
|
303
288
|
runtime_instance_mismatch: { retryable: false, recovery: "fix_input" },
|
|
304
289
|
runtime_jti_missing: { retryable: false, recovery: "re_auth" },
|
|
@@ -308,6 +293,10 @@ export const ERROR_CODE_META = {
|
|
|
308
293
|
runtime_management_unavailable: { retryable: true, recovery: "retry" },
|
|
309
294
|
runtime_not_provisioned: { retryable: true, recovery: "wait" },
|
|
310
295
|
runtime_operation_missing: { retryable: false, recovery: "fix_input" },
|
|
296
|
+
response_headers_unservable: { retryable: false, recovery: "fix_input" },
|
|
297
|
+
response_table_too_large: { retryable: false, recovery: "fix_input" },
|
|
298
|
+
review_item_claimed: { retryable: false, recovery: "fix_input" },
|
|
299
|
+
runtime_purge_failed: { retryable: true, recovery: "retry" },
|
|
311
300
|
runtime_scope_forbidden: { retryable: false, recovery: "re_auth" },
|
|
312
301
|
runtime_token_bad_signature: { retryable: false, recovery: "re_auth" },
|
|
313
302
|
runtime_token_expired: { retryable: false, recovery: "re_auth" },
|
|
@@ -344,11 +333,6 @@ export const ERROR_CODE_META = {
|
|
|
344
333
|
recovery: "fix_input",
|
|
345
334
|
next: ["sf login", "sf publish --space <space-id>", "Ask the owner to create an access token"],
|
|
346
335
|
},
|
|
347
|
-
space_capacity_warming: {
|
|
348
|
-
retryable: true,
|
|
349
|
-
recovery: "wait",
|
|
350
|
-
next: ["Retry the same publish after the Retry-After seconds"],
|
|
351
|
-
},
|
|
352
336
|
space_claim_unavailable: { retryable: false, recovery: "fix_input" },
|
|
353
337
|
space_claimed_credential_available: {
|
|
354
338
|
retryable: false,
|
|
@@ -356,7 +340,7 @@ export const ERROR_CODE_META = {
|
|
|
356
340
|
next: [
|
|
357
341
|
"bash scripts/continue.sh",
|
|
358
342
|
"MCP On-Device: call publish again to exchange the locally held credential and retry",
|
|
359
|
-
"curl -sS -X POST -H 'Authorization: Bearer <
|
|
343
|
+
"curl -sS -X POST -H 'Authorization: Bearer <space-key>' https://api.spacefast.com/v1/claim/exchange",
|
|
360
344
|
],
|
|
361
345
|
},
|
|
362
346
|
space_disabled: { retryable: false, recovery: "fix_input" },
|
|
@@ -364,12 +348,6 @@ export const ERROR_CODE_META = {
|
|
|
364
348
|
space_has_active_publish: { retryable: true, recovery: "wait" },
|
|
365
349
|
space_has_active_version: { retryable: false, recovery: "fix_input" },
|
|
366
350
|
space_hostname_identity_missing: { retryable: false, recovery: "contact_support" },
|
|
367
|
-
space_import_archive_invalid: { retryable: false, recovery: "fix_input" },
|
|
368
|
-
space_import_archive_too_large: { retryable: false, recovery: "fix_input" },
|
|
369
|
-
space_import_config_only_archive: { retryable: false, recovery: "fix_input" },
|
|
370
|
-
space_import_runtime_schema_unsupported: { retryable: false, recovery: "fix_input" },
|
|
371
|
-
space_move_would_strand_zero_data: { retryable: false, recovery: "contact_support" },
|
|
372
|
-
space_moving: { retryable: true, recovery: "wait" },
|
|
373
351
|
space_no_live_version: { retryable: false, recovery: "fix_input" },
|
|
374
352
|
space_not_disabled: { retryable: false, recovery: "fix_input" },
|
|
375
353
|
space_not_restorable: { retryable: false, recovery: "fix_input" },
|
|
@@ -396,7 +374,6 @@ export const ERROR_CODE_META = {
|
|
|
396
374
|
storage_quota_decrease_not_supported: { retryable: false, recovery: "fix_input" },
|
|
397
375
|
storage_quota_exceeded: { retryable: false, recovery: "fix_input" },
|
|
398
376
|
storage_unavailable: { retryable: true, recovery: "retry" },
|
|
399
|
-
storage_usage_unavailable: { retryable: true, recovery: "retry" },
|
|
400
377
|
stripe_error: { retryable: true, recovery: "retry" },
|
|
401
378
|
superseded_by_publish: { retryable: false, recovery: "fix_input" },
|
|
402
379
|
takeover_notice_window: { retryable: true, recovery: "wait" },
|
|
@@ -415,7 +392,6 @@ export const ERROR_CODE_META = {
|
|
|
415
392
|
tenant_suspended: { retryable: false, recovery: "contact_support" },
|
|
416
393
|
theme_value_invalid: { retryable: false, recovery: "fix_input" },
|
|
417
394
|
transfer_cross_tenant_unsupported: { retryable: false, recovery: "fix_input" },
|
|
418
|
-
transfer_move_failed: { retryable: true, recovery: "retry" },
|
|
419
395
|
transfer_not_cancelable: { retryable: false, recovery: "fix_input" },
|
|
420
396
|
transfer_push_failed: { retryable: true, recovery: "retry" },
|
|
421
397
|
transfer_source_changed: { retryable: false, recovery: "fix_input" },
|
|
@@ -429,7 +405,6 @@ export const ERROR_CODE_META = {
|
|
|
429
405
|
upload_size_mismatch: { retryable: false, recovery: "fix_input" },
|
|
430
406
|
user_banned: { retryable: false, recovery: "contact_support" },
|
|
431
407
|
validation_error: { retryable: false, recovery: "fix_input" },
|
|
432
|
-
variable_cascade_failed: { retryable: false, recovery: "fix_input" },
|
|
433
408
|
verification_required: { retryable: false, recovery: "re_auth" },
|
|
434
409
|
version_already_live: { retryable: false, recovery: "fix_input" },
|
|
435
410
|
version_artifact_not_found: { retryable: false, recovery: "fix_input" },
|
|
@@ -454,7 +429,6 @@ export const ERROR_CODE_META = {
|
|
|
454
429
|
version_total_bytes_exceeded: { retryable: false, recovery: "fix_input" },
|
|
455
430
|
webhook_delivery_budget_exceeded: { retryable: false, recovery: "fix_input" },
|
|
456
431
|
whois_unavailable: { retryable: true, recovery: "retry" },
|
|
457
|
-
wp_cloud_anonymous_pool_required: { retryable: false, recovery: "fix_input" },
|
|
458
432
|
wp_cloud_assignment_kind_mismatch: { retryable: false, recovery: "fix_input" },
|
|
459
433
|
wp_cloud_assignment_space_mismatch: { retryable: false, recovery: "fix_input" },
|
|
460
434
|
wp_cloud_assignment_team_mismatch: { retryable: false, recovery: "fix_input" },
|
|
@@ -463,7 +437,6 @@ export const ERROR_CODE_META = {
|
|
|
463
437
|
wp_cloud_site_still_assigned: { retryable: false, recovery: "fix_input" },
|
|
464
438
|
wp_cloud_team_shared_site_exists: { retryable: false, recovery: "fix_input" },
|
|
465
439
|
wp_cloud_webhook_secret_not_configured: { retryable: false, recovery: "contact_support" },
|
|
466
|
-
zero_activating: { retryable: true, recovery: "wait" },
|
|
467
440
|
zero_ai_unavailable: { retryable: false, recovery: "fix_input" },
|
|
468
441
|
zero_artifact_abi_mismatch: { retryable: false, recovery: "fix_input" },
|
|
469
442
|
zero_artifact_invalid: { retryable: false, recovery: "fix_input" },
|
|
@@ -548,7 +521,6 @@ export const ERROR_CODE_META = {
|
|
|
548
521
|
zero_response_header_forbidden: { retryable: false, recovery: "fix_input" },
|
|
549
522
|
zero_response_header_invalid: { retryable: false, recovery: "fix_input" },
|
|
550
523
|
zero_response_too_large: { retryable: false, recovery: "fix_input" },
|
|
551
|
-
zero_requires_dedicated_plan: { retryable: false, recovery: "fix_input" },
|
|
552
524
|
zero_routes_invalid: { retryable: false, recovery: "fix_input" },
|
|
553
525
|
zero_run_compile_failed: { retryable: false, recovery: "fix_input" },
|
|
554
526
|
zero_run_duplicate: { retryable: false, recovery: "fix_input" },
|
|
@@ -567,7 +539,6 @@ export const ERROR_CODE_META = {
|
|
|
567
539
|
zero_runs_invalid: { retryable: false, recovery: "fix_input" },
|
|
568
540
|
zero_runs_require_runtime_compiler: { retryable: false, recovery: "fix_input" },
|
|
569
541
|
zero_runs_too_many: { retryable: false, recovery: "fix_input" },
|
|
570
|
-
zero_shopify_unavailable: { retryable: false, recovery: "fix_input" },
|
|
571
542
|
};
|
|
572
543
|
/**
|
|
573
544
|
* Resolve the metadata for an error code, degrading to a safe `contact_support` default for
|
|
@@ -5,7 +5,7 @@ export declare const PROBLEM_CONTENT_TYPE = "application/problem+json";
|
|
|
5
5
|
export declare function errorDocsUrl(code: string): string;
|
|
6
6
|
/** Problem `title` derivation rule: the snake_case code as a sentence ("version_not_found" → "Version not found"). */
|
|
7
7
|
export declare function errorTitle(code: string): string;
|
|
8
|
-
export declare const ERROR_CODES: readonly ["abuse_report_invalid_transition", "abuse_report_rate_limited", "abuse_takedown", "access_denied", "account_suspended", "agent_handoff_declined", "agent_handoff_limit_reached", "agent_handoff_origin_unsupported", "ambiguous_space_slug", "anonymous_expired", "anonymous_pool_unavailable", "anonymous_publish_rate_limited", "anonymous_space_limit_reached", "api_key_scope_underivable", "archive_body_required", "archive_too_large", "auth_code_required", "authorization_pending", "billing_receipt_invalid", "billing_receipt_not_bound_to_team", "billing_store_not_configured", "billing_subscription_conflict", "billing_unknown_product", "build_command_missing", "build_execution_unavailable", "build_failed", "build_install_failed", "build_no_index_html", "build_not_created", "build_oom", "build_output_dir_missing", "build_timeout", "cache_purge_domain_required", "cache_purge_path_required", "channel_name_reserved", "channel_pointer_moved", "channel_unsupported", "claim_blocked_takedown", "claim_target_not_found", "claimed_space_quota_exceeded", "cli_upgrade_required", "comment_screenshot_rate_limited", "config_file_too_large", "config_functions_key_removed", "config_invalid", "config_meta_too_long", "config_name_too_long", "config_runtime_entry_missing", "config_runtime_invalid_kind", "config_templates_over_limit", "continuation_unavailable", "continuation_used", "credential_expired", "credential_not_yet_valid", "credential_retired", "credential_revoked", "csam_blocked", "csam_policy_floor", "custom_certificates_require_dedicated_site", "data_location_immutable", "db_not_available", "device_authorization_failed", "device_verification_rate_limited", "dns_export_required", "dns_field_conflict", "dns_field_not_applicable", "dns_import_partial_visibility", "dns_provider_auth_expired", "dns_provider_batch_unsupported", "dns_provider_change_pending", "dns_provider_conflict", "dns_provider_connection_in_use", "dns_provider_connection_unavailable", "dns_provider_controlled_desired_state", "dns_provider_credentials_expired", "dns_provider_feature_descriptors", "dns_provider_feature_unavailable", "dns_provider_field_unsupported", "dns_provider_future_authoritative_backend", "dns_provider_missing_permission", "dns_provider_not_connected", "dns_provider_operation_failed", "dns_provider_permission_denied", "dns_provider_rate_limited", "dns_provider_replace_all_requires_fresh_plan", "dns_provider_replace_all_write_strategy", "dns_provider_snapshot_stale", "dns_provider_snapshot_unavailable", "dns_provider_temporarily_unavailable", "dns_provider_timeout", "dns_provider_validation_failed", "dns_provider_workflow_templates", "dns_provider_zone_not_found", "dns_record_conflicts_with_managed", "dns_record_managed", "dns_record_not_found", "domain_already_exists", "domain_bound", "domain_facet_already_managed", "domain_facet_external", "domain_facet_not_applicable", "domain_hostname_site_mismatch", "domain_in_use", "domain_lookup_rate_limited", "domain_not_bound", "domain_quota_exceeded", "domain_registration_active", "domain_registration_not_renewable", "domain_reserved_suffix", "domain_transfer_active", "domain_wildcard_label", "domain_wildcard_not_enabled", "download_required", "duplicate_version_path", "enforcement_policy_overlap", "event_payload_too_large", "event_rate_limited", "expired_token", "export_archive_not_ready", "export_version_not_found", "feature_unavailable", "files_mode_does_not_support_spa", "forbidden", "free_external_proxy_disabled", "google_play_webhook_identity_not_configured", "idempotency_conflict_in_progress", "idempotency_key_reused", "import_archive_not_uploaded", "import_not_cancelable", "import_not_waiting_for_archive", "incumbent_controls_dns", "inject_invalid", "inject_snippet_too_large", "internal_error", "invalid_claim_token", "invalid_continuation_token", "invalid_data_location", "invalid_device_code", "invalid_domain", "invalid_domain_name", "invalid_file_path", "invalid_google_play_webhook_identity", "invalid_grant", "invalid_idempotency_key", "invalid_publish_archive", "invalid_publish_path", "invalid_publish_payload", "invalid_request", "invalid_runtime_event", "invalid_space", "invalid_space_mode", "invalid_user_code", "invalid_version_path", "invalid_webhook_events", "invalid_webhook_payload", "invalid_webhook_signature", "invalid_webhook_url", "invalid_zero_realtime_event", "invalid_zero_realtime_replay_query", "invitation_already_exists", "invitation_email_mismatch", "invitation_expired", "invitation_not_pending", "ip_blocked", "job_not_found", "job_not_promotable", "job_not_removable", "job_not_retryable", "last_owner", "log_retention_clamped", "lost_domain_control", "maintenance_in_progress", "malware_detected", "managed_domain_protected", "manifest_body_too_large", "manifest_duplicate_path", "manifest_too_many_files", "member_already_exists", "method_not_allowed", "missing_route_param", "move_target_capacity_lost", "name_managed_by_config", "nameserver_delegation_required", "nameserver_divergence", "noop_publish", "not_enrolled", "not_found", "path_case_collision", "path_too_long", "placement_invalid_burstable", "placement_mode_requires_plan", "plan_grant_already_active", "plan_grant_already_revoked", "platform_tenant_immutable_client", "policy_exceeds_grantor", "principal_space_mismatch", "provider_error", "provider_job_failed", "provider_job_timeout", "provider_runtime_feature_unsupported", "provider_site_id_required", "proxy_upstream_denied", "proxy_upstream_unresolved", "publish_archive_compression_ratio_exceeded", "publish_archive_expanded_size_exceeded", "publish_archive_file_count_exceeded", "publish_archive_too_large", "publish_base_changed", "publish_bytes_missing", "publish_config_unsupported", "publish_failed", "publish_file_missing", "publish_hash_mismatch", "publish_inline_limit_exceeded", "publish_not_cancelable", "publish_path_collision", "publish_path_invalid", "publish_setup_failed", "publish_snapshot_empty", "publish_upload_failed", "publish_verification_failed", "queue_not_found", "rate_limited", "registration_expired", "registration_expiring", "resource_revision_changed", "routing_rules_over_plan", "runtime_action_forbidden", "runtime_api_not_found", "runtime_callback_forbidden", "runtime_dev_unsupported", "runtime_engine_zip_missing", "runtime_hostname_unassigned", "runtime_instance_mismatch", "runtime_jti_missing", "runtime_jti_replayed", "runtime_jwks_key_missing", "runtime_kind_mismatch", "runtime_management_unavailable", "runtime_not_provisioned", "runtime_operation_missing", "runtime_scope_forbidden", "runtime_token_bad_signature", "runtime_token_expired", "runtime_token_invalid", "runtime_unauthorized", "runtime_upload_operation_not_supported", "runtime_upload_required", "scan_pending", "secret_variable_in_template", "service_booting", "service_signature_invalid", "site_already_deleted", "site_has_live_spaces", "site_not_static", "site_required", "site_suspended", "slow_down", "slug_invalid", "slug_reserved", "slug_unavailable", "source_archive_decompression_timeout", "source_archive_expansion_ratio_exceeded", "source_archive_validation_busy", "space_already_claimed", "space_capacity_warming", "space_claim_unavailable", "space_claimed_credential_available", "space_disabled", "space_expired", "space_has_active_publish", "space_has_active_version", "space_hostname_identity_missing", "space_import_archive_invalid", "space_import_archive_too_large", "space_import_config_only_archive", "space_import_runtime_schema_unsupported", "space_move_would_strand_zero_data", "space_moving", "space_no_live_version", "space_not_disabled", "space_not_restorable", "space_person_already_member", "space_person_invitation_pending", "space_person_self_invite", "space_ref_ambiguous", "space_ref_required", "space_transferring", "space_unclaimed", "ssl_renewal_blocked", "static_control_file_not_supported", "static_runtime_control_path_not_supported", "static_runtime_required", "storage_auth_required", "storage_bucket_unavailable", "storage_content_blocked", "storage_delete_forbidden", "storage_empty_file", "storage_file_too_large", "storage_key_invalid", "storage_object_not_found", "storage_quota_already_unlimited", "storage_quota_decrease_not_supported", "storage_quota_exceeded", "storage_unavailable", "storage_usage_unavailable", "stripe_error", "superseded_by_publish", "takeover_notice_window", "team_member_quota_exceeded", "team_ref_required", "team_required", "team_slug_conflict", "template_file_too_large", "template_not_in_version", "template_variable_unresolved", "tenant_id_mismatch", "tenant_not_found", "tenant_not_granted", "tenant_past_due", "tenant_selection_required", "tenant_suspended", "theme_value_invalid", "transfer_cross_tenant_unsupported", "transfer_move_failed", "transfer_not_cancelable", "transfer_push_failed", "transfer_source_changed", "transfer_target_same_as_source", "transfer_verify_failed", "unauthorized", "unsupported_publish_media_type", "upload_hash_mismatch", "upload_path_not_canonical", "upload_path_not_declared", "upload_size_mismatch", "user_banned", "validation_error", "variable_cascade_failed", "verification_required", "version_already_live", "version_artifact_not_found", "version_busy", "version_canceled", "version_closed", "version_expired", "version_failed", "version_file_count_exceeded", "version_file_not_found", "version_file_too_large", "version_files_missing", "version_in_use", "version_live", "version_no_publishable_files", "version_not_finalizable", "version_not_found", "version_not_prepared", "version_not_promotable", "version_not_ready", "version_quota_exceeded", "version_total_bytes_exceeded", "webhook_delivery_budget_exceeded", "whois_unavailable", "wp_cloud_anonymous_pool_required", "wp_cloud_assignment_kind_mismatch", "wp_cloud_assignment_space_mismatch", "wp_cloud_assignment_team_mismatch", "wp_cloud_client_in_use", "wp_cloud_client_not_found", "wp_cloud_site_still_assigned", "wp_cloud_team_shared_site_exists", "wp_cloud_webhook_secret_not_configured", "zero_activating", "zero_ai_unavailable", "zero_artifact_abi_mismatch", "zero_artifact_invalid", "zero_artifact_malformed", "zero_artifact_path_invalid", "zero_artifact_unreadable", "zero_auth_unavailable", "zero_blob_key_invalid", "zero_blob_store_full", "zero_blob_too_large", "zero_blob_value_invalid", "zero_bootstrap_encode_failed", "zero_bytecode_hash_mismatch", "zero_bytecode_invalid", "zero_bytecode_path_invalid", "zero_bytecode_unreadable", "zero_capabilities_encode_failed", "zero_client_bundle_not_loaded", "zero_db_connect_failed", "zero_db_execute_failed", "zero_db_export_cursor_invalid", "zero_db_export_failed", "zero_db_export_page_too_large", "zero_db_export_query_invalid", "zero_db_export_schema_changed", "zero_db_export_schema_unavailable", "zero_db_host_install_failed", "zero_db_operation_invalid", "zero_db_operation_too_large", "zero_db_param_invalid", "zero_db_query_failed", "zero_db_row_invalid", "zero_db_sql_invalid", "zero_db_target_denied", "zero_db_tls_required", "zero_db_too_many_params", "zero_db_transaction_active", "zero_db_transaction_commit_failed", "zero_db_transaction_invalid", "zero_db_transaction_missing", "zero_db_transaction_rollback_failed", "zero_db_transaction_start_failed", "zero_db_url_invalid", "zero_db_url_missing", "zero_dev_endpoint_failed", "zero_dump_query_invalid", "zero_endpoint_compile_failed", "zero_endpoint_conflict", "zero_endpoint_duplicate", "zero_endpoint_id_duplicate", "zero_endpoint_index_invalid", "zero_endpoint_index_malformed", "zero_endpoint_index_path_invalid", "zero_endpoint_index_unreadable", "zero_endpoint_invalid", "zero_endpoint_mismatch", "zero_endpoint_not_found", "zero_endpoints_invalid", "zero_endpoints_too_many", "zero_envelope_encode_failed", "zero_js_context_init_failed", "zero_js_execution_failed", "zero_js_execution_timeout", "zero_js_globals_failed", "zero_js_response_malformed", "zero_js_runtime_init_failed", "zero_log_query_invalid", "zero_method_not_allowed", "zero_migration_failed", "zero_query_name_missing", "zero_realtime_forbidden", "zero_realtime_message_invalid", "zero_realtime_operation_unsupported", "zero_realtime_query_invalid", "zero_realtime_space_required", "zero_realtime_unavailable", "zero_realtime_websocket_forbidden", "zero_replay_failed", "zero_replay_query_invalid", "zero_replay_unavailable", "zero_request_body_too_large", "zero_requires_dedicated_plan", "zero_response_header_forbidden", "zero_response_header_invalid", "zero_response_too_large", "zero_routes_invalid", "zero_run_compile_failed", "zero_run_duplicate", "zero_run_invalid", "zero_run_operation_unsupported", "zero_runner_envelope_invalid", "zero_runner_failed", "zero_runner_invalid_body", "zero_runner_invalid_response", "zero_runner_invalid_status", "zero_runner_protocol_unsupported", "zero_runner_response_encode_failed", "zero_runner_stdin_invalid", "zero_runner_stdin_too_large", "zero_runner_unavailable", "zero_runs_invalid", "zero_runs_require_runtime_compiler", "zero_runs_too_many", "zero_shopify_unavailable"];
|
|
8
|
+
export declare const ERROR_CODES: readonly ["abuse_report_invalid_transition", "abuse_report_rate_limited", "abuse_takedown", "access_denied", "account_suspended", "agent_handoff_declined", "agent_handoff_limit_reached", "agent_handoff_origin_unsupported", "ambiguous_space_slug", "anonymous_expired", "anonymous_publish_rate_limited", "anonymous_space_limit_reached", "api_key_scope_underivable", "archive_too_large", "auth_code_required", "authorization_pending", "blob_gate_record_missing", "blob_gate_token_invalid", "build_command_missing", "build_execution_unavailable", "build_failed", "build_install_failed", "build_no_index_html", "build_not_created", "build_oom", "build_output_dir_missing", "build_timeout", "cache_purge_domain_required", "cache_purge_path_required", "channel_name_reserved", "channel_pointer_moved", "channel_unsupported", "claim_blocked_takedown", "claim_target_not_found", "claimed_space_quota_exceeded", "cli_upgrade_required", "config_file_too_large", "config_functions_key_removed", "config_invalid", "config_meta_too_long", "config_name_too_long", "config_runtime_entry_missing", "config_runtime_invalid_kind", "config_templates_over_limit", "continuation_unavailable", "continuation_used", "credential_expired", "credential_not_yet_valid", "credential_retired", "credential_revoked", "csam_blocked", "csam_policy_floor", "data_location_immutable", "db_not_available", "device_authorization_failed", "device_verification_rate_limited", "dns_export_required", "dns_field_conflict", "dns_field_not_applicable", "dns_import_partial_visibility", "dns_provider_auth_expired", "dns_provider_batch_unsupported", "dns_provider_change_pending", "dns_provider_conflict", "dns_provider_connection_in_use", "dns_provider_connection_unavailable", "dns_provider_controlled_desired_state", "dns_provider_credentials_expired", "dns_provider_feature_descriptors", "dns_provider_feature_unavailable", "dns_provider_field_unsupported", "dns_provider_future_authoritative_backend", "dns_provider_missing_permission", "dns_provider_not_connected", "dns_provider_operation_failed", "dns_provider_permission_denied", "dns_provider_rate_limited", "dns_provider_replace_all_requires_fresh_plan", "dns_provider_replace_all_write_strategy", "dns_provider_snapshot_stale", "dns_provider_snapshot_unavailable", "dns_provider_temporarily_unavailable", "dns_provider_timeout", "dns_provider_validation_failed", "dns_provider_workflow_templates", "dns_provider_zone_not_found", "dns_record_conflicts_with_managed", "dns_record_managed", "dns_record_not_found", "domain_already_exists", "domain_bound", "domain_facet_already_managed", "domain_facet_external", "domain_facet_not_applicable", "domain_hostname_site_mismatch", "domain_in_use", "domain_lookup_rate_limited", "domain_not_bound", "domain_quota_exceeded", "domain_registration_active", "domain_registration_not_renewable", "domain_reserved_suffix", "domain_transfer_active", "domain_wildcard_label", "domain_wildcard_not_enabled", "download_required", "duplicate_version_path", "enforcement_policy_overlap", "event_payload_too_large", "event_rate_limited", "expired_token", "feature_unavailable", "files_mode_does_not_support_spa", "forbidden", "free_external_proxy_disabled", "idempotency_conflict_in_progress", "idempotency_key_reused", "incumbent_controls_dns", "ingest_admission_exceeded", "inject_invalid", "inject_snippet_too_large", "internal_error", "invalid_claim_token", "invalid_continuation_token", "invalid_data_location", "invalid_device_code", "invalid_domain", "invalid_domain_name", "invalid_file_path", "invalid_grant", "invalid_idempotency_key", "invalid_publish_archive", "invalid_publish_path", "invalid_publish_payload", "invalid_request", "invalid_runtime_event", "invalid_space", "invalid_space_mode", "invalid_user_code", "invalid_version_path", "invalid_webhook_events", "invalid_webhook_payload", "invalid_webhook_signature", "invalid_webhook_url", "invalid_zero_realtime_event", "invalid_zero_realtime_replay_query", "invitation_already_exists", "invitation_email_mismatch", "invitation_expired", "invitation_not_pending", "ip_blocked", "job_not_found", "job_not_promotable", "job_not_removable", "job_not_retryable", "last_owner", "log_retention_clamped", "lost_domain_control", "maintenance_in_progress", "malware_detected", "managed_domain_protected", "manifest_body_too_large", "manifest_duplicate_path", "manifest_too_many_files", "member_already_exists", "method_not_allowed", "missing_route_param", "move_target_capacity_lost", "name_managed_by_config", "nameserver_delegation_required", "nameserver_divergence", "noop_publish", "not_enrolled", "not_found", "path_case_collision", "path_too_long", "placement_invalid_burstable", "plan_grant_already_active", "plan_grant_already_revoked", "platform_tenant_immutable_client", "policy_exceeds_grantor", "principal_space_mismatch", "promote_admission_exceeded", "provider_error", "provider_job_failed", "provider_job_timeout", "provider_privilege", "provider_runtime_feature_unsupported", "provider_site_id_required", "proxy_upstream_denied", "proxy_upstream_unresolved", "publish_archive_compression_ratio_exceeded", "publish_archive_expanded_size_exceeded", "publish_archive_file_count_exceeded", "publish_archive_too_large", "publish_base_changed", "publish_bytes_missing", "publish_config_unsupported", "publish_failed", "publish_file_missing", "publish_hash_mismatch", "publish_inline_limit_exceeded", "publish_not_cancelable", "publish_path_collision", "publish_path_invalid", "publish_session_expired", "publish_setup_failed", "publish_snapshot_empty", "publish_upload_failed", "publish_verification_failed", "queue_not_found", "rate_limited", "registration_expired", "registration_expiring", "resource_revision_changed", "response_headers_unservable", "response_table_too_large", "review_item_claimed", "routing_rules_over_plan", "runtime_action_forbidden", "runtime_api_not_found", "runtime_callback_forbidden", "runtime_dev_unsupported", "runtime_hostname_unassigned", "runtime_instance_mismatch", "runtime_jti_missing", "runtime_jti_replayed", "runtime_jwks_key_missing", "runtime_kind_mismatch", "runtime_management_unavailable", "runtime_not_provisioned", "runtime_operation_missing", "runtime_purge_failed", "runtime_scope_forbidden", "runtime_token_bad_signature", "runtime_token_expired", "runtime_token_invalid", "runtime_unauthorized", "runtime_upload_operation_not_supported", "runtime_upload_required", "scan_pending", "secret_variable_in_template", "service_booting", "service_signature_invalid", "site_already_deleted", "site_has_live_spaces", "site_not_static", "site_required", "site_suspended", "slow_down", "slug_invalid", "slug_reserved", "slug_unavailable", "source_archive_decompression_timeout", "source_archive_expansion_ratio_exceeded", "source_archive_validation_busy", "space_already_claimed", "space_claim_unavailable", "space_claimed_credential_available", "space_disabled", "space_expired", "space_has_active_publish", "space_has_active_version", "space_hostname_identity_missing", "space_no_live_version", "space_not_disabled", "space_not_restorable", "space_person_already_member", "space_person_invitation_pending", "space_person_self_invite", "space_ref_ambiguous", "space_ref_required", "space_transferring", "space_unclaimed", "ssl_renewal_blocked", "static_control_file_not_supported", "static_runtime_control_path_not_supported", "static_runtime_required", "storage_auth_required", "storage_bucket_unavailable", "storage_content_blocked", "storage_delete_forbidden", "storage_empty_file", "storage_file_too_large", "storage_key_invalid", "storage_object_not_found", "storage_quota_already_unlimited", "storage_quota_decrease_not_supported", "storage_quota_exceeded", "storage_unavailable", "stripe_error", "superseded_by_publish", "takeover_notice_window", "team_member_quota_exceeded", "team_ref_required", "team_required", "team_slug_conflict", "template_file_too_large", "template_not_in_version", "template_variable_unresolved", "tenant_id_mismatch", "tenant_not_found", "tenant_not_granted", "tenant_past_due", "tenant_selection_required", "tenant_suspended", "theme_value_invalid", "transfer_cross_tenant_unsupported", "transfer_not_cancelable", "transfer_push_failed", "transfer_source_changed", "transfer_target_same_as_source", "transfer_verify_failed", "unauthorized", "unsupported_publish_media_type", "upload_hash_mismatch", "upload_path_not_canonical", "upload_path_not_declared", "upload_size_mismatch", "user_banned", "validation_error", "verification_required", "version_already_live", "version_artifact_not_found", "version_busy", "version_canceled", "version_closed", "version_expired", "version_failed", "version_file_count_exceeded", "version_file_not_found", "version_file_too_large", "version_files_missing", "version_in_use", "version_live", "version_no_publishable_files", "version_not_finalizable", "version_not_found", "version_not_prepared", "version_not_promotable", "version_not_ready", "version_quota_exceeded", "version_total_bytes_exceeded", "webhook_delivery_budget_exceeded", "whois_unavailable", "wp_cloud_assignment_kind_mismatch", "wp_cloud_assignment_space_mismatch", "wp_cloud_assignment_team_mismatch", "wp_cloud_client_in_use", "wp_cloud_client_not_found", "wp_cloud_site_still_assigned", "wp_cloud_team_shared_site_exists", "wp_cloud_webhook_secret_not_configured", "zero_ai_unavailable", "zero_artifact_abi_mismatch", "zero_artifact_invalid", "zero_artifact_malformed", "zero_artifact_path_invalid", "zero_artifact_unreadable", "zero_auth_unavailable", "zero_blob_key_invalid", "zero_blob_store_full", "zero_blob_too_large", "zero_blob_value_invalid", "zero_bootstrap_encode_failed", "zero_bytecode_hash_mismatch", "zero_bytecode_invalid", "zero_bytecode_path_invalid", "zero_bytecode_unreadable", "zero_capabilities_encode_failed", "zero_client_bundle_not_loaded", "zero_db_connect_failed", "zero_db_execute_failed", "zero_db_export_cursor_invalid", "zero_db_export_failed", "zero_db_export_page_too_large", "zero_db_export_query_invalid", "zero_db_export_schema_changed", "zero_db_export_schema_unavailable", "zero_db_host_install_failed", "zero_db_operation_invalid", "zero_db_operation_too_large", "zero_db_param_invalid", "zero_db_query_failed", "zero_db_row_invalid", "zero_db_sql_invalid", "zero_db_target_denied", "zero_db_tls_required", "zero_db_too_many_params", "zero_db_transaction_active", "zero_db_transaction_commit_failed", "zero_db_transaction_invalid", "zero_db_transaction_missing", "zero_db_transaction_rollback_failed", "zero_db_transaction_start_failed", "zero_db_url_invalid", "zero_db_url_missing", "zero_dev_endpoint_failed", "zero_dump_query_invalid", "zero_endpoint_compile_failed", "zero_endpoint_conflict", "zero_endpoint_duplicate", "zero_endpoint_id_duplicate", "zero_endpoint_index_invalid", "zero_endpoint_index_malformed", "zero_endpoint_index_path_invalid", "zero_endpoint_index_unreadable", "zero_endpoint_invalid", "zero_endpoint_mismatch", "zero_endpoint_not_found", "zero_endpoints_invalid", "zero_endpoints_too_many", "zero_envelope_encode_failed", "zero_js_context_init_failed", "zero_js_execution_failed", "zero_js_execution_timeout", "zero_js_globals_failed", "zero_js_response_malformed", "zero_js_runtime_init_failed", "zero_log_query_invalid", "zero_method_not_allowed", "zero_migration_failed", "zero_query_name_missing", "zero_realtime_forbidden", "zero_realtime_message_invalid", "zero_realtime_operation_unsupported", "zero_realtime_query_invalid", "zero_realtime_space_required", "zero_realtime_unavailable", "zero_realtime_websocket_forbidden", "zero_replay_failed", "zero_replay_query_invalid", "zero_replay_unavailable", "zero_request_body_too_large", "zero_response_header_forbidden", "zero_response_header_invalid", "zero_response_too_large", "zero_routes_invalid", "zero_run_compile_failed", "zero_run_duplicate", "zero_run_invalid", "zero_run_operation_unsupported", "zero_runner_envelope_invalid", "zero_runner_failed", "zero_runner_invalid_body", "zero_runner_invalid_response", "zero_runner_invalid_status", "zero_runner_protocol_unsupported", "zero_runner_response_encode_failed", "zero_runner_stdin_invalid", "zero_runner_stdin_too_large", "zero_runner_unavailable", "zero_runs_invalid", "zero_runs_require_runtime_compiler", "zero_runs_too_many"];
|
|
9
9
|
export type ErrorCode = (typeof ERROR_CODES)[number];
|
|
10
10
|
export declare function isErrorCode(value: string): value is ErrorCode;
|
|
11
11
|
/**
|