@spacefast/common 0.0.23 → 0.0.26
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/brand-assets/LICENSE-Haskoy.txt +93 -0
- package/brand-assets/haskoy-latin-variable.woff2 +0 -0
- package/brand-assets/spacefast-favicon.svg +4 -4
- package/brand-assets/spacefast-sf-full-bleed.svg +3 -3
- package/brand-assets/spacefast-wordmark.svg +2 -4
- package/dist/agents/connect-targets.js +1 -1
- package/dist/agents/private-key-oauth.d.ts +0 -1
- package/dist/agents/private-key-oauth.js +46 -63
- package/dist/brand-assets-build.js +4 -6
- package/dist/brand-assets.d.ts +5 -15
- package/dist/brand-assets.js +15 -14
- package/dist/config/domains.d.ts +47 -7
- package/dist/config/domains.js +66 -10
- 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 +124 -12
- package/dist/contracts/access.js +73 -9
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +5 -12
- package/dist/contracts/api-keys.d.ts +21 -21
- package/dist/contracts/api-keys.js +2 -2
- package/dist/contracts/beta.js +1 -1
- package/dist/contracts/billing.d.ts +3 -35
- package/dist/contracts/billing.js +33 -52
- package/dist/contracts/builds.d.ts +30 -18
- package/dist/contracts/builds.js +28 -9
- package/dist/contracts/channels.js +1 -1
- 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 +282 -53
- package/dist/contracts/comments.js +173 -52
- package/dist/contracts/common.d.ts +3 -3
- package/dist/contracts/common.js +5 -5
- package/dist/contracts/crons.d.ts +35 -0
- package/dist/contracts/crons.js +42 -0
- package/dist/contracts/device-auth.d.ts +6 -6
- package/dist/contracts/device-auth.js +2 -2
- package/dist/contracts/docs.js +2 -2
- package/dist/contracts/domains.d.ts +38 -27
- package/dist/contracts/domains.js +29 -2
- package/dist/contracts/enums.d.ts +34 -30
- package/dist/contracts/enums.js +62 -48
- package/dist/contracts/error-code-meta.d.ts +50 -125
- package/dist/contracts/error-code-meta.js +29 -41
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +14 -33
- package/dist/contracts/execution.d.ts +47 -66
- package/dist/contracts/execution.js +53 -49
- 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 +12 -52
- package/dist/contracts/feature-lifecycle.js +16 -59
- package/dist/contracts/features.d.ts +48 -60
- package/dist/contracts/features.js +59 -51
- package/dist/contracts/functions.d.ts +266 -72
- package/dist/contracts/functions.js +260 -37
- package/dist/contracts/git.d.ts +28 -34
- package/dist/contracts/git.js +10 -11
- package/dist/contracts/grants.d.ts +9 -5
- package/dist/contracts/grants.js +18 -9
- package/dist/contracts/ids.js +2 -2
- package/dist/contracts/internal.d.ts +8 -6
- package/dist/contracts/internal.js +12 -12
- package/dist/contracts/mcp.d.ts +11 -0
- package/dist/contracts/mcp.js +5 -0
- package/dist/contracts/me.js +1 -1
- 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 +77 -3
- package/dist/contracts/pages.d.ts +12 -7
- package/dist/contracts/pages.js +24 -1
- package/dist/contracts/plan-policy.d.ts +0 -2
- package/dist/contracts/plan-policy.js +2 -3
- package/dist/contracts/platform.d.ts +61 -148
- package/dist/contracts/platform.js +70 -126
- package/dist/contracts/publish-archive.d.ts +508 -0
- package/dist/contracts/publish-archive.js +32 -0
- package/dist/contracts/push-new.d.ts +4 -4
- package/dist/contracts/quotas.js +2 -2
- package/dist/contracts/repository-connections.d.ts +43 -30
- package/dist/contracts/repository-connections.js +11 -3
- package/dist/contracts/resources.d.ts +12 -24
- package/dist/contracts/resources.js +36 -16
- package/dist/contracts/runtime-api.d.ts +433 -192
- package/dist/contracts/runtime-api.js +421 -356
- package/dist/contracts/runtime-app.d.ts +127 -120
- package/dist/contracts/runtime-app.js +19 -10
- package/dist/contracts/runtime-db.d.ts +5 -5
- package/dist/contracts/runtime-db.js +2 -2
- package/dist/contracts/runtime-purge.d.ts +8 -0
- package/dist/contracts/runtime-purge.js +7 -0
- package/dist/contracts/runtime-services.d.ts +219 -0
- package/dist/contracts/runtime-services.js +437 -0
- package/dist/contracts/runtime-storage.d.ts +46 -32
- package/dist/contracts/runtime-storage.js +31 -8
- package/dist/contracts/sf-config-v1.d.ts +48 -10
- package/dist/contracts/space-config.d.ts +69 -18
- package/dist/contracts/space-config.js +226 -27
- package/dist/contracts/spaces.d.ts +236 -450
- package/dist/contracts/spaces.js +131 -151
- 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 +361 -92
- 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-tenants.d.ts +0 -6
- package/dist/contracts/superadmin-tenants.js +1 -7
- package/dist/contracts/superadmin.d.ts +135 -54
- package/dist/contracts/superadmin.js +46 -23
- package/dist/contracts/tags.d.ts +12 -12
- package/dist/contracts/tags.js +3 -3
- package/dist/contracts/teams.d.ts +49 -14
- package/dist/contracts/teams.js +40 -22
- package/dist/contracts/transfers.d.ts +0 -49
- package/dist/contracts/transfers.js +4 -8
- 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 +9 -8
- package/dist/contracts/webhooks.d.ts +2 -2
- package/dist/contracts/zero.d.ts +102 -73
- package/dist/contracts/zero.js +94 -32
- package/dist/dashboard-paths/index.d.ts +1 -1
- package/dist/dashboard-paths/index.js +1 -0
- package/dist/docs/agent-prose.d.ts +2 -2
- package/dist/docs/agent-prose.js +63 -70
- package/dist/docs/agent-setup.js +45 -15
- package/dist/docs/catalog.d.ts +24 -24
- package/dist/docs/catalog.js +35 -24
- package/dist/docs/error-docs.js +194 -270
- package/dist/docs/skills.d.ts +12 -12
- package/dist/docs/skills.js +4 -4
- package/dist/test-helpers/fetch-stub.d.ts +16 -0
- package/dist/test-helpers/fetch-stub.js +25 -0
- package/dist/utils/build-settings.d.ts +5 -1
- package/dist/utils/build-settings.js +91 -13
- package/dist/utils/canonical-json.d.ts +10 -0
- package/dist/utils/canonical-json.js +22 -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/concurrency.js +1 -0
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/credential-policy.js +4 -3
- package/dist/utils/dns-instructions.js +9 -9
- 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 +8 -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 +26 -1
- 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 +9 -16
- package/dist/utils/local-space-state.js +20 -50
- package/dist/utils/one-shot-replay.d.ts +4 -1
- package/dist/utils/page-colors.d.ts +14 -12
- package/dist/utils/page-colors.js +15 -13
- package/dist/utils/page-fonts.d.ts +2 -2
- package/dist/utils/page-fonts.js +15 -4
- package/dist/utils/pages.d.ts +21 -3
- package/dist/utils/pages.js +42 -13
- 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 +27 -0
- package/dist/utils/publish-policy.fixtures.json +403 -0
- package/dist/utils/publish-policy.js +45 -20
- package/dist/utils/push-new.d.ts +7 -0
- package/dist/utils/push-new.js +7 -0
- package/dist/utils/query-keys.d.ts +4 -5
- package/dist/utils/query-keys.js +2 -3
- 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 +6 -11
- package/dist/utils/runtime-upload.js +10 -13
- package/dist/utils/secure-local-file.js +5 -16
- package/dist/utils/space-config.d.ts +1 -34
- package/dist/utils/space-config.js +8 -326
- package/dist/utils/static-runtime-policy.d.ts +9 -3
- package/dist/utils/static-runtime-policy.fixtures.json +38 -41
- package/dist/utils/static-runtime-policy.js +22 -56
- 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/upload-session.d.ts +4 -1
- package/dist/utils/upload-session.js +33 -5
- package/dist/utils/version-path.js +13 -4
- package/dist/vocabulary.d.ts +13 -11
- package/dist/vocabulary.js +42 -28
- package/package.json +7 -17
- 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;
|
|
@@ -134,6 +114,11 @@ export declare const ERROR_CODE_META: {
|
|
|
134
114
|
readonly retryable: false;
|
|
135
115
|
readonly recovery: "fix_input";
|
|
136
116
|
};
|
|
117
|
+
readonly build_output_contains_server_bundle: {
|
|
118
|
+
readonly retryable: false;
|
|
119
|
+
readonly recovery: "fix_input";
|
|
120
|
+
readonly next: readonly ["sf publish (the Spacefast CLI runs the Functions pipeline for server apps)", "Or point the output directory at a browser-ready export"];
|
|
121
|
+
};
|
|
137
122
|
readonly build_output_dir_missing: {
|
|
138
123
|
readonly retryable: false;
|
|
139
124
|
readonly recovery: "fix_input";
|
|
@@ -178,10 +163,6 @@ export declare const ERROR_CODE_META: {
|
|
|
178
163
|
readonly retryable: false;
|
|
179
164
|
readonly recovery: "fix_input";
|
|
180
165
|
};
|
|
181
|
-
readonly comment_screenshot_rate_limited: {
|
|
182
|
-
readonly retryable: true;
|
|
183
|
-
readonly recovery: "wait";
|
|
184
|
-
};
|
|
185
166
|
readonly config_file_too_large: {
|
|
186
167
|
readonly retryable: false;
|
|
187
168
|
readonly recovery: "fix_input";
|
|
@@ -248,10 +229,6 @@ export declare const ERROR_CODE_META: {
|
|
|
248
229
|
readonly retryable: false;
|
|
249
230
|
readonly recovery: "contact_support";
|
|
250
231
|
};
|
|
251
|
-
readonly custom_certificates_require_dedicated_site: {
|
|
252
|
-
readonly retryable: false;
|
|
253
|
-
readonly recovery: "fix_input";
|
|
254
|
-
};
|
|
255
232
|
readonly data_location_immutable: {
|
|
256
233
|
readonly retryable: false;
|
|
257
234
|
readonly recovery: "fix_input";
|
|
@@ -492,14 +469,6 @@ export declare const ERROR_CODE_META: {
|
|
|
492
469
|
readonly retryable: false;
|
|
493
470
|
readonly recovery: "re_auth";
|
|
494
471
|
};
|
|
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
472
|
readonly feature_unavailable: {
|
|
504
473
|
readonly retryable: false;
|
|
505
474
|
readonly recovery: "fix_input";
|
|
@@ -516,10 +485,6 @@ export declare const ERROR_CODE_META: {
|
|
|
516
485
|
readonly retryable: false;
|
|
517
486
|
readonly recovery: "fix_input";
|
|
518
487
|
};
|
|
519
|
-
readonly google_play_webhook_identity_not_configured: {
|
|
520
|
-
readonly retryable: false;
|
|
521
|
-
readonly recovery: "contact_support";
|
|
522
|
-
};
|
|
523
488
|
readonly idempotency_conflict_in_progress: {
|
|
524
489
|
readonly retryable: true;
|
|
525
490
|
readonly recovery: "wait";
|
|
@@ -528,18 +493,6 @@ export declare const ERROR_CODE_META: {
|
|
|
528
493
|
readonly retryable: false;
|
|
529
494
|
readonly recovery: "fix_input";
|
|
530
495
|
};
|
|
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
496
|
readonly incumbent_controls_dns: {
|
|
544
497
|
readonly retryable: false;
|
|
545
498
|
readonly recovery: "fix_input";
|
|
@@ -552,6 +505,10 @@ export declare const ERROR_CODE_META: {
|
|
|
552
505
|
readonly retryable: false;
|
|
553
506
|
readonly recovery: "fix_input";
|
|
554
507
|
};
|
|
508
|
+
readonly ingest_admission_exceeded: {
|
|
509
|
+
readonly retryable: true;
|
|
510
|
+
readonly recovery: "wait";
|
|
511
|
+
};
|
|
555
512
|
readonly internal_error: {
|
|
556
513
|
readonly retryable: true;
|
|
557
514
|
readonly recovery: "retry";
|
|
@@ -584,10 +541,6 @@ export declare const ERROR_CODE_META: {
|
|
|
584
541
|
readonly retryable: false;
|
|
585
542
|
readonly recovery: "fix_input";
|
|
586
543
|
};
|
|
587
|
-
readonly invalid_google_play_webhook_identity: {
|
|
588
|
-
readonly retryable: false;
|
|
589
|
-
readonly recovery: "re_auth";
|
|
590
|
-
};
|
|
591
544
|
readonly invalid_grant: {
|
|
592
545
|
readonly retryable: false;
|
|
593
546
|
readonly recovery: "re_auth";
|
|
@@ -789,17 +742,18 @@ export declare const ERROR_CODE_META: {
|
|
|
789
742
|
readonly retryable: false;
|
|
790
743
|
readonly recovery: "fix_input";
|
|
791
744
|
};
|
|
792
|
-
readonly
|
|
745
|
+
readonly platform_tenant_immutable_client: {
|
|
793
746
|
readonly retryable: false;
|
|
794
747
|
readonly recovery: "fix_input";
|
|
795
748
|
};
|
|
796
|
-
readonly
|
|
749
|
+
readonly policy_exceeds_grantor: {
|
|
797
750
|
readonly retryable: false;
|
|
798
751
|
readonly recovery: "fix_input";
|
|
799
752
|
};
|
|
800
|
-
readonly
|
|
753
|
+
readonly prebuilt_metadata_invalid: {
|
|
801
754
|
readonly retryable: false;
|
|
802
755
|
readonly recovery: "fix_input";
|
|
756
|
+
readonly next: readonly ["sf build", "Delete the archive's .meta.json sidecar if the archive contains plain files"];
|
|
803
757
|
};
|
|
804
758
|
readonly principal_space_mismatch: {
|
|
805
759
|
readonly retryable: false;
|
|
@@ -817,6 +771,10 @@ export declare const ERROR_CODE_META: {
|
|
|
817
771
|
readonly retryable: true;
|
|
818
772
|
readonly recovery: "retry";
|
|
819
773
|
};
|
|
774
|
+
readonly provider_privilege: {
|
|
775
|
+
readonly retryable: false;
|
|
776
|
+
readonly recovery: "contact_support";
|
|
777
|
+
};
|
|
820
778
|
readonly provider_runtime_feature_unsupported: {
|
|
821
779
|
readonly retryable: false;
|
|
822
780
|
readonly recovery: "fix_input";
|
|
@@ -825,6 +783,10 @@ export declare const ERROR_CODE_META: {
|
|
|
825
783
|
readonly retryable: false;
|
|
826
784
|
readonly recovery: "fix_input";
|
|
827
785
|
};
|
|
786
|
+
readonly promote_admission_exceeded: {
|
|
787
|
+
readonly retryable: true;
|
|
788
|
+
readonly recovery: "wait";
|
|
789
|
+
};
|
|
828
790
|
readonly proxy_upstream_denied: {
|
|
829
791
|
readonly retryable: false;
|
|
830
792
|
readonly recovery: "fix_input";
|
|
@@ -893,6 +855,10 @@ export declare const ERROR_CODE_META: {
|
|
|
893
855
|
readonly retryable: true;
|
|
894
856
|
readonly recovery: "retry";
|
|
895
857
|
};
|
|
858
|
+
readonly publish_session_expired: {
|
|
859
|
+
readonly retryable: false;
|
|
860
|
+
readonly recovery: "fix_input";
|
|
861
|
+
};
|
|
896
862
|
readonly publish_snapshot_empty: {
|
|
897
863
|
readonly retryable: false;
|
|
898
864
|
readonly recovery: "fix_input";
|
|
@@ -946,10 +912,6 @@ export declare const ERROR_CODE_META: {
|
|
|
946
912
|
readonly retryable: false;
|
|
947
913
|
readonly recovery: "fix_input";
|
|
948
914
|
};
|
|
949
|
-
readonly runtime_engine_zip_missing: {
|
|
950
|
-
readonly retryable: false;
|
|
951
|
-
readonly recovery: "contact_support";
|
|
952
|
-
};
|
|
953
915
|
readonly runtime_hostname_unassigned: {
|
|
954
916
|
readonly retryable: false;
|
|
955
917
|
readonly recovery: "fix_input";
|
|
@@ -986,6 +948,26 @@ export declare const ERROR_CODE_META: {
|
|
|
986
948
|
readonly retryable: false;
|
|
987
949
|
readonly recovery: "fix_input";
|
|
988
950
|
};
|
|
951
|
+
readonly response_headers_unservable: {
|
|
952
|
+
readonly retryable: false;
|
|
953
|
+
readonly recovery: "fix_input";
|
|
954
|
+
};
|
|
955
|
+
readonly response_table_too_large: {
|
|
956
|
+
readonly retryable: false;
|
|
957
|
+
readonly recovery: "fix_input";
|
|
958
|
+
};
|
|
959
|
+
readonly review_item_claimed: {
|
|
960
|
+
readonly retryable: false;
|
|
961
|
+
readonly recovery: "fix_input";
|
|
962
|
+
};
|
|
963
|
+
readonly runtime_purge_failed: {
|
|
964
|
+
readonly retryable: true;
|
|
965
|
+
readonly recovery: "retry";
|
|
966
|
+
};
|
|
967
|
+
readonly runtime_release_unverifiable: {
|
|
968
|
+
readonly retryable: false;
|
|
969
|
+
readonly recovery: "fix_input";
|
|
970
|
+
};
|
|
989
971
|
readonly runtime_scope_forbidden: {
|
|
990
972
|
readonly retryable: false;
|
|
991
973
|
readonly recovery: "re_auth";
|
|
@@ -1085,11 +1067,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1085
1067
|
readonly recovery: "fix_input";
|
|
1086
1068
|
readonly next: readonly ["sf login", "sf publish --space <space-id>", "Ask the owner to create an access token"];
|
|
1087
1069
|
};
|
|
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
1070
|
readonly space_claim_unavailable: {
|
|
1094
1071
|
readonly retryable: false;
|
|
1095
1072
|
readonly recovery: "fix_input";
|
|
@@ -1097,7 +1074,7 @@ export declare const ERROR_CODE_META: {
|
|
|
1097
1074
|
readonly space_claimed_credential_available: {
|
|
1098
1075
|
readonly retryable: false;
|
|
1099
1076
|
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 <
|
|
1077
|
+
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
1078
|
};
|
|
1102
1079
|
readonly space_disabled: {
|
|
1103
1080
|
readonly retryable: false;
|
|
@@ -1119,30 +1096,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1119
1096
|
readonly retryable: false;
|
|
1120
1097
|
readonly recovery: "contact_support";
|
|
1121
1098
|
};
|
|
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
1099
|
readonly space_no_live_version: {
|
|
1147
1100
|
readonly retryable: false;
|
|
1148
1101
|
readonly recovery: "fix_input";
|
|
@@ -1247,10 +1200,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1247
1200
|
readonly retryable: true;
|
|
1248
1201
|
readonly recovery: "retry";
|
|
1249
1202
|
};
|
|
1250
|
-
readonly storage_usage_unavailable: {
|
|
1251
|
-
readonly retryable: true;
|
|
1252
|
-
readonly recovery: "retry";
|
|
1253
|
-
};
|
|
1254
1203
|
readonly stripe_error: {
|
|
1255
1204
|
readonly retryable: true;
|
|
1256
1205
|
readonly recovery: "retry";
|
|
@@ -1323,10 +1272,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1323
1272
|
readonly retryable: false;
|
|
1324
1273
|
readonly recovery: "fix_input";
|
|
1325
1274
|
};
|
|
1326
|
-
readonly transfer_move_failed: {
|
|
1327
|
-
readonly retryable: true;
|
|
1328
|
-
readonly recovery: "retry";
|
|
1329
|
-
};
|
|
1330
1275
|
readonly transfer_not_cancelable: {
|
|
1331
1276
|
readonly retryable: false;
|
|
1332
1277
|
readonly recovery: "fix_input";
|
|
@@ -1379,10 +1324,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1379
1324
|
readonly retryable: false;
|
|
1380
1325
|
readonly recovery: "fix_input";
|
|
1381
1326
|
};
|
|
1382
|
-
readonly variable_cascade_failed: {
|
|
1383
|
-
readonly retryable: false;
|
|
1384
|
-
readonly recovery: "fix_input";
|
|
1385
|
-
};
|
|
1386
1327
|
readonly verification_required: {
|
|
1387
1328
|
readonly retryable: false;
|
|
1388
1329
|
readonly recovery: "re_auth";
|
|
@@ -1479,10 +1420,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1479
1420
|
readonly retryable: true;
|
|
1480
1421
|
readonly recovery: "retry";
|
|
1481
1422
|
};
|
|
1482
|
-
readonly wp_cloud_anonymous_pool_required: {
|
|
1483
|
-
readonly retryable: false;
|
|
1484
|
-
readonly recovery: "fix_input";
|
|
1485
|
-
};
|
|
1486
1423
|
readonly wp_cloud_assignment_kind_mismatch: {
|
|
1487
1424
|
readonly retryable: false;
|
|
1488
1425
|
readonly recovery: "fix_input";
|
|
@@ -1515,10 +1452,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1515
1452
|
readonly retryable: false;
|
|
1516
1453
|
readonly recovery: "contact_support";
|
|
1517
1454
|
};
|
|
1518
|
-
readonly zero_activating: {
|
|
1519
|
-
readonly retryable: true;
|
|
1520
|
-
readonly recovery: "wait";
|
|
1521
|
-
};
|
|
1522
1455
|
readonly zero_ai_unavailable: {
|
|
1523
1456
|
readonly retryable: false;
|
|
1524
1457
|
readonly recovery: "fix_input";
|
|
@@ -1855,10 +1788,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1855
1788
|
readonly retryable: false;
|
|
1856
1789
|
readonly recovery: "fix_input";
|
|
1857
1790
|
};
|
|
1858
|
-
readonly zero_requires_dedicated_plan: {
|
|
1859
|
-
readonly retryable: false;
|
|
1860
|
-
readonly recovery: "fix_input";
|
|
1861
|
-
};
|
|
1862
1791
|
readonly zero_routes_invalid: {
|
|
1863
1792
|
readonly retryable: false;
|
|
1864
1793
|
readonly recovery: "fix_input";
|
|
@@ -1931,10 +1860,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1931
1860
|
readonly retryable: false;
|
|
1932
1861
|
readonly recovery: "fix_input";
|
|
1933
1862
|
};
|
|
1934
|
-
readonly zero_shopify_unavailable: {
|
|
1935
|
-
readonly retryable: false;
|
|
1936
|
-
readonly recovery: "fix_input";
|
|
1937
|
-
};
|
|
1938
1863
|
};
|
|
1939
1864
|
/**
|
|
1940
1865
|
* 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" },
|
|
@@ -54,6 +49,14 @@ export const ERROR_CODE_META = {
|
|
|
54
49
|
build_no_index_html: { retryable: false, recovery: "fix_input" },
|
|
55
50
|
build_not_created: { retryable: false, recovery: "fix_input" },
|
|
56
51
|
build_oom: { retryable: false, recovery: "fix_input" },
|
|
52
|
+
build_output_contains_server_bundle: {
|
|
53
|
+
retryable: false,
|
|
54
|
+
recovery: "fix_input",
|
|
55
|
+
next: [
|
|
56
|
+
"sf publish (the Spacefast CLI runs the Functions pipeline for server apps)",
|
|
57
|
+
"Or point the output directory at a browser-ready export",
|
|
58
|
+
],
|
|
59
|
+
},
|
|
57
60
|
build_output_dir_missing: { retryable: false, recovery: "fix_input" },
|
|
58
61
|
build_timeout: { retryable: true, recovery: "retry" },
|
|
59
62
|
cache_purge_domain_required: { retryable: false, recovery: "fix_input" },
|
|
@@ -65,7 +68,6 @@ export const ERROR_CODE_META = {
|
|
|
65
68
|
claim_target_not_found: { retryable: false, recovery: "fix_input" },
|
|
66
69
|
claimed_space_quota_exceeded: { retryable: false, recovery: "fix_input" },
|
|
67
70
|
cli_upgrade_required: { retryable: false, recovery: "fix_input" },
|
|
68
|
-
comment_screenshot_rate_limited: { retryable: true, recovery: "wait" },
|
|
69
71
|
config_file_too_large: { retryable: false, recovery: "fix_input" },
|
|
70
72
|
config_functions_key_removed: { retryable: false, recovery: "fix_input" },
|
|
71
73
|
config_invalid: { retryable: false, recovery: "fix_input" },
|
|
@@ -98,7 +100,6 @@ export const ERROR_CODE_META = {
|
|
|
98
100
|
credential_revoked: { retryable: false, recovery: "re_auth" },
|
|
99
101
|
csam_blocked: { retryable: false, recovery: "contact_support" },
|
|
100
102
|
csam_policy_floor: { retryable: false, recovery: "contact_support" },
|
|
101
|
-
custom_certificates_require_dedicated_site: { retryable: false, recovery: "fix_input" },
|
|
102
103
|
data_location_immutable: { retryable: false, recovery: "fix_input" },
|
|
103
104
|
db_not_available: { retryable: false, recovery: "fix_input" },
|
|
104
105
|
device_authorization_failed: { retryable: false, recovery: "re_auth" },
|
|
@@ -174,24 +175,16 @@ export const ERROR_CODE_META = {
|
|
|
174
175
|
next: ["Retry after the Retry-After seconds"],
|
|
175
176
|
},
|
|
176
177
|
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
178
|
feature_unavailable: { retryable: false, recovery: "fix_input" },
|
|
180
179
|
files_mode_does_not_support_spa: { retryable: false, recovery: "fix_input" },
|
|
181
180
|
forbidden: { retryable: false, recovery: "re_auth" },
|
|
182
181
|
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
182
|
idempotency_conflict_in_progress: { retryable: true, recovery: "wait" },
|
|
188
183
|
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
184
|
incumbent_controls_dns: { retryable: false, recovery: "fix_input" },
|
|
193
185
|
inject_invalid: { retryable: false, recovery: "fix_input" },
|
|
194
186
|
inject_snippet_too_large: { retryable: false, recovery: "fix_input" },
|
|
187
|
+
ingest_admission_exceeded: { retryable: true, recovery: "wait" },
|
|
195
188
|
internal_error: { retryable: true, recovery: "retry" },
|
|
196
189
|
invalid_claim_token: { retryable: false, recovery: "re_auth" },
|
|
197
190
|
invalid_continuation_token: { retryable: false, recovery: "re_auth" },
|
|
@@ -200,7 +193,6 @@ export const ERROR_CODE_META = {
|
|
|
200
193
|
invalid_domain: { retryable: false, recovery: "fix_input" },
|
|
201
194
|
invalid_domain_name: { retryable: false, recovery: "fix_input" },
|
|
202
195
|
invalid_file_path: { retryable: false, recovery: "fix_input" },
|
|
203
|
-
invalid_google_play_webhook_identity: { retryable: false, recovery: "re_auth" },
|
|
204
196
|
invalid_grant: { retryable: false, recovery: "re_auth" },
|
|
205
197
|
invalid_idempotency_key: { retryable: false, recovery: "fix_input" },
|
|
206
198
|
invalid_publish_archive: { retryable: false, recovery: "fix_input" },
|
|
@@ -255,15 +247,24 @@ export const ERROR_CODE_META = {
|
|
|
255
247
|
plan_grant_already_active: { retryable: false, recovery: "fix_input" },
|
|
256
248
|
plan_grant_already_revoked: { retryable: false, recovery: "fix_input" },
|
|
257
249
|
placement_invalid_burstable: { retryable: false, recovery: "fix_input" },
|
|
258
|
-
placement_mode_requires_plan: { retryable: false, recovery: "fix_input" },
|
|
259
250
|
platform_tenant_immutable_client: { retryable: false, recovery: "fix_input" },
|
|
260
251
|
policy_exceeds_grantor: { retryable: false, recovery: "fix_input" },
|
|
252
|
+
prebuilt_metadata_invalid: {
|
|
253
|
+
retryable: false,
|
|
254
|
+
recovery: "fix_input",
|
|
255
|
+
next: [
|
|
256
|
+
"sf build",
|
|
257
|
+
"Delete the archive's .meta.json sidecar if the archive contains plain files",
|
|
258
|
+
],
|
|
259
|
+
},
|
|
261
260
|
principal_space_mismatch: { retryable: false, recovery: "fix_input" },
|
|
262
261
|
provider_error: { retryable: true, recovery: "retry" },
|
|
263
262
|
provider_job_failed: { retryable: true, recovery: "retry" },
|
|
264
263
|
provider_job_timeout: { retryable: true, recovery: "retry" },
|
|
264
|
+
provider_privilege: { retryable: false, recovery: "contact_support" },
|
|
265
265
|
provider_runtime_feature_unsupported: { retryable: false, recovery: "fix_input" },
|
|
266
266
|
provider_site_id_required: { retryable: false, recovery: "fix_input" },
|
|
267
|
+
promote_admission_exceeded: { retryable: true, recovery: "wait" },
|
|
267
268
|
proxy_upstream_denied: { retryable: false, recovery: "fix_input" },
|
|
268
269
|
proxy_upstream_unresolved: { retryable: false, recovery: "fix_input" },
|
|
269
270
|
publish_archive_compression_ratio_exceeded: { retryable: false, recovery: "fix_input" },
|
|
@@ -281,6 +282,7 @@ export const ERROR_CODE_META = {
|
|
|
281
282
|
publish_path_collision: { retryable: false, recovery: "fix_input" },
|
|
282
283
|
publish_path_invalid: { retryable: false, recovery: "fix_input" },
|
|
283
284
|
publish_setup_failed: { retryable: true, recovery: "retry" },
|
|
285
|
+
publish_session_expired: { retryable: false, recovery: "fix_input" },
|
|
284
286
|
publish_snapshot_empty: { retryable: false, recovery: "fix_input" },
|
|
285
287
|
publish_upload_failed: { retryable: true, recovery: "retry" },
|
|
286
288
|
publish_verification_failed: { retryable: true, recovery: "retry" },
|
|
@@ -298,7 +300,6 @@ export const ERROR_CODE_META = {
|
|
|
298
300
|
runtime_api_not_found: { retryable: false, recovery: "fix_input" },
|
|
299
301
|
runtime_callback_forbidden: { retryable: false, recovery: "re_auth" },
|
|
300
302
|
runtime_dev_unsupported: { retryable: false, recovery: "fix_input" },
|
|
301
|
-
runtime_engine_zip_missing: { retryable: false, recovery: "contact_support" },
|
|
302
303
|
runtime_hostname_unassigned: { retryable: false, recovery: "fix_input" },
|
|
303
304
|
runtime_instance_mismatch: { retryable: false, recovery: "fix_input" },
|
|
304
305
|
runtime_jti_missing: { retryable: false, recovery: "re_auth" },
|
|
@@ -308,6 +309,11 @@ export const ERROR_CODE_META = {
|
|
|
308
309
|
runtime_management_unavailable: { retryable: true, recovery: "retry" },
|
|
309
310
|
runtime_not_provisioned: { retryable: true, recovery: "wait" },
|
|
310
311
|
runtime_operation_missing: { retryable: false, recovery: "fix_input" },
|
|
312
|
+
response_headers_unservable: { retryable: false, recovery: "fix_input" },
|
|
313
|
+
response_table_too_large: { retryable: false, recovery: "fix_input" },
|
|
314
|
+
review_item_claimed: { retryable: false, recovery: "fix_input" },
|
|
315
|
+
runtime_purge_failed: { retryable: true, recovery: "retry" },
|
|
316
|
+
runtime_release_unverifiable: { retryable: false, recovery: "fix_input" },
|
|
311
317
|
runtime_scope_forbidden: { retryable: false, recovery: "re_auth" },
|
|
312
318
|
runtime_token_bad_signature: { retryable: false, recovery: "re_auth" },
|
|
313
319
|
runtime_token_expired: { retryable: false, recovery: "re_auth" },
|
|
@@ -344,11 +350,6 @@ export const ERROR_CODE_META = {
|
|
|
344
350
|
recovery: "fix_input",
|
|
345
351
|
next: ["sf login", "sf publish --space <space-id>", "Ask the owner to create an access token"],
|
|
346
352
|
},
|
|
347
|
-
space_capacity_warming: {
|
|
348
|
-
retryable: true,
|
|
349
|
-
recovery: "wait",
|
|
350
|
-
next: ["Retry the same publish after the Retry-After seconds"],
|
|
351
|
-
},
|
|
352
353
|
space_claim_unavailable: { retryable: false, recovery: "fix_input" },
|
|
353
354
|
space_claimed_credential_available: {
|
|
354
355
|
retryable: false,
|
|
@@ -356,7 +357,7 @@ export const ERROR_CODE_META = {
|
|
|
356
357
|
next: [
|
|
357
358
|
"bash scripts/continue.sh",
|
|
358
359
|
"MCP On-Device: call publish again to exchange the locally held credential and retry",
|
|
359
|
-
"curl -sS -X POST -H 'Authorization: Bearer <
|
|
360
|
+
"curl -sS -X POST -H 'Authorization: Bearer <space-key>' https://api.spacefast.com/v1/claim/exchange",
|
|
360
361
|
],
|
|
361
362
|
},
|
|
362
363
|
space_disabled: { retryable: false, recovery: "fix_input" },
|
|
@@ -364,12 +365,6 @@ export const ERROR_CODE_META = {
|
|
|
364
365
|
space_has_active_publish: { retryable: true, recovery: "wait" },
|
|
365
366
|
space_has_active_version: { retryable: false, recovery: "fix_input" },
|
|
366
367
|
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
368
|
space_no_live_version: { retryable: false, recovery: "fix_input" },
|
|
374
369
|
space_not_disabled: { retryable: false, recovery: "fix_input" },
|
|
375
370
|
space_not_restorable: { retryable: false, recovery: "fix_input" },
|
|
@@ -396,7 +391,6 @@ export const ERROR_CODE_META = {
|
|
|
396
391
|
storage_quota_decrease_not_supported: { retryable: false, recovery: "fix_input" },
|
|
397
392
|
storage_quota_exceeded: { retryable: false, recovery: "fix_input" },
|
|
398
393
|
storage_unavailable: { retryable: true, recovery: "retry" },
|
|
399
|
-
storage_usage_unavailable: { retryable: true, recovery: "retry" },
|
|
400
394
|
stripe_error: { retryable: true, recovery: "retry" },
|
|
401
395
|
superseded_by_publish: { retryable: false, recovery: "fix_input" },
|
|
402
396
|
takeover_notice_window: { retryable: true, recovery: "wait" },
|
|
@@ -415,7 +409,6 @@ export const ERROR_CODE_META = {
|
|
|
415
409
|
tenant_suspended: { retryable: false, recovery: "contact_support" },
|
|
416
410
|
theme_value_invalid: { retryable: false, recovery: "fix_input" },
|
|
417
411
|
transfer_cross_tenant_unsupported: { retryable: false, recovery: "fix_input" },
|
|
418
|
-
transfer_move_failed: { retryable: true, recovery: "retry" },
|
|
419
412
|
transfer_not_cancelable: { retryable: false, recovery: "fix_input" },
|
|
420
413
|
transfer_push_failed: { retryable: true, recovery: "retry" },
|
|
421
414
|
transfer_source_changed: { retryable: false, recovery: "fix_input" },
|
|
@@ -429,7 +422,6 @@ export const ERROR_CODE_META = {
|
|
|
429
422
|
upload_size_mismatch: { retryable: false, recovery: "fix_input" },
|
|
430
423
|
user_banned: { retryable: false, recovery: "contact_support" },
|
|
431
424
|
validation_error: { retryable: false, recovery: "fix_input" },
|
|
432
|
-
variable_cascade_failed: { retryable: false, recovery: "fix_input" },
|
|
433
425
|
verification_required: { retryable: false, recovery: "re_auth" },
|
|
434
426
|
version_already_live: { retryable: false, recovery: "fix_input" },
|
|
435
427
|
version_artifact_not_found: { retryable: false, recovery: "fix_input" },
|
|
@@ -454,7 +446,6 @@ export const ERROR_CODE_META = {
|
|
|
454
446
|
version_total_bytes_exceeded: { retryable: false, recovery: "fix_input" },
|
|
455
447
|
webhook_delivery_budget_exceeded: { retryable: false, recovery: "fix_input" },
|
|
456
448
|
whois_unavailable: { retryable: true, recovery: "retry" },
|
|
457
|
-
wp_cloud_anonymous_pool_required: { retryable: false, recovery: "fix_input" },
|
|
458
449
|
wp_cloud_assignment_kind_mismatch: { retryable: false, recovery: "fix_input" },
|
|
459
450
|
wp_cloud_assignment_space_mismatch: { retryable: false, recovery: "fix_input" },
|
|
460
451
|
wp_cloud_assignment_team_mismatch: { retryable: false, recovery: "fix_input" },
|
|
@@ -463,7 +454,6 @@ export const ERROR_CODE_META = {
|
|
|
463
454
|
wp_cloud_site_still_assigned: { retryable: false, recovery: "fix_input" },
|
|
464
455
|
wp_cloud_team_shared_site_exists: { retryable: false, recovery: "fix_input" },
|
|
465
456
|
wp_cloud_webhook_secret_not_configured: { retryable: false, recovery: "contact_support" },
|
|
466
|
-
zero_activating: { retryable: true, recovery: "wait" },
|
|
467
457
|
zero_ai_unavailable: { retryable: false, recovery: "fix_input" },
|
|
468
458
|
zero_artifact_abi_mismatch: { retryable: false, recovery: "fix_input" },
|
|
469
459
|
zero_artifact_invalid: { retryable: false, recovery: "fix_input" },
|
|
@@ -548,7 +538,6 @@ export const ERROR_CODE_META = {
|
|
|
548
538
|
zero_response_header_forbidden: { retryable: false, recovery: "fix_input" },
|
|
549
539
|
zero_response_header_invalid: { retryable: false, recovery: "fix_input" },
|
|
550
540
|
zero_response_too_large: { retryable: false, recovery: "fix_input" },
|
|
551
|
-
zero_requires_dedicated_plan: { retryable: false, recovery: "fix_input" },
|
|
552
541
|
zero_routes_invalid: { retryable: false, recovery: "fix_input" },
|
|
553
542
|
zero_run_compile_failed: { retryable: false, recovery: "fix_input" },
|
|
554
543
|
zero_run_duplicate: { retryable: false, recovery: "fix_input" },
|
|
@@ -567,7 +556,6 @@ export const ERROR_CODE_META = {
|
|
|
567
556
|
zero_runs_invalid: { retryable: false, recovery: "fix_input" },
|
|
568
557
|
zero_runs_require_runtime_compiler: { retryable: false, recovery: "fix_input" },
|
|
569
558
|
zero_runs_too_many: { retryable: false, recovery: "fix_input" },
|
|
570
|
-
zero_shopify_unavailable: { retryable: false, recovery: "fix_input" },
|
|
571
559
|
};
|
|
572
560
|
/**
|
|
573
561
|
* Resolve the metadata for an error code, degrading to a safe `contact_support` default for
|