@spacefast/common 0.0.12 → 0.0.17
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/client-registry.d.ts +22 -0
- package/dist/agents/client-registry.js +41 -0
- package/dist/agents/connect-targets.d.ts +51 -6
- package/dist/agents/connect-targets.js +93 -28
- package/dist/brand.d.ts +0 -11
- package/dist/brand.js +0 -20
- package/dist/config/domains.d.ts +15 -6
- package/dist/config/domains.js +24 -10
- package/dist/config/postgres-budget.d.ts +3 -0
- package/dist/config/postgres-budget.js +6 -1
- package/dist/config/postgres-budget.json +2 -1
- package/dist/contracts/abuse.js +1 -1
- package/dist/contracts/access.d.ts +486 -1196
- package/dist/contracts/access.js +323 -1054
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +11 -15
- package/dist/contracts/api-keys.d.ts +16 -0
- package/dist/contracts/api-keys.js +11 -9
- package/dist/contracts/archives.d.ts +1 -2
- package/dist/contracts/archives.js +15 -17
- package/dist/contracts/beta.js +1 -1
- package/dist/contracts/builds.js +14 -14
- package/dist/contracts/channels.js +2 -2
- package/dist/contracts/comments.d.ts +143 -99
- package/dist/contracts/comments.js +194 -79
- package/dist/contracts/common.d.ts +12 -12
- package/dist/contracts/common.js +33 -30
- package/dist/contracts/continuation.js +5 -5
- package/dist/contracts/countries.js +2 -7
- package/dist/contracts/data-source-routes.d.ts +20 -0
- package/dist/contracts/data-source-routes.js +15 -0
- package/dist/contracts/device-auth.d.ts +13 -9
- package/dist/contracts/device-auth.js +12 -12
- package/dist/contracts/docs.d.ts +10 -10
- package/dist/contracts/domains.js +39 -33
- package/dist/contracts/enums.d.ts +4 -14
- package/dist/contracts/enums.js +3 -10
- package/dist/contracts/error-code-meta.d.ts +122 -56
- package/dist/contracts/error-code-meta.js +43 -19
- package/dist/contracts/error-codes.d.ts +7 -4
- package/dist/contracts/error-codes.js +48 -24
- package/dist/contracts/events.d.ts +22 -15
- package/dist/contracts/events.js +33 -5
- package/dist/contracts/execution.d.ts +238 -0
- package/dist/contracts/execution.js +309 -0
- package/dist/contracts/feature-lifecycle.d.ts +39 -188
- package/dist/contracts/feature-lifecycle.js +52 -196
- package/dist/contracts/features.d.ts +13 -115
- package/dist/contracts/features.js +5 -35
- package/dist/contracts/functions.d.ts +597 -0
- package/dist/contracts/functions.js +475 -0
- package/dist/contracts/grants.d.ts +1175 -0
- package/dist/contracts/grants.js +783 -0
- package/dist/contracts/ids.d.ts +7 -5
- package/dist/contracts/ids.js +7 -7
- package/dist/contracts/internal.js +2 -2
- package/dist/contracts/mcp.d.ts +17 -556
- package/dist/contracts/mcp.js +9 -103
- package/dist/contracts/me.js +3 -4
- package/dist/contracts/notifications.d.ts +108 -0
- package/dist/contracts/notifications.js +54 -0
- package/dist/contracts/oauth-resources.d.ts +22 -5
- package/dist/contracts/oauth-resources.js +23 -2
- package/dist/contracts/operations.d.ts +0 -48
- package/dist/contracts/operations.js +0 -19
- package/dist/contracts/pages.d.ts +10 -14
- package/dist/contracts/pages.js +17 -21
- package/dist/contracts/plan-policy.d.ts +1 -8
- package/dist/contracts/plan-policy.js +1 -4
- package/dist/contracts/platform.d.ts +78 -30
- package/dist/contracts/platform.js +69 -20
- package/dist/contracts/problem-document.d.ts +14 -0
- package/dist/contracts/problem-document.js +35 -0
- package/dist/contracts/push-new.d.ts +41 -2
- package/dist/contracts/push-new.js +4 -0
- package/dist/contracts/quotas.d.ts +0 -1
- package/dist/contracts/quotas.js +0 -5
- package/dist/contracts/repository-connections.d.ts +1 -1
- package/dist/contracts/resources.d.ts +16 -71
- package/dist/contracts/resources.js +13 -16
- package/dist/contracts/runtime-api.d.ts +666 -303
- package/dist/contracts/runtime-api.js +272 -113
- package/dist/contracts/runtime-app.d.ts +168 -0
- package/dist/contracts/runtime-app.js +42 -0
- package/dist/contracts/runtime-db.d.ts +424 -0
- package/dist/contracts/runtime-db.js +108 -0
- package/dist/contracts/runtime-storage.d.ts +120 -0
- package/dist/contracts/runtime-storage.js +40 -0
- package/dist/contracts/sf-config-v1.d.ts +54 -1
- package/dist/contracts/sf-config-v1.js +2 -2
- package/dist/contracts/sites.d.ts +6 -0
- package/dist/contracts/sites.js +30 -11
- package/dist/contracts/space-config.d.ts +91 -121
- package/dist/contracts/space-config.js +464 -42
- package/dist/contracts/spaces.d.ts +300 -171
- package/dist/contracts/spaces.js +128 -98
- package/dist/contracts/superadmin-emails.d.ts +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +26 -130
- package/dist/contracts/superadmin-spaces.js +22 -0
- package/dist/contracts/superadmin-tenants.js +4 -4
- package/dist/contracts/superadmin.d.ts +4 -0
- package/dist/contracts/superadmin.js +14 -1
- package/dist/contracts/tags.d.ts +6 -6
- package/dist/contracts/tags.js +1 -1
- package/dist/contracts/teams.d.ts +9 -9
- package/dist/contracts/teams.js +25 -16
- package/dist/contracts/theme-json.js +1 -1
- package/dist/contracts/transfers.d.ts +0 -1
- package/dist/contracts/transfers.js +4 -4
- package/dist/contracts/variables.js +3 -3
- package/dist/contracts/zero.d.ts +384 -596
- package/dist/contracts/zero.js +167 -299
- package/dist/dashboard-paths/index.d.ts +18 -3
- package/dist/dashboard-paths/index.js +19 -0
- package/dist/docs/agent-handoff-document.d.ts +2 -2
- package/dist/docs/agent-handoff-document.js +8 -7
- package/dist/docs/agent-prose.d.ts +22 -3
- package/dist/docs/agent-prose.js +227 -55
- package/dist/docs/agent-setup.d.ts +14 -11
- package/dist/docs/agent-setup.js +289 -61
- package/dist/docs/agent-solutions.d.ts +6 -6
- package/dist/docs/agent-solutions.js +24 -22
- package/dist/docs/catalog.d.ts +53 -98
- package/dist/docs/catalog.js +90 -117
- package/dist/docs/error-docs.js +304 -236
- package/dist/docs/skill-distribution.d.ts +2 -0
- package/dist/docs/skill-distribution.js +7 -4
- package/dist/docs/skills.d.ts +546 -0
- package/dist/docs/skills.js +340 -0
- package/dist/utils/auth-redirect.d.ts +1 -3
- package/dist/utils/auth-redirect.js +1 -21
- package/dist/utils/browser-credential.d.ts +19 -0
- package/dist/utils/browser-credential.js +62 -0
- package/dist/utils/build-settings.d.ts +2 -0
- package/dist/utils/build-settings.js +61 -9
- package/dist/utils/comment-avatars.d.ts +7 -0
- package/dist/utils/comment-avatars.js +42 -0
- package/dist/utils/content-type.d.ts +3 -3
- package/dist/utils/content-type.js +38 -61
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/credential-policy.js +4 -0
- package/dist/utils/domain-diagnostics.d.ts +5 -5
- package/dist/utils/domain-diagnostics.js +21 -10
- package/dist/utils/egress-policy.fixtures.json +1 -1
- package/dist/utils/grants.d.ts +53 -0
- package/dist/utils/grants.js +160 -0
- package/dist/utils/local-space-state.d.ts +78 -4
- package/dist/utils/local-space-state.js +384 -82
- package/dist/utils/one-shot-replay.d.ts +14 -0
- package/dist/utils/one-shot-replay.js +21 -0
- package/dist/utils/page-preview.d.ts +7 -0
- package/dist/utils/page-preview.js +9 -0
- package/dist/utils/pages.d.ts +2 -5
- package/dist/utils/pages.js +64 -33
- package/dist/utils/publish-form-data.d.ts +22 -0
- package/dist/utils/publish-form-data.js +26 -0
- package/dist/utils/publish-policy.d.ts +34 -4
- package/dist/utils/publish-policy.js +149 -62
- package/dist/utils/query-keys.d.ts +8 -10
- package/dist/utils/query-keys.js +14 -10
- package/dist/utils/runtime-paths.d.ts +3 -0
- package/dist/utils/runtime-paths.js +7 -0
- package/dist/utils/secure-local-file.d.ts +73 -0
- package/dist/utils/secure-local-file.js +1373 -0
- package/dist/utils/space-config.d.ts +17 -4
- package/dist/utils/space-config.js +151 -8
- package/dist/utils/static-runtime-policy.d.ts +5 -0
- package/dist/utils/static-runtime-policy.js +54 -10
- package/dist/utils/storage-policy.d.ts +20 -0
- package/dist/utils/storage-policy.fixtures.json +174 -0
- package/dist/utils/storage-policy.js +193 -0
- package/dist/utils/upload-session.d.ts +15 -1
- package/dist/utils/upload-session.js +68 -2
- package/dist/utils/version-file-browser.d.ts +13 -0
- package/dist/utils/version-file-browser.js +59 -0
- package/package.json +20 -1
- package/dist/contracts/mounts.d.ts +0 -142
- package/dist/contracts/mounts.js +0 -56
- package/dist/utils/access-grant.d.ts +0 -14
- package/dist/utils/access-grant.js +0 -88
- package/dist/utils/access-match.d.ts +0 -46
- package/dist/utils/access-match.fixtures.json +0 -513
- package/dist/utils/access-match.js +0 -312
- package/dist/utils/access-verdict.fixtures.json +0 -421
- package/dist/utils/asset-fingerprint.d.ts +0 -53
- package/dist/utils/asset-fingerprint.js +0 -574
- package/dist/utils/sf-config-v1.d.ts +0 -2
- package/dist/utils/sf-config-v1.fixtures.json +0 -9
- package/dist/utils/sf-config-v1.js +0 -551
|
@@ -186,6 +186,10 @@ export declare const ERROR_CODE_META: {
|
|
|
186
186
|
readonly retryable: false;
|
|
187
187
|
readonly recovery: "fix_input";
|
|
188
188
|
};
|
|
189
|
+
readonly config_functions_key_removed: {
|
|
190
|
+
readonly retryable: false;
|
|
191
|
+
readonly recovery: "fix_input";
|
|
192
|
+
};
|
|
189
193
|
readonly config_invalid: {
|
|
190
194
|
readonly retryable: false;
|
|
191
195
|
readonly recovery: "fix_input";
|
|
@@ -194,6 +198,18 @@ export declare const ERROR_CODE_META: {
|
|
|
194
198
|
readonly retryable: false;
|
|
195
199
|
readonly recovery: "fix_input";
|
|
196
200
|
};
|
|
201
|
+
readonly config_name_too_long: {
|
|
202
|
+
readonly retryable: false;
|
|
203
|
+
readonly recovery: "fix_input";
|
|
204
|
+
};
|
|
205
|
+
readonly config_runtime_entry_missing: {
|
|
206
|
+
readonly retryable: false;
|
|
207
|
+
readonly recovery: "fix_input";
|
|
208
|
+
};
|
|
209
|
+
readonly config_runtime_invalid_kind: {
|
|
210
|
+
readonly retryable: false;
|
|
211
|
+
readonly recovery: "fix_input";
|
|
212
|
+
};
|
|
197
213
|
readonly config_templates_over_limit: {
|
|
198
214
|
readonly retryable: false;
|
|
199
215
|
readonly recovery: "fix_input";
|
|
@@ -240,6 +256,10 @@ export declare const ERROR_CODE_META: {
|
|
|
240
256
|
readonly retryable: false;
|
|
241
257
|
readonly recovery: "fix_input";
|
|
242
258
|
};
|
|
259
|
+
readonly db_not_available: {
|
|
260
|
+
readonly retryable: false;
|
|
261
|
+
readonly recovery: "fix_input";
|
|
262
|
+
};
|
|
243
263
|
readonly device_authorization_failed: {
|
|
244
264
|
readonly retryable: false;
|
|
245
265
|
readonly recovery: "re_auth";
|
|
@@ -496,10 +516,6 @@ export declare const ERROR_CODE_META: {
|
|
|
496
516
|
readonly retryable: false;
|
|
497
517
|
readonly recovery: "fix_input";
|
|
498
518
|
};
|
|
499
|
-
readonly free_headers_basic_auth_disabled: {
|
|
500
|
-
readonly retryable: false;
|
|
501
|
-
readonly recovery: "fix_input";
|
|
502
|
-
};
|
|
503
519
|
readonly google_play_webhook_identity_not_configured: {
|
|
504
520
|
readonly retryable: false;
|
|
505
521
|
readonly recovery: "contact_support";
|
|
@@ -512,10 +528,6 @@ export declare const ERROR_CODE_META: {
|
|
|
512
528
|
readonly retryable: false;
|
|
513
529
|
readonly recovery: "fix_input";
|
|
514
530
|
};
|
|
515
|
-
readonly immutable_version_requires_login: {
|
|
516
|
-
readonly retryable: false;
|
|
517
|
-
readonly recovery: "re_auth";
|
|
518
|
-
};
|
|
519
531
|
readonly import_archive_not_uploaded: {
|
|
520
532
|
readonly retryable: false;
|
|
521
533
|
readonly recovery: "fix_input";
|
|
@@ -721,11 +733,11 @@ export declare const ERROR_CODE_META: {
|
|
|
721
733
|
readonly recovery: "wait";
|
|
722
734
|
readonly next: readonly ["Retry after the Retry-After seconds"];
|
|
723
735
|
};
|
|
724
|
-
readonly
|
|
736
|
+
readonly member_already_exists: {
|
|
725
737
|
readonly retryable: false;
|
|
726
738
|
readonly recovery: "fix_input";
|
|
727
739
|
};
|
|
728
|
-
readonly
|
|
740
|
+
readonly method_not_allowed: {
|
|
729
741
|
readonly retryable: false;
|
|
730
742
|
readonly recovery: "fix_input";
|
|
731
743
|
};
|
|
@@ -733,6 +745,10 @@ export declare const ERROR_CODE_META: {
|
|
|
733
745
|
readonly retryable: false;
|
|
734
746
|
readonly recovery: "fix_input";
|
|
735
747
|
};
|
|
748
|
+
readonly name_managed_by_config: {
|
|
749
|
+
readonly retryable: false;
|
|
750
|
+
readonly recovery: "fix_input";
|
|
751
|
+
};
|
|
736
752
|
readonly nameserver_delegation_required: {
|
|
737
753
|
readonly retryable: false;
|
|
738
754
|
readonly recovery: "fix_input";
|
|
@@ -906,6 +922,10 @@ export declare const ERROR_CODE_META: {
|
|
|
906
922
|
readonly retryable: false;
|
|
907
923
|
readonly recovery: "fix_input";
|
|
908
924
|
};
|
|
925
|
+
readonly resource_revision_changed: {
|
|
926
|
+
readonly retryable: false;
|
|
927
|
+
readonly recovery: "fix_input";
|
|
928
|
+
};
|
|
909
929
|
readonly routing_rules_over_plan: {
|
|
910
930
|
readonly retryable: false;
|
|
911
931
|
readonly recovery: "fix_input";
|
|
@@ -922,6 +942,10 @@ export declare const ERROR_CODE_META: {
|
|
|
922
942
|
readonly retryable: false;
|
|
923
943
|
readonly recovery: "re_auth";
|
|
924
944
|
};
|
|
945
|
+
readonly runtime_dev_unsupported: {
|
|
946
|
+
readonly retryable: false;
|
|
947
|
+
readonly recovery: "fix_input";
|
|
948
|
+
};
|
|
925
949
|
readonly runtime_engine_zip_missing: {
|
|
926
950
|
readonly retryable: false;
|
|
927
951
|
readonly recovery: "contact_support";
|
|
@@ -946,7 +970,7 @@ export declare const ERROR_CODE_META: {
|
|
|
946
970
|
readonly retryable: false;
|
|
947
971
|
readonly recovery: "re_auth";
|
|
948
972
|
};
|
|
949
|
-
readonly
|
|
973
|
+
readonly runtime_kind_mismatch: {
|
|
950
974
|
readonly retryable: false;
|
|
951
975
|
readonly recovery: "fix_input";
|
|
952
976
|
};
|
|
@@ -998,6 +1022,11 @@ export declare const ERROR_CODE_META: {
|
|
|
998
1022
|
readonly retryable: false;
|
|
999
1023
|
readonly recovery: "fix_input";
|
|
1000
1024
|
};
|
|
1025
|
+
readonly service_booting: {
|
|
1026
|
+
readonly retryable: true;
|
|
1027
|
+
readonly recovery: "wait";
|
|
1028
|
+
readonly next: readonly ["Retry after the Retry-After seconds"];
|
|
1029
|
+
};
|
|
1001
1030
|
readonly service_signature_invalid: {
|
|
1002
1031
|
readonly retryable: false;
|
|
1003
1032
|
readonly recovery: "re_auth";
|
|
@@ -1006,10 +1035,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1006
1035
|
readonly retryable: false;
|
|
1007
1036
|
readonly recovery: "fix_input";
|
|
1008
1037
|
};
|
|
1009
|
-
readonly site_capacity_exceeded: {
|
|
1010
|
-
readonly retryable: true;
|
|
1011
|
-
readonly recovery: "wait";
|
|
1012
|
-
};
|
|
1013
1038
|
readonly site_has_live_spaces: {
|
|
1014
1039
|
readonly retryable: false;
|
|
1015
1040
|
readonly recovery: "fix_input";
|
|
@@ -1060,6 +1085,11 @@ export declare const ERROR_CODE_META: {
|
|
|
1060
1085
|
readonly recovery: "fix_input";
|
|
1061
1086
|
readonly next: readonly ["sf login", "sf publish --space <space-id>", "Ask the owner to create an access token"];
|
|
1062
1087
|
};
|
|
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
|
+
};
|
|
1063
1093
|
readonly space_claim_unavailable: {
|
|
1064
1094
|
readonly retryable: false;
|
|
1065
1095
|
readonly recovery: "fix_input";
|
|
@@ -1067,7 +1097,7 @@ export declare const ERROR_CODE_META: {
|
|
|
1067
1097
|
readonly space_claimed_credential_available: {
|
|
1068
1098
|
readonly retryable: false;
|
|
1069
1099
|
readonly recovery: "re_auth";
|
|
1070
|
-
readonly next: readonly ["bash scripts/continue.sh", "MCP: call
|
|
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 <claim-token>' https://api.spacefast.com/v1/anonymous-claim/exchange"];
|
|
1071
1101
|
};
|
|
1072
1102
|
readonly space_disabled: {
|
|
1073
1103
|
readonly retryable: false;
|
|
@@ -1105,6 +1135,10 @@ export declare const ERROR_CODE_META: {
|
|
|
1105
1135
|
readonly retryable: false;
|
|
1106
1136
|
readonly recovery: "fix_input";
|
|
1107
1137
|
};
|
|
1138
|
+
readonly space_move_would_strand_zero_data: {
|
|
1139
|
+
readonly retryable: false;
|
|
1140
|
+
readonly recovery: "contact_support";
|
|
1141
|
+
};
|
|
1108
1142
|
readonly space_moving: {
|
|
1109
1143
|
readonly retryable: true;
|
|
1110
1144
|
readonly recovery: "wait";
|
|
@@ -1121,6 +1155,18 @@ export declare const ERROR_CODE_META: {
|
|
|
1121
1155
|
readonly retryable: false;
|
|
1122
1156
|
readonly recovery: "fix_input";
|
|
1123
1157
|
};
|
|
1158
|
+
readonly space_person_already_member: {
|
|
1159
|
+
readonly retryable: false;
|
|
1160
|
+
readonly recovery: "fix_input";
|
|
1161
|
+
};
|
|
1162
|
+
readonly space_person_invitation_pending: {
|
|
1163
|
+
readonly retryable: false;
|
|
1164
|
+
readonly recovery: "fix_input";
|
|
1165
|
+
};
|
|
1166
|
+
readonly space_person_self_invite: {
|
|
1167
|
+
readonly retryable: false;
|
|
1168
|
+
readonly recovery: "fix_input";
|
|
1169
|
+
};
|
|
1124
1170
|
readonly space_ref_ambiguous: {
|
|
1125
1171
|
readonly retryable: false;
|
|
1126
1172
|
readonly recovery: "fix_input";
|
|
@@ -1145,50 +1191,62 @@ export declare const ERROR_CODE_META: {
|
|
|
1145
1191
|
readonly retryable: false;
|
|
1146
1192
|
readonly recovery: "fix_input";
|
|
1147
1193
|
};
|
|
1148
|
-
readonly
|
|
1194
|
+
readonly static_runtime_control_path_not_supported: {
|
|
1149
1195
|
readonly retryable: false;
|
|
1150
1196
|
readonly recovery: "fix_input";
|
|
1151
1197
|
};
|
|
1152
|
-
readonly
|
|
1153
|
-
readonly retryable:
|
|
1154
|
-
readonly recovery: "
|
|
1198
|
+
readonly static_runtime_required: {
|
|
1199
|
+
readonly retryable: false;
|
|
1200
|
+
readonly recovery: "fix_input";
|
|
1155
1201
|
};
|
|
1156
|
-
readonly
|
|
1202
|
+
readonly storage_auth_required: {
|
|
1157
1203
|
readonly retryable: false;
|
|
1158
1204
|
readonly recovery: "re_auth";
|
|
1159
1205
|
};
|
|
1160
|
-
readonly
|
|
1206
|
+
readonly storage_bucket_unavailable: {
|
|
1207
|
+
readonly retryable: true;
|
|
1208
|
+
readonly recovery: "retry";
|
|
1209
|
+
};
|
|
1210
|
+
readonly storage_content_blocked: {
|
|
1161
1211
|
readonly retryable: false;
|
|
1162
1212
|
readonly recovery: "fix_input";
|
|
1163
1213
|
};
|
|
1164
|
-
readonly
|
|
1214
|
+
readonly storage_delete_forbidden: {
|
|
1215
|
+
readonly retryable: false;
|
|
1216
|
+
readonly recovery: "re_auth";
|
|
1217
|
+
};
|
|
1218
|
+
readonly storage_empty_file: {
|
|
1165
1219
|
readonly retryable: false;
|
|
1166
1220
|
readonly recovery: "fix_input";
|
|
1167
1221
|
};
|
|
1168
|
-
readonly
|
|
1169
|
-
readonly retryable:
|
|
1170
|
-
readonly recovery: "
|
|
1222
|
+
readonly storage_file_too_large: {
|
|
1223
|
+
readonly retryable: false;
|
|
1224
|
+
readonly recovery: "fix_input";
|
|
1171
1225
|
};
|
|
1172
|
-
readonly
|
|
1226
|
+
readonly storage_key_invalid: {
|
|
1173
1227
|
readonly retryable: false;
|
|
1174
1228
|
readonly recovery: "fix_input";
|
|
1175
1229
|
};
|
|
1176
|
-
readonly
|
|
1230
|
+
readonly storage_object_not_found: {
|
|
1177
1231
|
readonly retryable: false;
|
|
1178
1232
|
readonly recovery: "fix_input";
|
|
1179
1233
|
};
|
|
1180
|
-
readonly
|
|
1234
|
+
readonly storage_quota_already_unlimited: {
|
|
1181
1235
|
readonly retryable: false;
|
|
1182
1236
|
readonly recovery: "fix_input";
|
|
1183
1237
|
};
|
|
1184
|
-
readonly
|
|
1185
|
-
readonly retryable:
|
|
1186
|
-
readonly recovery: "
|
|
1238
|
+
readonly storage_quota_decrease_not_supported: {
|
|
1239
|
+
readonly retryable: false;
|
|
1240
|
+
readonly recovery: "fix_input";
|
|
1187
1241
|
};
|
|
1188
1242
|
readonly storage_quota_exceeded: {
|
|
1189
1243
|
readonly retryable: false;
|
|
1190
1244
|
readonly recovery: "fix_input";
|
|
1191
1245
|
};
|
|
1246
|
+
readonly storage_unavailable: {
|
|
1247
|
+
readonly retryable: true;
|
|
1248
|
+
readonly recovery: "retry";
|
|
1249
|
+
};
|
|
1192
1250
|
readonly storage_usage_unavailable: {
|
|
1193
1251
|
readonly retryable: true;
|
|
1194
1252
|
readonly recovery: "retry";
|
|
@@ -1309,10 +1367,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1309
1367
|
readonly retryable: false;
|
|
1310
1368
|
readonly recovery: "fix_input";
|
|
1311
1369
|
};
|
|
1312
|
-
readonly upload_session_cap_exceeded: {
|
|
1313
|
-
readonly retryable: false;
|
|
1314
|
-
readonly recovery: "fix_input";
|
|
1315
|
-
};
|
|
1316
1370
|
readonly upload_size_mismatch: {
|
|
1317
1371
|
readonly retryable: false;
|
|
1318
1372
|
readonly recovery: "fix_input";
|
|
@@ -1545,6 +1599,30 @@ export declare const ERROR_CODE_META: {
|
|
|
1545
1599
|
readonly retryable: false;
|
|
1546
1600
|
readonly recovery: "fix_input";
|
|
1547
1601
|
};
|
|
1602
|
+
readonly zero_db_export_cursor_invalid: {
|
|
1603
|
+
readonly retryable: false;
|
|
1604
|
+
readonly recovery: "fix_input";
|
|
1605
|
+
};
|
|
1606
|
+
readonly zero_db_export_failed: {
|
|
1607
|
+
readonly retryable: true;
|
|
1608
|
+
readonly recovery: "retry";
|
|
1609
|
+
};
|
|
1610
|
+
readonly zero_db_export_page_too_large: {
|
|
1611
|
+
readonly retryable: false;
|
|
1612
|
+
readonly recovery: "fix_input";
|
|
1613
|
+
};
|
|
1614
|
+
readonly zero_db_export_query_invalid: {
|
|
1615
|
+
readonly retryable: false;
|
|
1616
|
+
readonly recovery: "fix_input";
|
|
1617
|
+
};
|
|
1618
|
+
readonly zero_db_export_schema_changed: {
|
|
1619
|
+
readonly retryable: false;
|
|
1620
|
+
readonly recovery: "retry";
|
|
1621
|
+
};
|
|
1622
|
+
readonly zero_db_export_schema_unavailable: {
|
|
1623
|
+
readonly retryable: false;
|
|
1624
|
+
readonly recovery: "contact_support";
|
|
1625
|
+
};
|
|
1548
1626
|
readonly zero_db_host_install_failed: {
|
|
1549
1627
|
readonly retryable: false;
|
|
1550
1628
|
readonly recovery: "fix_input";
|
|
@@ -1573,6 +1651,14 @@ export declare const ERROR_CODE_META: {
|
|
|
1573
1651
|
readonly retryable: false;
|
|
1574
1652
|
readonly recovery: "fix_input";
|
|
1575
1653
|
};
|
|
1654
|
+
readonly zero_db_target_denied: {
|
|
1655
|
+
readonly retryable: false;
|
|
1656
|
+
readonly recovery: "fix_input";
|
|
1657
|
+
};
|
|
1658
|
+
readonly zero_db_tls_required: {
|
|
1659
|
+
readonly retryable: false;
|
|
1660
|
+
readonly recovery: "fix_input";
|
|
1661
|
+
};
|
|
1576
1662
|
readonly zero_db_too_many_params: {
|
|
1577
1663
|
readonly retryable: false;
|
|
1578
1664
|
readonly recovery: "fix_input";
|
|
@@ -1849,26 +1935,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1849
1935
|
readonly retryable: false;
|
|
1850
1936
|
readonly recovery: "fix_input";
|
|
1851
1937
|
};
|
|
1852
|
-
readonly zero_source_compile_failed: {
|
|
1853
|
-
readonly retryable: false;
|
|
1854
|
-
readonly recovery: "fix_input";
|
|
1855
|
-
};
|
|
1856
|
-
readonly zero_source_hash_mismatch: {
|
|
1857
|
-
readonly retryable: false;
|
|
1858
|
-
readonly recovery: "fix_input";
|
|
1859
|
-
};
|
|
1860
|
-
readonly zero_source_invalid: {
|
|
1861
|
-
readonly retryable: false;
|
|
1862
|
-
readonly recovery: "fix_input";
|
|
1863
|
-
};
|
|
1864
|
-
readonly zero_source_path_invalid: {
|
|
1865
|
-
readonly retryable: false;
|
|
1866
|
-
readonly recovery: "fix_input";
|
|
1867
|
-
};
|
|
1868
|
-
readonly zero_source_unreadable: {
|
|
1869
|
-
readonly retryable: false;
|
|
1870
|
-
readonly recovery: "fix_input";
|
|
1871
|
-
};
|
|
1872
1938
|
};
|
|
1873
1939
|
/**
|
|
1874
1940
|
* Resolve the metadata for an error code, degrading to a safe `contact_support` default for
|
|
@@ -67,8 +67,12 @@ export const ERROR_CODE_META = {
|
|
|
67
67
|
cli_upgrade_required: { retryable: false, recovery: "fix_input" },
|
|
68
68
|
comment_screenshot_rate_limited: { retryable: true, recovery: "wait" },
|
|
69
69
|
config_file_too_large: { retryable: false, recovery: "fix_input" },
|
|
70
|
+
config_functions_key_removed: { retryable: false, recovery: "fix_input" },
|
|
70
71
|
config_invalid: { retryable: false, recovery: "fix_input" },
|
|
71
72
|
config_meta_too_long: { retryable: false, recovery: "fix_input" },
|
|
73
|
+
config_name_too_long: { retryable: false, recovery: "fix_input" },
|
|
74
|
+
config_runtime_entry_missing: { retryable: false, recovery: "fix_input" },
|
|
75
|
+
config_runtime_invalid_kind: { retryable: false, recovery: "fix_input" },
|
|
72
76
|
config_templates_over_limit: { retryable: false, recovery: "fix_input" },
|
|
73
77
|
continuation_unavailable: {
|
|
74
78
|
retryable: false,
|
|
@@ -96,6 +100,7 @@ export const ERROR_CODE_META = {
|
|
|
96
100
|
csam_policy_floor: { retryable: false, recovery: "contact_support" },
|
|
97
101
|
custom_certificates_require_dedicated_site: { retryable: false, recovery: "fix_input" },
|
|
98
102
|
data_location_immutable: { retryable: false, recovery: "fix_input" },
|
|
103
|
+
db_not_available: { retryable: false, recovery: "fix_input" },
|
|
99
104
|
device_authorization_failed: { retryable: false, recovery: "re_auth" },
|
|
100
105
|
device_verification_rate_limited: {
|
|
101
106
|
retryable: true,
|
|
@@ -175,14 +180,12 @@ export const ERROR_CODE_META = {
|
|
|
175
180
|
files_mode_does_not_support_spa: { retryable: false, recovery: "fix_input" },
|
|
176
181
|
forbidden: { retryable: false, recovery: "re_auth" },
|
|
177
182
|
free_external_proxy_disabled: { retryable: false, recovery: "fix_input" },
|
|
178
|
-
free_headers_basic_auth_disabled: { retryable: false, recovery: "fix_input" },
|
|
179
183
|
google_play_webhook_identity_not_configured: {
|
|
180
184
|
retryable: false,
|
|
181
185
|
recovery: "contact_support",
|
|
182
186
|
},
|
|
183
187
|
idempotency_conflict_in_progress: { retryable: true, recovery: "wait" },
|
|
184
188
|
idempotency_key_reused: { retryable: false, recovery: "fix_input" },
|
|
185
|
-
immutable_version_requires_login: { retryable: false, recovery: "re_auth" },
|
|
186
189
|
import_archive_not_uploaded: { retryable: false, recovery: "fix_input" },
|
|
187
190
|
import_not_cancelable: { retryable: false, recovery: "fix_input" },
|
|
188
191
|
import_not_waiting_for_archive: { retryable: false, recovery: "fix_input" },
|
|
@@ -238,9 +241,10 @@ export const ERROR_CODE_META = {
|
|
|
238
241
|
recovery: "wait",
|
|
239
242
|
next: ["Retry after the Retry-After seconds"],
|
|
240
243
|
},
|
|
241
|
-
mcp_acted_for_team_deleted: { retryable: false, recovery: "fix_input" },
|
|
242
244
|
member_already_exists: { retryable: false, recovery: "fix_input" },
|
|
245
|
+
method_not_allowed: { retryable: false, recovery: "fix_input" },
|
|
243
246
|
missing_route_param: { retryable: false, recovery: "fix_input" },
|
|
247
|
+
name_managed_by_config: { retryable: false, recovery: "fix_input" },
|
|
244
248
|
nameserver_delegation_required: { retryable: false, recovery: "fix_input" },
|
|
245
249
|
nameserver_divergence: { retryable: false, recovery: "fix_input" },
|
|
246
250
|
noop_publish: { retryable: false, recovery: "fix_input" },
|
|
@@ -288,17 +292,19 @@ export const ERROR_CODE_META = {
|
|
|
288
292
|
},
|
|
289
293
|
registration_expired: { retryable: false, recovery: "fix_input" },
|
|
290
294
|
registration_expiring: { retryable: false, recovery: "fix_input" },
|
|
295
|
+
resource_revision_changed: { retryable: false, recovery: "fix_input" },
|
|
291
296
|
routing_rules_over_plan: { retryable: false, recovery: "fix_input" },
|
|
292
297
|
runtime_action_forbidden: { retryable: false, recovery: "re_auth" },
|
|
293
298
|
runtime_api_not_found: { retryable: false, recovery: "fix_input" },
|
|
294
299
|
runtime_callback_forbidden: { retryable: false, recovery: "re_auth" },
|
|
300
|
+
runtime_dev_unsupported: { retryable: false, recovery: "fix_input" },
|
|
295
301
|
runtime_engine_zip_missing: { retryable: false, recovery: "contact_support" },
|
|
296
302
|
runtime_hostname_unassigned: { retryable: false, recovery: "fix_input" },
|
|
297
303
|
runtime_instance_mismatch: { retryable: false, recovery: "fix_input" },
|
|
298
304
|
runtime_jti_missing: { retryable: false, recovery: "re_auth" },
|
|
299
305
|
runtime_jti_replayed: { retryable: false, recovery: "re_auth" },
|
|
300
306
|
runtime_jwks_key_missing: { retryable: false, recovery: "re_auth" },
|
|
301
|
-
|
|
307
|
+
runtime_kind_mismatch: { retryable: false, recovery: "fix_input" },
|
|
302
308
|
runtime_management_unavailable: { retryable: true, recovery: "retry" },
|
|
303
309
|
runtime_not_provisioned: { retryable: true, recovery: "wait" },
|
|
304
310
|
runtime_operation_missing: { retryable: false, recovery: "fix_input" },
|
|
@@ -311,9 +317,13 @@ export const ERROR_CODE_META = {
|
|
|
311
317
|
runtime_upload_required: { retryable: false, recovery: "fix_input" },
|
|
312
318
|
scan_pending: { retryable: true, recovery: "wait" },
|
|
313
319
|
secret_variable_in_template: { retryable: false, recovery: "fix_input" },
|
|
320
|
+
service_booting: {
|
|
321
|
+
retryable: true,
|
|
322
|
+
recovery: "wait",
|
|
323
|
+
next: ["Retry after the Retry-After seconds"],
|
|
324
|
+
},
|
|
314
325
|
service_signature_invalid: { retryable: false, recovery: "re_auth" },
|
|
315
326
|
site_already_deleted: { retryable: false, recovery: "fix_input" },
|
|
316
|
-
site_capacity_exceeded: { retryable: true, recovery: "wait" },
|
|
317
327
|
site_has_live_spaces: { retryable: false, recovery: "fix_input" },
|
|
318
328
|
site_not_static: { retryable: false, recovery: "fix_input" },
|
|
319
329
|
site_required: { retryable: false, recovery: "fix_input" },
|
|
@@ -334,13 +344,18 @@ export const ERROR_CODE_META = {
|
|
|
334
344
|
recovery: "fix_input",
|
|
335
345
|
next: ["sf login", "sf publish --space <space-id>", "Ask the owner to create an access token"],
|
|
336
346
|
},
|
|
347
|
+
space_capacity_warming: {
|
|
348
|
+
retryable: true,
|
|
349
|
+
recovery: "wait",
|
|
350
|
+
next: ["Retry the same publish after the Retry-After seconds"],
|
|
351
|
+
},
|
|
337
352
|
space_claim_unavailable: { retryable: false, recovery: "fix_input" },
|
|
338
353
|
space_claimed_credential_available: {
|
|
339
354
|
retryable: false,
|
|
340
355
|
recovery: "re_auth",
|
|
341
356
|
next: [
|
|
342
357
|
"bash scripts/continue.sh",
|
|
343
|
-
"MCP: call
|
|
358
|
+
"MCP On-Device: call publish again to exchange the locally held credential and retry",
|
|
344
359
|
"curl -sS -X POST -H 'Authorization: Bearer <claim-token>' https://api.spacefast.com/v1/anonymous-claim/exchange",
|
|
345
360
|
],
|
|
346
361
|
},
|
|
@@ -353,27 +368,34 @@ export const ERROR_CODE_META = {
|
|
|
353
368
|
space_import_archive_too_large: { retryable: false, recovery: "fix_input" },
|
|
354
369
|
space_import_config_only_archive: { retryable: false, recovery: "fix_input" },
|
|
355
370
|
space_import_runtime_schema_unsupported: { retryable: false, recovery: "fix_input" },
|
|
371
|
+
space_move_would_strand_zero_data: { retryable: false, recovery: "contact_support" },
|
|
356
372
|
space_moving: { retryable: true, recovery: "wait" },
|
|
357
373
|
space_no_live_version: { retryable: false, recovery: "fix_input" },
|
|
358
374
|
space_not_disabled: { retryable: false, recovery: "fix_input" },
|
|
359
375
|
space_not_restorable: { retryable: false, recovery: "fix_input" },
|
|
376
|
+
space_person_already_member: { retryable: false, recovery: "fix_input" },
|
|
377
|
+
space_person_invitation_pending: { retryable: false, recovery: "fix_input" },
|
|
378
|
+
space_person_self_invite: { retryable: false, recovery: "fix_input" },
|
|
360
379
|
space_ref_ambiguous: { retryable: false, recovery: "fix_input" },
|
|
361
380
|
space_ref_required: { retryable: false, recovery: "fix_input" },
|
|
362
381
|
space_transferring: { retryable: false, recovery: "fix_input" },
|
|
363
382
|
space_unclaimed: { retryable: false, recovery: "fix_input" },
|
|
364
383
|
ssl_renewal_blocked: { retryable: false, recovery: "fix_input" },
|
|
365
384
|
static_control_file_not_supported: { retryable: false, recovery: "fix_input" },
|
|
366
|
-
static_mount_path_conflict: { retryable: false, recovery: "fix_input" },
|
|
367
|
-
static_mount_source_not_ready: { retryable: true, recovery: "wait" },
|
|
368
|
-
static_mount_target_forbidden: { retryable: false, recovery: "re_auth" },
|
|
369
|
-
static_mount_target_in_use: { retryable: false, recovery: "fix_input" },
|
|
370
|
-
static_mount_target_not_live: { retryable: false, recovery: "fix_input" },
|
|
371
|
-
static_mount_target_not_ready: { retryable: true, recovery: "wait" },
|
|
372
|
-
static_mount_target_not_static: { retryable: false, recovery: "fix_input" },
|
|
373
385
|
static_runtime_control_path_not_supported: { retryable: false, recovery: "fix_input" },
|
|
374
386
|
static_runtime_required: { retryable: false, recovery: "fix_input" },
|
|
387
|
+
storage_auth_required: { retryable: false, recovery: "re_auth" },
|
|
375
388
|
storage_bucket_unavailable: { retryable: true, recovery: "retry" },
|
|
389
|
+
storage_content_blocked: { retryable: false, recovery: "fix_input" },
|
|
390
|
+
storage_delete_forbidden: { retryable: false, recovery: "re_auth" },
|
|
391
|
+
storage_empty_file: { retryable: false, recovery: "fix_input" },
|
|
392
|
+
storage_file_too_large: { retryable: false, recovery: "fix_input" },
|
|
393
|
+
storage_key_invalid: { retryable: false, recovery: "fix_input" },
|
|
394
|
+
storage_object_not_found: { retryable: false, recovery: "fix_input" },
|
|
395
|
+
storage_quota_already_unlimited: { retryable: false, recovery: "fix_input" },
|
|
396
|
+
storage_quota_decrease_not_supported: { retryable: false, recovery: "fix_input" },
|
|
376
397
|
storage_quota_exceeded: { retryable: false, recovery: "fix_input" },
|
|
398
|
+
storage_unavailable: { retryable: true, recovery: "retry" },
|
|
377
399
|
storage_usage_unavailable: { retryable: true, recovery: "retry" },
|
|
378
400
|
stripe_error: { retryable: true, recovery: "retry" },
|
|
379
401
|
superseded_by_publish: { retryable: false, recovery: "fix_input" },
|
|
@@ -404,7 +426,6 @@ export const ERROR_CODE_META = {
|
|
|
404
426
|
upload_hash_mismatch: { retryable: false, recovery: "fix_input" },
|
|
405
427
|
upload_path_not_canonical: { retryable: false, recovery: "fix_input" },
|
|
406
428
|
upload_path_not_declared: { retryable: false, recovery: "fix_input" },
|
|
407
|
-
upload_session_cap_exceeded: { retryable: false, recovery: "fix_input" },
|
|
408
429
|
upload_size_mismatch: { retryable: false, recovery: "fix_input" },
|
|
409
430
|
user_banned: { retryable: false, recovery: "contact_support" },
|
|
410
431
|
validation_error: { retryable: false, recovery: "fix_input" },
|
|
@@ -463,6 +484,12 @@ export const ERROR_CODE_META = {
|
|
|
463
484
|
zero_client_bundle_not_loaded: { retryable: false, recovery: "fix_input" },
|
|
464
485
|
zero_db_connect_failed: { retryable: true, recovery: "retry" },
|
|
465
486
|
zero_db_execute_failed: { retryable: false, recovery: "fix_input" },
|
|
487
|
+
zero_db_export_cursor_invalid: { retryable: false, recovery: "fix_input" },
|
|
488
|
+
zero_db_export_failed: { retryable: true, recovery: "retry" },
|
|
489
|
+
zero_db_export_page_too_large: { retryable: false, recovery: "fix_input" },
|
|
490
|
+
zero_db_export_query_invalid: { retryable: false, recovery: "fix_input" },
|
|
491
|
+
zero_db_export_schema_changed: { retryable: false, recovery: "retry" },
|
|
492
|
+
zero_db_export_schema_unavailable: { retryable: false, recovery: "contact_support" },
|
|
466
493
|
zero_db_host_install_failed: { retryable: false, recovery: "fix_input" },
|
|
467
494
|
zero_db_operation_invalid: { retryable: false, recovery: "fix_input" },
|
|
468
495
|
zero_db_operation_too_large: { retryable: false, recovery: "fix_input" },
|
|
@@ -470,6 +497,8 @@ export const ERROR_CODE_META = {
|
|
|
470
497
|
zero_db_query_failed: { retryable: false, recovery: "fix_input" },
|
|
471
498
|
zero_db_row_invalid: { retryable: false, recovery: "fix_input" },
|
|
472
499
|
zero_db_sql_invalid: { retryable: false, recovery: "fix_input" },
|
|
500
|
+
zero_db_target_denied: { retryable: false, recovery: "fix_input" },
|
|
501
|
+
zero_db_tls_required: { retryable: false, recovery: "fix_input" },
|
|
473
502
|
zero_db_too_many_params: { retryable: false, recovery: "fix_input" },
|
|
474
503
|
zero_db_transaction_active: { retryable: false, recovery: "contact_support" },
|
|
475
504
|
zero_db_transaction_commit_failed: { retryable: true, recovery: "retry" },
|
|
@@ -539,11 +568,6 @@ export const ERROR_CODE_META = {
|
|
|
539
568
|
zero_runs_require_runtime_compiler: { retryable: false, recovery: "fix_input" },
|
|
540
569
|
zero_runs_too_many: { retryable: false, recovery: "fix_input" },
|
|
541
570
|
zero_shopify_unavailable: { retryable: false, recovery: "fix_input" },
|
|
542
|
-
zero_source_compile_failed: { retryable: false, recovery: "fix_input" },
|
|
543
|
-
zero_source_hash_mismatch: { retryable: false, recovery: "fix_input" },
|
|
544
|
-
zero_source_invalid: { retryable: false, recovery: "fix_input" },
|
|
545
|
-
zero_source_path_invalid: { retryable: false, recovery: "fix_input" },
|
|
546
|
-
zero_source_unreadable: { retryable: false, recovery: "fix_input" },
|
|
547
571
|
};
|
|
548
572
|
/**
|
|
549
573
|
* Resolve the metadata for an error code, degrading to a safe `contact_support` default for
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const ERROR_DOCS_BASE_URL: string;
|
|
2
|
+
/** Media type of every 4xx/5xx response body (RFC 9457 problem details). */
|
|
3
|
+
export declare const PROBLEM_CONTENT_TYPE = "application/problem+json";
|
|
4
|
+
/** Problem `type` URI derivation rule: docs origin + `/{code}`. Asserted by the conformance suite. */
|
|
4
5
|
export declare function errorDocsUrl(code: string): string;
|
|
5
|
-
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_invalid", "config_meta_too_long", "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", "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", "free_headers_basic_auth_disabled", "google_play_webhook_identity_not_configured", "idempotency_conflict_in_progress", "idempotency_key_reused", "immutable_version_requires_login", "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", "mcp_acted_for_team_deleted", "member_already_exists", "missing_route_param", "move_target_capacity_lost", "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", "routing_rules_over_plan", "runtime_action_forbidden", "runtime_api_not_found", "runtime_callback_forbidden", "runtime_engine_zip_missing", "runtime_hostname_unassigned", "runtime_instance_mismatch", "runtime_jti_missing", "runtime_jti_replayed", "runtime_jwks_key_missing", "runtime_logs_unavailable", "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_signature_invalid", "site_already_deleted", "site_capacity_exceeded", "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_import_archive_invalid", "space_import_archive_too_large", "space_import_config_only_archive", "space_import_runtime_schema_unsupported", "space_moving", "space_no_live_version", "space_not_disabled", "space_not_restorable", "space_ref_ambiguous", "space_ref_required", "space_transferring", "space_unclaimed", "ssl_renewal_blocked", "static_control_file_not_supported", "static_mount_path_conflict", "static_mount_source_not_ready", "static_mount_target_forbidden", "static_mount_target_in_use", "static_mount_target_not_live", "static_mount_target_not_ready", "static_mount_target_not_static", "static_runtime_control_path_not_supported", "static_runtime_required", "storage_bucket_unavailable", "storage_quota_exceeded", "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_session_cap_exceeded", "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_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_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", "zero_source_compile_failed", "zero_source_hash_mismatch", "zero_source_invalid", "zero_source_path_invalid", "zero_source_unreadable"];
|
|
6
|
+
/** Problem `title` derivation rule: the snake_case code as a sentence ("version_not_found" → "Version not found"). */
|
|
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"];
|
|
6
9
|
export type ErrorCode = (typeof ERROR_CODES)[number];
|
|
7
10
|
export declare function isErrorCode(value: string): value is ErrorCode;
|
|
8
11
|
/**
|