@spacefast/common 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/connect-targets.d.ts +4 -4
- package/dist/agents/connect-targets.js +3 -3
- package/dist/agents/private-key-oauth.d.ts +37 -0
- package/dist/agents/private-key-oauth.js +158 -0
- package/dist/config/domains.js +1 -1
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/postgres-budget.d.ts +126 -0
- package/dist/config/postgres-budget.js +135 -0
- package/dist/config/postgres-budget.json +50 -0
- package/dist/contracts/access.d.ts +386 -1183
- package/dist/contracts/access.js +240 -1018
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +11 -19
- package/dist/contracts/api-keys.d.ts +69 -45
- package/dist/contracts/api-keys.js +3 -0
- package/dist/contracts/archives.d.ts +9 -10
- package/dist/contracts/archives.js +4 -6
- package/dist/contracts/builds.d.ts +8 -8
- package/dist/contracts/builds.js +28 -48
- package/dist/contracts/channels.js +1 -2
- package/dist/contracts/comments.d.ts +102 -93
- package/dist/contracts/comments.js +121 -63
- package/dist/contracts/common.d.ts +4 -3
- package/dist/contracts/common.js +2 -0
- 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/deployments.d.ts +3 -3
- package/dist/contracts/device-auth.d.ts +21 -15
- package/dist/contracts/docs.d.ts +5 -5
- package/dist/contracts/domains.d.ts +261 -1330
- package/dist/contracts/domains.js +39 -301
- package/dist/contracts/email-preferences.d.ts +50 -0
- package/dist/contracts/email-preferences.js +44 -0
- package/dist/contracts/enums.d.ts +3 -5
- package/dist/contracts/enums.js +3 -8
- package/dist/contracts/error-code-meta.d.ts +99 -33
- package/dist/contracts/error-code-meta.js +36 -9
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +28 -11
- package/dist/contracts/execution.d.ts +212 -0
- package/dist/contracts/execution.js +288 -0
- package/dist/contracts/feature-lifecycle.d.ts +498 -2
- package/dist/contracts/feature-lifecycle.js +539 -2
- package/dist/contracts/features.d.ts +184 -74
- package/dist/contracts/features.js +4 -303
- package/dist/contracts/functions.d.ts +729 -0
- package/dist/contracts/functions.js +485 -0
- package/dist/contracts/git.d.ts +1 -1
- package/dist/contracts/grants.d.ts +1158 -0
- package/dist/contracts/grants.js +696 -0
- package/dist/contracts/ids.d.ts +6 -5
- package/dist/contracts/ids.js +6 -5
- package/dist/contracts/internal.d.ts +3 -3
- package/dist/contracts/mcp.d.ts +12 -12
- package/dist/contracts/me.js +1 -1
- package/dist/contracts/mounts.d.ts +142 -0
- package/dist/contracts/mounts.js +56 -0
- package/dist/contracts/oauth-resources.d.ts +5 -5
- package/dist/contracts/oauth-resources.js +2 -0
- package/dist/contracts/operations.d.ts +4 -4
- package/dist/contracts/pages.d.ts +6 -14
- package/dist/contracts/pages.js +11 -23
- package/dist/contracts/plan-policy.d.ts +2 -9
- package/dist/contracts/plan-policy.js +1 -4
- package/dist/contracts/platform.d.ts +80 -32
- package/dist/contracts/platform.js +59 -12
- package/dist/contracts/push-new.d.ts +26 -2
- package/dist/contracts/push-new.js +8 -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 +21 -85
- package/dist/contracts/resources.js +17 -47
- package/dist/contracts/runtime-api.d.ts +799 -192
- package/dist/contracts/runtime-api.js +231 -100
- package/dist/contracts/runtime-app.d.ts +138 -0
- package/dist/contracts/runtime-app.js +21 -0
- package/dist/contracts/sf-config-v1.d.ts +5 -0
- package/dist/contracts/sf-config-v1.js +1 -1
- package/dist/contracts/sites.d.ts +17 -12
- package/dist/contracts/sites.js +30 -12
- package/dist/contracts/space-config.d.ts +46 -117
- package/dist/contracts/space-config.js +323 -25
- package/dist/contracts/spaces.d.ts +392 -256
- package/dist/contracts/spaces.js +163 -83
- package/dist/contracts/superadmin-emails.d.ts +27 -3
- package/dist/contracts/superadmin-emails.js +10 -15
- package/dist/contracts/superadmin-runtime.d.ts +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +19 -142
- package/dist/contracts/superadmin-spaces.js +7 -0
- package/dist/contracts/tags.d.ts +66 -36
- package/dist/contracts/tags.js +195 -11
- package/dist/contracts/teams.d.ts +9 -9
- package/dist/contracts/transfers.d.ts +1 -2
- package/dist/contracts/variables.d.ts +4 -4
- package/dist/contracts/variables.js +4 -3
- package/dist/contracts/webhooks.d.ts +2 -2
- package/dist/contracts/zero.d.ts +437 -193
- package/dist/contracts/zero.js +149 -158
- package/dist/dashboard-paths/index.d.ts +3 -3
- package/dist/dashboard-paths/index.js +1 -0
- package/dist/docs/agent-prose.js +10 -8
- package/dist/docs/agent-setup.d.ts +6 -4
- package/dist/docs/agent-setup.js +26 -16
- package/dist/docs/agent-solutions.js +1 -1
- package/dist/docs/catalog.d.ts +35 -37
- package/dist/docs/catalog.js +36 -38
- package/dist/docs/error-docs.js +108 -44
- package/dist/utils/asset-fingerprint.d.ts +11 -0
- package/dist/utils/asset-fingerprint.js +46 -0
- package/dist/utils/auth-redirect.d.ts +1 -3
- package/dist/utils/auth-redirect.js +1 -21
- package/dist/utils/build-settings.d.ts +2 -0
- package/dist/utils/build-settings.js +61 -9
- package/dist/utils/credential-policy.d.ts +1 -1
- package/dist/utils/credential-policy.js +4 -0
- package/dist/utils/dns-instructions.d.ts +29 -0
- package/dist/utils/dns-instructions.js +78 -0
- package/dist/utils/domain-diagnostics.d.ts +29 -0
- package/dist/utils/domain-diagnostics.js +63 -0
- package/dist/utils/egress-policy.fixtures.json +51 -0
- package/dist/utils/grants.d.ts +53 -0
- package/dist/utils/grants.js +160 -0
- package/dist/utils/id-hints.d.ts +1 -0
- package/dist/utils/id-hints.js +55 -13
- package/dist/utils/local-space-state.js +1 -0
- package/dist/utils/page-colors.d.ts +50 -0
- package/dist/utils/page-colors.js +167 -0
- package/dist/utils/page-fonts.d.ts +2 -0
- package/dist/utils/page-fonts.js +4 -0
- package/dist/utils/pages.d.ts +19 -6
- package/dist/utils/pages.js +122 -49
- package/dist/utils/production-runtime.d.ts +18 -0
- package/dist/utils/production-runtime.js +28 -0
- package/dist/utils/publish-policy.d.ts +34 -4
- package/dist/utils/publish-policy.js +132 -61
- package/dist/utils/query-keys.d.ts +7 -13
- package/dist/utils/query-keys.js +12 -18
- package/dist/utils/source-archive-policy.d.ts +2 -0
- package/dist/utils/source-archive-policy.js +2 -0
- package/dist/utils/space-config.d.ts +5 -1
- package/dist/utils/space-config.js +35 -0
- package/dist/utils/static-runtime-policy.d.ts +5 -0
- package/dist/utils/static-runtime-policy.fixtures.json +57 -0
- package/dist/utils/static-runtime-policy.js +54 -10
- package/dist/utils/upload-session.d.ts +3 -0
- package/dist/utils/upload-session.js +31 -0
- package/package.json +6 -4
- package/dist/contracts/annotations.d.ts +0 -327
- package/dist/contracts/annotations.js +0 -235
- package/dist/contracts/generated-feature-launch-entries.d.ts +0 -2
- package/dist/contracts/generated-feature-launch-entries.js +0 -518
- package/dist/contracts/publishes.d.ts +0 -135
- package/dist/contracts/publishes.js +0 -162
- package/dist/utils/access-match.d.ts +0 -39
- package/dist/utils/access-match.js +0 -296
- package/dist/utils/sf-config-v1.d.ts +0 -2
- package/dist/utils/sf-config-v1.js +0 -542
|
@@ -27,6 +27,10 @@ export declare const ERROR_CODE_META: {
|
|
|
27
27
|
readonly retryable: false;
|
|
28
28
|
readonly recovery: "re_auth";
|
|
29
29
|
};
|
|
30
|
+
readonly access_scope_suggestion: {
|
|
31
|
+
readonly retryable: false;
|
|
32
|
+
readonly recovery: "fix_input";
|
|
33
|
+
};
|
|
30
34
|
readonly account_suspended: {
|
|
31
35
|
readonly retryable: false;
|
|
32
36
|
readonly recovery: "contact_support";
|
|
@@ -39,6 +43,10 @@ export declare const ERROR_CODE_META: {
|
|
|
39
43
|
readonly retryable: false;
|
|
40
44
|
readonly recovery: "fix_input";
|
|
41
45
|
};
|
|
46
|
+
readonly agent_handoff_origin_unsupported: {
|
|
47
|
+
readonly retryable: false;
|
|
48
|
+
readonly recovery: "contact_support";
|
|
49
|
+
};
|
|
42
50
|
readonly ambiguous_space_slug: {
|
|
43
51
|
readonly retryable: false;
|
|
44
52
|
readonly recovery: "fix_input";
|
|
@@ -228,9 +236,9 @@ export declare const ERROR_CODE_META: {
|
|
|
228
236
|
readonly retryable: false;
|
|
229
237
|
readonly recovery: "contact_support";
|
|
230
238
|
};
|
|
231
|
-
readonly
|
|
232
|
-
readonly retryable:
|
|
233
|
-
readonly recovery: "
|
|
239
|
+
readonly custom_certificates_require_dedicated_site: {
|
|
240
|
+
readonly retryable: false;
|
|
241
|
+
readonly recovery: "fix_input";
|
|
234
242
|
};
|
|
235
243
|
readonly data_location_immutable: {
|
|
236
244
|
readonly retryable: false;
|
|
@@ -492,9 +500,9 @@ export declare const ERROR_CODE_META: {
|
|
|
492
500
|
readonly retryable: false;
|
|
493
501
|
readonly recovery: "fix_input";
|
|
494
502
|
};
|
|
495
|
-
readonly
|
|
503
|
+
readonly google_play_webhook_identity_not_configured: {
|
|
496
504
|
readonly retryable: false;
|
|
497
|
-
readonly recovery: "
|
|
505
|
+
readonly recovery: "contact_support";
|
|
498
506
|
};
|
|
499
507
|
readonly idempotency_conflict_in_progress: {
|
|
500
508
|
readonly retryable: true;
|
|
@@ -504,10 +512,6 @@ export declare const ERROR_CODE_META: {
|
|
|
504
512
|
readonly retryable: false;
|
|
505
513
|
readonly recovery: "fix_input";
|
|
506
514
|
};
|
|
507
|
-
readonly immutable_version_requires_login: {
|
|
508
|
-
readonly retryable: false;
|
|
509
|
-
readonly recovery: "re_auth";
|
|
510
|
-
};
|
|
511
515
|
readonly import_archive_not_uploaded: {
|
|
512
516
|
readonly retryable: false;
|
|
513
517
|
readonly recovery: "fix_input";
|
|
@@ -564,6 +568,10 @@ export declare const ERROR_CODE_META: {
|
|
|
564
568
|
readonly retryable: false;
|
|
565
569
|
readonly recovery: "fix_input";
|
|
566
570
|
};
|
|
571
|
+
readonly invalid_google_play_webhook_identity: {
|
|
572
|
+
readonly retryable: false;
|
|
573
|
+
readonly recovery: "re_auth";
|
|
574
|
+
};
|
|
567
575
|
readonly invalid_grant: {
|
|
568
576
|
readonly retryable: false;
|
|
569
577
|
readonly recovery: "re_auth";
|
|
@@ -704,6 +712,11 @@ export declare const ERROR_CODE_META: {
|
|
|
704
712
|
readonly retryable: false;
|
|
705
713
|
readonly recovery: "fix_input";
|
|
706
714
|
};
|
|
715
|
+
readonly maintenance_in_progress: {
|
|
716
|
+
readonly retryable: true;
|
|
717
|
+
readonly recovery: "wait";
|
|
718
|
+
readonly next: readonly ["Retry after the Retry-After seconds"];
|
|
719
|
+
};
|
|
707
720
|
readonly mcp_acted_for_team_deleted: {
|
|
708
721
|
readonly retryable: false;
|
|
709
722
|
readonly recovery: "fix_input";
|
|
@@ -856,6 +869,10 @@ export declare const ERROR_CODE_META: {
|
|
|
856
869
|
readonly retryable: false;
|
|
857
870
|
readonly recovery: "fix_input";
|
|
858
871
|
};
|
|
872
|
+
readonly publish_reference_missing: {
|
|
873
|
+
readonly retryable: false;
|
|
874
|
+
readonly recovery: "fix_input";
|
|
875
|
+
};
|
|
859
876
|
readonly publish_setup_failed: {
|
|
860
877
|
readonly retryable: true;
|
|
861
878
|
readonly recovery: "retry";
|
|
@@ -929,10 +946,6 @@ export declare const ERROR_CODE_META: {
|
|
|
929
946
|
readonly retryable: false;
|
|
930
947
|
readonly recovery: "re_auth";
|
|
931
948
|
};
|
|
932
|
-
readonly runtime_logs_unavailable: {
|
|
933
|
-
readonly retryable: false;
|
|
934
|
-
readonly recovery: "fix_input";
|
|
935
|
-
};
|
|
936
949
|
readonly runtime_management_unavailable: {
|
|
937
950
|
readonly retryable: true;
|
|
938
951
|
readonly recovery: "retry";
|
|
@@ -981,14 +994,14 @@ export declare const ERROR_CODE_META: {
|
|
|
981
994
|
readonly retryable: false;
|
|
982
995
|
readonly recovery: "fix_input";
|
|
983
996
|
};
|
|
997
|
+
readonly service_signature_invalid: {
|
|
998
|
+
readonly retryable: false;
|
|
999
|
+
readonly recovery: "re_auth";
|
|
1000
|
+
};
|
|
984
1001
|
readonly site_already_deleted: {
|
|
985
1002
|
readonly retryable: false;
|
|
986
1003
|
readonly recovery: "fix_input";
|
|
987
1004
|
};
|
|
988
|
-
readonly site_capacity_exceeded: {
|
|
989
|
-
readonly retryable: true;
|
|
990
|
-
readonly recovery: "wait";
|
|
991
|
-
};
|
|
992
1005
|
readonly site_has_live_spaces: {
|
|
993
1006
|
readonly retryable: false;
|
|
994
1007
|
readonly recovery: "fix_input";
|
|
@@ -1022,11 +1035,28 @@ export declare const ERROR_CODE_META: {
|
|
|
1022
1035
|
readonly retryable: false;
|
|
1023
1036
|
readonly recovery: "fix_input";
|
|
1024
1037
|
};
|
|
1038
|
+
readonly source_archive_decompression_timeout: {
|
|
1039
|
+
readonly retryable: true;
|
|
1040
|
+
readonly recovery: "retry";
|
|
1041
|
+
};
|
|
1042
|
+
readonly source_archive_expansion_ratio_exceeded: {
|
|
1043
|
+
readonly retryable: false;
|
|
1044
|
+
readonly recovery: "fix_input";
|
|
1045
|
+
};
|
|
1046
|
+
readonly source_archive_validation_busy: {
|
|
1047
|
+
readonly retryable: true;
|
|
1048
|
+
readonly recovery: "wait";
|
|
1049
|
+
};
|
|
1025
1050
|
readonly space_already_claimed: {
|
|
1026
1051
|
readonly retryable: false;
|
|
1027
1052
|
readonly recovery: "fix_input";
|
|
1028
1053
|
readonly next: readonly ["sf login", "sf publish --space <space-id>", "Ask the owner to create an access token"];
|
|
1029
1054
|
};
|
|
1055
|
+
readonly space_capacity_warming: {
|
|
1056
|
+
readonly retryable: true;
|
|
1057
|
+
readonly recovery: "wait";
|
|
1058
|
+
readonly next: readonly ["Retry the same publish after the Retry-After seconds"];
|
|
1059
|
+
};
|
|
1030
1060
|
readonly space_claim_unavailable: {
|
|
1031
1061
|
readonly retryable: false;
|
|
1032
1062
|
readonly recovery: "fix_input";
|
|
@@ -1072,6 +1102,10 @@ export declare const ERROR_CODE_META: {
|
|
|
1072
1102
|
readonly retryable: false;
|
|
1073
1103
|
readonly recovery: "fix_input";
|
|
1074
1104
|
};
|
|
1105
|
+
readonly space_move_would_strand_zero_data: {
|
|
1106
|
+
readonly retryable: false;
|
|
1107
|
+
readonly recovery: "contact_support";
|
|
1108
|
+
};
|
|
1075
1109
|
readonly space_moving: {
|
|
1076
1110
|
readonly retryable: true;
|
|
1077
1111
|
readonly recovery: "wait";
|
|
@@ -1112,6 +1146,34 @@ export declare const ERROR_CODE_META: {
|
|
|
1112
1146
|
readonly retryable: false;
|
|
1113
1147
|
readonly recovery: "fix_input";
|
|
1114
1148
|
};
|
|
1149
|
+
readonly static_mount_path_conflict: {
|
|
1150
|
+
readonly retryable: false;
|
|
1151
|
+
readonly recovery: "fix_input";
|
|
1152
|
+
};
|
|
1153
|
+
readonly static_mount_source_not_ready: {
|
|
1154
|
+
readonly retryable: true;
|
|
1155
|
+
readonly recovery: "wait";
|
|
1156
|
+
};
|
|
1157
|
+
readonly static_mount_target_forbidden: {
|
|
1158
|
+
readonly retryable: false;
|
|
1159
|
+
readonly recovery: "re_auth";
|
|
1160
|
+
};
|
|
1161
|
+
readonly static_mount_target_in_use: {
|
|
1162
|
+
readonly retryable: false;
|
|
1163
|
+
readonly recovery: "fix_input";
|
|
1164
|
+
};
|
|
1165
|
+
readonly static_mount_target_not_live: {
|
|
1166
|
+
readonly retryable: false;
|
|
1167
|
+
readonly recovery: "fix_input";
|
|
1168
|
+
};
|
|
1169
|
+
readonly static_mount_target_not_ready: {
|
|
1170
|
+
readonly retryable: true;
|
|
1171
|
+
readonly recovery: "wait";
|
|
1172
|
+
};
|
|
1173
|
+
readonly static_mount_target_not_static: {
|
|
1174
|
+
readonly retryable: false;
|
|
1175
|
+
readonly recovery: "fix_input";
|
|
1176
|
+
};
|
|
1115
1177
|
readonly static_runtime_control_path_not_supported: {
|
|
1116
1178
|
readonly retryable: false;
|
|
1117
1179
|
readonly recovery: "fix_input";
|
|
@@ -1248,10 +1310,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1248
1310
|
readonly retryable: false;
|
|
1249
1311
|
readonly recovery: "fix_input";
|
|
1250
1312
|
};
|
|
1251
|
-
readonly upload_session_cap_exceeded: {
|
|
1252
|
-
readonly retryable: false;
|
|
1253
|
-
readonly recovery: "fix_input";
|
|
1254
|
-
};
|
|
1255
1313
|
readonly upload_size_mismatch: {
|
|
1256
1314
|
readonly retryable: false;
|
|
1257
1315
|
readonly recovery: "fix_input";
|
|
@@ -1420,10 +1478,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1420
1478
|
readonly retryable: false;
|
|
1421
1479
|
readonly recovery: "fix_input";
|
|
1422
1480
|
};
|
|
1423
|
-
readonly zero_artifact_missing: {
|
|
1424
|
-
readonly retryable: false;
|
|
1425
|
-
readonly recovery: "fix_input";
|
|
1426
|
-
};
|
|
1427
1481
|
readonly zero_artifact_path_invalid: {
|
|
1428
1482
|
readonly retryable: false;
|
|
1429
1483
|
readonly recovery: "fix_input";
|
|
@@ -1432,10 +1486,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1432
1486
|
readonly retryable: false;
|
|
1433
1487
|
readonly recovery: "fix_input";
|
|
1434
1488
|
};
|
|
1435
|
-
readonly zero_artifact_untrusted: {
|
|
1436
|
-
readonly retryable: false;
|
|
1437
|
-
readonly recovery: "fix_input";
|
|
1438
|
-
};
|
|
1439
1489
|
readonly zero_auth_unavailable: {
|
|
1440
1490
|
readonly retryable: false;
|
|
1441
1491
|
readonly recovery: "fix_input";
|
|
@@ -1524,6 +1574,10 @@ export declare const ERROR_CODE_META: {
|
|
|
1524
1574
|
readonly retryable: false;
|
|
1525
1575
|
readonly recovery: "fix_input";
|
|
1526
1576
|
};
|
|
1577
|
+
readonly zero_db_transaction_active: {
|
|
1578
|
+
readonly retryable: false;
|
|
1579
|
+
readonly recovery: "contact_support";
|
|
1580
|
+
};
|
|
1527
1581
|
readonly zero_db_transaction_commit_failed: {
|
|
1528
1582
|
readonly retryable: true;
|
|
1529
1583
|
readonly recovery: "retry";
|
|
@@ -1532,6 +1586,14 @@ export declare const ERROR_CODE_META: {
|
|
|
1532
1586
|
readonly retryable: false;
|
|
1533
1587
|
readonly recovery: "fix_input";
|
|
1534
1588
|
};
|
|
1589
|
+
readonly zero_db_transaction_missing: {
|
|
1590
|
+
readonly retryable: false;
|
|
1591
|
+
readonly recovery: "contact_support";
|
|
1592
|
+
};
|
|
1593
|
+
readonly zero_db_transaction_rollback_failed: {
|
|
1594
|
+
readonly retryable: false;
|
|
1595
|
+
readonly recovery: "contact_support";
|
|
1596
|
+
};
|
|
1535
1597
|
readonly zero_db_transaction_start_failed: {
|
|
1536
1598
|
readonly retryable: true;
|
|
1537
1599
|
readonly recovery: "retry";
|
|
@@ -1636,10 +1698,6 @@ export declare const ERROR_CODE_META: {
|
|
|
1636
1698
|
readonly retryable: false;
|
|
1637
1699
|
readonly recovery: "fix_input";
|
|
1638
1700
|
};
|
|
1639
|
-
readonly zero_lookup_invalid: {
|
|
1640
|
-
readonly retryable: false;
|
|
1641
|
-
readonly recovery: "fix_input";
|
|
1642
|
-
};
|
|
1643
1701
|
readonly zero_method_not_allowed: {
|
|
1644
1702
|
readonly retryable: false;
|
|
1645
1703
|
readonly recovery: "fix_input";
|
|
@@ -1696,6 +1754,14 @@ export declare const ERROR_CODE_META: {
|
|
|
1696
1754
|
readonly retryable: false;
|
|
1697
1755
|
readonly recovery: "fix_input";
|
|
1698
1756
|
};
|
|
1757
|
+
readonly zero_response_header_forbidden: {
|
|
1758
|
+
readonly retryable: false;
|
|
1759
|
+
readonly recovery: "fix_input";
|
|
1760
|
+
};
|
|
1761
|
+
readonly zero_response_header_invalid: {
|
|
1762
|
+
readonly retryable: false;
|
|
1763
|
+
readonly recovery: "fix_input";
|
|
1764
|
+
};
|
|
1699
1765
|
readonly zero_response_too_large: {
|
|
1700
1766
|
readonly retryable: false;
|
|
1701
1767
|
readonly recovery: "fix_input";
|
|
@@ -12,9 +12,11 @@ export const ERROR_CODE_META = {
|
|
|
12
12
|
},
|
|
13
13
|
abuse_takedown: { retryable: false, recovery: "contact_support" },
|
|
14
14
|
access_denied: { retryable: false, recovery: "re_auth" },
|
|
15
|
+
access_scope_suggestion: { retryable: false, recovery: "fix_input" },
|
|
15
16
|
account_suspended: { retryable: false, recovery: "contact_support" },
|
|
16
17
|
agent_handoff_declined: { retryable: false, recovery: "re_auth" },
|
|
17
18
|
agent_handoff_limit_reached: { retryable: false, recovery: "fix_input" },
|
|
19
|
+
agent_handoff_origin_unsupported: { retryable: false, recovery: "contact_support" },
|
|
18
20
|
ambiguous_space_slug: { retryable: false, recovery: "fix_input" },
|
|
19
21
|
anonymous_expired: {
|
|
20
22
|
retryable: false,
|
|
@@ -93,7 +95,7 @@ export const ERROR_CODE_META = {
|
|
|
93
95
|
credential_revoked: { retryable: false, recovery: "re_auth" },
|
|
94
96
|
csam_blocked: { retryable: false, recovery: "contact_support" },
|
|
95
97
|
csam_policy_floor: { retryable: false, recovery: "contact_support" },
|
|
96
|
-
|
|
98
|
+
custom_certificates_require_dedicated_site: { retryable: false, recovery: "fix_input" },
|
|
97
99
|
data_location_immutable: { retryable: false, recovery: "fix_input" },
|
|
98
100
|
device_authorization_failed: { retryable: false, recovery: "re_auth" },
|
|
99
101
|
device_verification_rate_limited: {
|
|
@@ -174,10 +176,12 @@ export const ERROR_CODE_META = {
|
|
|
174
176
|
files_mode_does_not_support_spa: { retryable: false, recovery: "fix_input" },
|
|
175
177
|
forbidden: { retryable: false, recovery: "re_auth" },
|
|
176
178
|
free_external_proxy_disabled: { retryable: false, recovery: "fix_input" },
|
|
177
|
-
|
|
179
|
+
google_play_webhook_identity_not_configured: {
|
|
180
|
+
retryable: false,
|
|
181
|
+
recovery: "contact_support",
|
|
182
|
+
},
|
|
178
183
|
idempotency_conflict_in_progress: { retryable: true, recovery: "wait" },
|
|
179
184
|
idempotency_key_reused: { retryable: false, recovery: "fix_input" },
|
|
180
|
-
immutable_version_requires_login: { retryable: false, recovery: "re_auth" },
|
|
181
185
|
import_archive_not_uploaded: { retryable: false, recovery: "fix_input" },
|
|
182
186
|
import_not_cancelable: { retryable: false, recovery: "fix_input" },
|
|
183
187
|
import_not_waiting_for_archive: { retryable: false, recovery: "fix_input" },
|
|
@@ -192,6 +196,7 @@ export const ERROR_CODE_META = {
|
|
|
192
196
|
invalid_domain: { retryable: false, recovery: "fix_input" },
|
|
193
197
|
invalid_domain_name: { retryable: false, recovery: "fix_input" },
|
|
194
198
|
invalid_file_path: { retryable: false, recovery: "fix_input" },
|
|
199
|
+
invalid_google_play_webhook_identity: { retryable: false, recovery: "re_auth" },
|
|
195
200
|
invalid_grant: { retryable: false, recovery: "re_auth" },
|
|
196
201
|
invalid_idempotency_key: { retryable: false, recovery: "fix_input" },
|
|
197
202
|
invalid_publish_archive: { retryable: false, recovery: "fix_input" },
|
|
@@ -227,6 +232,11 @@ export const ERROR_CODE_META = {
|
|
|
227
232
|
manifest_body_too_large: { retryable: false, recovery: "fix_input" },
|
|
228
233
|
manifest_duplicate_path: { retryable: false, recovery: "fix_input" },
|
|
229
234
|
manifest_too_many_files: { retryable: false, recovery: "fix_input" },
|
|
235
|
+
maintenance_in_progress: {
|
|
236
|
+
retryable: true,
|
|
237
|
+
recovery: "wait",
|
|
238
|
+
next: ["Retry after the Retry-After seconds"],
|
|
239
|
+
},
|
|
230
240
|
mcp_acted_for_team_deleted: { retryable: false, recovery: "fix_input" },
|
|
231
241
|
member_already_exists: { retryable: false, recovery: "fix_input" },
|
|
232
242
|
missing_route_param: { retryable: false, recovery: "fix_input" },
|
|
@@ -265,6 +275,7 @@ export const ERROR_CODE_META = {
|
|
|
265
275
|
publish_not_cancelable: { retryable: false, recovery: "fix_input" },
|
|
266
276
|
publish_path_collision: { retryable: false, recovery: "fix_input" },
|
|
267
277
|
publish_path_invalid: { retryable: false, recovery: "fix_input" },
|
|
278
|
+
publish_reference_missing: { retryable: false, recovery: "fix_input" },
|
|
268
279
|
publish_setup_failed: { retryable: true, recovery: "retry" },
|
|
269
280
|
publish_snapshot_empty: { retryable: false, recovery: "fix_input" },
|
|
270
281
|
publish_upload_failed: { retryable: true, recovery: "retry" },
|
|
@@ -287,7 +298,6 @@ export const ERROR_CODE_META = {
|
|
|
287
298
|
runtime_jti_missing: { retryable: false, recovery: "re_auth" },
|
|
288
299
|
runtime_jti_replayed: { retryable: false, recovery: "re_auth" },
|
|
289
300
|
runtime_jwks_key_missing: { retryable: false, recovery: "re_auth" },
|
|
290
|
-
runtime_logs_unavailable: { retryable: false, recovery: "fix_input" },
|
|
291
301
|
runtime_management_unavailable: { retryable: true, recovery: "retry" },
|
|
292
302
|
runtime_not_provisioned: { retryable: true, recovery: "wait" },
|
|
293
303
|
runtime_operation_missing: { retryable: false, recovery: "fix_input" },
|
|
@@ -300,8 +310,8 @@ export const ERROR_CODE_META = {
|
|
|
300
310
|
runtime_upload_required: { retryable: false, recovery: "fix_input" },
|
|
301
311
|
scan_pending: { retryable: true, recovery: "wait" },
|
|
302
312
|
secret_variable_in_template: { retryable: false, recovery: "fix_input" },
|
|
313
|
+
service_signature_invalid: { retryable: false, recovery: "re_auth" },
|
|
303
314
|
site_already_deleted: { retryable: false, recovery: "fix_input" },
|
|
304
|
-
site_capacity_exceeded: { retryable: true, recovery: "wait" },
|
|
305
315
|
site_has_live_spaces: { retryable: false, recovery: "fix_input" },
|
|
306
316
|
site_not_static: { retryable: false, recovery: "fix_input" },
|
|
307
317
|
site_required: { retryable: false, recovery: "fix_input" },
|
|
@@ -314,11 +324,19 @@ export const ERROR_CODE_META = {
|
|
|
314
324
|
slug_invalid: { retryable: false, recovery: "fix_input" },
|
|
315
325
|
slug_reserved: { retryable: false, recovery: "fix_input" },
|
|
316
326
|
slug_unavailable: { retryable: false, recovery: "fix_input" },
|
|
327
|
+
source_archive_decompression_timeout: { retryable: true, recovery: "retry" },
|
|
328
|
+
source_archive_expansion_ratio_exceeded: { retryable: false, recovery: "fix_input" },
|
|
329
|
+
source_archive_validation_busy: { retryable: true, recovery: "wait" },
|
|
317
330
|
space_already_claimed: {
|
|
318
331
|
retryable: false,
|
|
319
332
|
recovery: "fix_input",
|
|
320
333
|
next: ["sf login", "sf publish --space <space-id>", "Ask the owner to create an access token"],
|
|
321
334
|
},
|
|
335
|
+
space_capacity_warming: {
|
|
336
|
+
retryable: true,
|
|
337
|
+
recovery: "wait",
|
|
338
|
+
next: ["Retry the same publish after the Retry-After seconds"],
|
|
339
|
+
},
|
|
322
340
|
space_claim_unavailable: { retryable: false, recovery: "fix_input" },
|
|
323
341
|
space_claimed_credential_available: {
|
|
324
342
|
retryable: false,
|
|
@@ -338,6 +356,7 @@ export const ERROR_CODE_META = {
|
|
|
338
356
|
space_import_archive_too_large: { retryable: false, recovery: "fix_input" },
|
|
339
357
|
space_import_config_only_archive: { retryable: false, recovery: "fix_input" },
|
|
340
358
|
space_import_runtime_schema_unsupported: { retryable: false, recovery: "fix_input" },
|
|
359
|
+
space_move_would_strand_zero_data: { retryable: false, recovery: "contact_support" },
|
|
341
360
|
space_moving: { retryable: true, recovery: "wait" },
|
|
342
361
|
space_no_live_version: { retryable: false, recovery: "fix_input" },
|
|
343
362
|
space_not_disabled: { retryable: false, recovery: "fix_input" },
|
|
@@ -348,6 +367,13 @@ export const ERROR_CODE_META = {
|
|
|
348
367
|
space_unclaimed: { retryable: false, recovery: "fix_input" },
|
|
349
368
|
ssl_renewal_blocked: { retryable: false, recovery: "fix_input" },
|
|
350
369
|
static_control_file_not_supported: { retryable: false, recovery: "fix_input" },
|
|
370
|
+
static_mount_path_conflict: { retryable: false, recovery: "fix_input" },
|
|
371
|
+
static_mount_source_not_ready: { retryable: true, recovery: "wait" },
|
|
372
|
+
static_mount_target_forbidden: { retryable: false, recovery: "re_auth" },
|
|
373
|
+
static_mount_target_in_use: { retryable: false, recovery: "fix_input" },
|
|
374
|
+
static_mount_target_not_live: { retryable: false, recovery: "fix_input" },
|
|
375
|
+
static_mount_target_not_ready: { retryable: true, recovery: "wait" },
|
|
376
|
+
static_mount_target_not_static: { retryable: false, recovery: "fix_input" },
|
|
351
377
|
static_runtime_control_path_not_supported: { retryable: false, recovery: "fix_input" },
|
|
352
378
|
static_runtime_required: { retryable: false, recovery: "fix_input" },
|
|
353
379
|
storage_bucket_unavailable: { retryable: true, recovery: "retry" },
|
|
@@ -382,7 +408,6 @@ export const ERROR_CODE_META = {
|
|
|
382
408
|
upload_hash_mismatch: { retryable: false, recovery: "fix_input" },
|
|
383
409
|
upload_path_not_canonical: { retryable: false, recovery: "fix_input" },
|
|
384
410
|
upload_path_not_declared: { retryable: false, recovery: "fix_input" },
|
|
385
|
-
upload_session_cap_exceeded: { retryable: false, recovery: "fix_input" },
|
|
386
411
|
upload_size_mismatch: { retryable: false, recovery: "fix_input" },
|
|
387
412
|
user_banned: { retryable: false, recovery: "contact_support" },
|
|
388
413
|
validation_error: { retryable: false, recovery: "fix_input" },
|
|
@@ -425,10 +450,8 @@ export const ERROR_CODE_META = {
|
|
|
425
450
|
zero_artifact_abi_mismatch: { retryable: false, recovery: "fix_input" },
|
|
426
451
|
zero_artifact_invalid: { retryable: false, recovery: "fix_input" },
|
|
427
452
|
zero_artifact_malformed: { retryable: false, recovery: "fix_input" },
|
|
428
|
-
zero_artifact_missing: { retryable: false, recovery: "fix_input" },
|
|
429
453
|
zero_artifact_path_invalid: { retryable: false, recovery: "fix_input" },
|
|
430
454
|
zero_artifact_unreadable: { retryable: false, recovery: "fix_input" },
|
|
431
|
-
zero_artifact_untrusted: { retryable: false, recovery: "fix_input" },
|
|
432
455
|
zero_auth_unavailable: { retryable: false, recovery: "fix_input" },
|
|
433
456
|
zero_blob_key_invalid: { retryable: false, recovery: "fix_input" },
|
|
434
457
|
zero_blob_store_full: { retryable: false, recovery: "fix_input" },
|
|
@@ -451,8 +474,11 @@ export const ERROR_CODE_META = {
|
|
|
451
474
|
zero_db_row_invalid: { retryable: false, recovery: "fix_input" },
|
|
452
475
|
zero_db_sql_invalid: { retryable: false, recovery: "fix_input" },
|
|
453
476
|
zero_db_too_many_params: { retryable: false, recovery: "fix_input" },
|
|
477
|
+
zero_db_transaction_active: { retryable: false, recovery: "contact_support" },
|
|
454
478
|
zero_db_transaction_commit_failed: { retryable: true, recovery: "retry" },
|
|
455
479
|
zero_db_transaction_invalid: { retryable: false, recovery: "fix_input" },
|
|
480
|
+
zero_db_transaction_missing: { retryable: false, recovery: "contact_support" },
|
|
481
|
+
zero_db_transaction_rollback_failed: { retryable: false, recovery: "contact_support" },
|
|
456
482
|
zero_db_transaction_start_failed: { retryable: true, recovery: "retry" },
|
|
457
483
|
zero_db_url_invalid: { retryable: false, recovery: "fix_input" },
|
|
458
484
|
zero_db_url_missing: { retryable: false, recovery: "fix_input" },
|
|
@@ -479,7 +505,6 @@ export const ERROR_CODE_META = {
|
|
|
479
505
|
zero_js_response_malformed: { retryable: false, recovery: "fix_input" },
|
|
480
506
|
zero_js_runtime_init_failed: { retryable: true, recovery: "retry" },
|
|
481
507
|
zero_log_query_invalid: { retryable: false, recovery: "fix_input" },
|
|
482
|
-
zero_lookup_invalid: { retryable: false, recovery: "fix_input" },
|
|
483
508
|
zero_method_not_allowed: { retryable: false, recovery: "fix_input" },
|
|
484
509
|
zero_migration_failed: { retryable: false, recovery: "fix_input" },
|
|
485
510
|
zero_query_name_missing: { retryable: false, recovery: "fix_input" },
|
|
@@ -494,6 +519,8 @@ export const ERROR_CODE_META = {
|
|
|
494
519
|
zero_replay_query_invalid: { retryable: false, recovery: "fix_input" },
|
|
495
520
|
zero_replay_unavailable: { retryable: false, recovery: "fix_input" },
|
|
496
521
|
zero_request_body_too_large: { retryable: false, recovery: "fix_input" },
|
|
522
|
+
zero_response_header_forbidden: { retryable: false, recovery: "fix_input" },
|
|
523
|
+
zero_response_header_invalid: { retryable: false, recovery: "fix_input" },
|
|
497
524
|
zero_response_too_large: { retryable: false, recovery: "fix_input" },
|
|
498
525
|
zero_requires_dedicated_plan: { retryable: false, recovery: "fix_input" },
|
|
499
526
|
zero_routes_invalid: { retryable: false, recovery: "fix_input" },
|
|
@@ -2,7 +2,7 @@ import { ERROR_DOCS_BASE_URL } from "../brand.js";
|
|
|
2
2
|
export { ERROR_DOCS_BASE_URL };
|
|
3
3
|
/** `docsUrl` derivation rule: docs origin + `/{code}`. Asserted by the conformance suite. */
|
|
4
4
|
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", "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", "data_location_immutable", "datacenters_unavailable", "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", "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_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", "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", "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", "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_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_missing", "zero_artifact_path_invalid", "zero_artifact_unreadable", "zero_artifact_untrusted", "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_commit_failed", "zero_db_transaction_invalid", "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_lookup_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_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"];
|
|
5
|
+
export declare const ERROR_CODES: readonly ["abuse_report_invalid_transition", "abuse_report_rate_limited", "abuse_takedown", "access_denied", "access_scope_suggestion", "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", "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", "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_reference_missing", "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_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_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_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_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
6
|
export type ErrorCode = (typeof ERROR_CODES)[number];
|
|
7
7
|
export declare function isErrorCode(value: string): value is ErrorCode;
|
|
8
8
|
/**
|