@stapel/cdn-react 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/MODULE.md +124 -0
- package/README.md +103 -0
- package/dist/api/cdnApi.d.ts +122 -0
- package/dist/api/cdnApi.d.ts.map +1 -0
- package/dist/api/cdnApi.js +27 -0
- package/dist/api/cdnApi.js.map +1 -0
- package/dist/api/generated/schema.d.ts +1050 -0
- package/dist/api/generated/schema.d.ts.map +1 -0
- package/dist/api/generated/schema.js +2 -0
- package/dist/api/generated/schema.js.map +1 -0
- package/dist/api/types.d.ts +76 -0
- package/dist/api/types.d.ts.map +1 -0
- package/dist/api/types.js +2 -0
- package/dist/api/types.js.map +1 -0
- package/dist/default/ErrorAlert.d.ts +8 -0
- package/dist/default/ErrorAlert.d.ts.map +1 -0
- package/dist/default/ErrorAlert.js +26 -0
- package/dist/default/ErrorAlert.js.map +1 -0
- package/dist/default/ImageUploadField.d.ts +12 -0
- package/dist/default/ImageUploadField.d.ts.map +1 -0
- package/dist/default/ImageUploadField.js +48 -0
- package/dist/default/ImageUploadField.js.map +1 -0
- package/dist/default/MediaGalleryField.d.ts +14 -0
- package/dist/default/MediaGalleryField.d.ts.map +1 -0
- package/dist/default/MediaGalleryField.js +65 -0
- package/dist/default/MediaGalleryField.js.map +1 -0
- package/dist/default/index.d.ts +15 -0
- package/dist/default/index.d.ts.map +1 -0
- package/dist/default/index.js +13 -0
- package/dist/default/index.js.map +1 -0
- package/dist/default/phase.d.ts +17 -0
- package/dist/default/phase.d.ts.map +1 -0
- package/dist/default/phase.js +25 -0
- package/dist/default/phase.js.map +1 -0
- package/dist/flows/registry.d.ts +28 -0
- package/dist/flows/registry.d.ts.map +1 -0
- package/dist/flows/registry.js +26 -0
- package/dist/flows/registry.js.map +1 -0
- package/dist/headless/CdnProvider.d.ts +18 -0
- package/dist/headless/CdnProvider.d.ts.map +1 -0
- package/dist/headless/CdnProvider.js +14 -0
- package/dist/headless/CdnProvider.js.map +1 -0
- package/dist/headless/ImageUpload.d.ts +18 -0
- package/dist/headless/ImageUpload.d.ts.map +1 -0
- package/dist/headless/ImageUpload.js +16 -0
- package/dist/headless/ImageUpload.js.map +1 -0
- package/dist/headless/MediaUploader.d.ts +31 -0
- package/dist/headless/MediaUploader.d.ts.map +1 -0
- package/dist/headless/MediaUploader.js +30 -0
- package/dist/headless/MediaUploader.js.map +1 -0
- package/dist/headless/useUploadImage.d.ts +33 -0
- package/dist/headless/useUploadImage.d.ts.map +1 -0
- package/dist/headless/useUploadImage.js +118 -0
- package/dist/headless/useUploadImage.js.map +1 -0
- package/dist/headless/useUploadPreview.d.ts +22 -0
- package/dist/headless/useUploadPreview.d.ts.map +1 -0
- package/dist/headless/useUploadPreview.js +37 -0
- package/dist/headless/useUploadPreview.js.map +1 -0
- package/dist/headless/useUploadQueue.d.ts +83 -0
- package/dist/headless/useUploadQueue.d.ts.map +1 -0
- package/dist/headless/useUploadQueue.js +0 -0
- package/dist/headless/useUploadQueue.js.map +1 -0
- package/dist/i18n/errorsMap.d.ts +12 -0
- package/dist/i18n/errorsMap.d.ts.map +1 -0
- package/dist/i18n/errorsMap.js +22 -0
- package/dist/i18n/errorsMap.js.map +1 -0
- package/dist/i18n/es.d.ts +17 -0
- package/dist/i18n/es.d.ts.map +1 -0
- package/dist/i18n/es.js +65 -0
- package/dist/i18n/es.js.map +1 -0
- package/dist/i18n/generated/errors.es.gen.d.ts +16 -0
- package/dist/i18n/generated/errors.es.gen.d.ts.map +1 -0
- package/dist/i18n/generated/errors.es.gen.js +58 -0
- package/dist/i18n/generated/errors.es.gen.js.map +1 -0
- package/dist/i18n/generated/errors.gen.d.ts +353 -0
- package/dist/i18n/generated/errors.gen.d.ts.map +1 -0
- package/dist/i18n/generated/errors.gen.js +180 -0
- package/dist/i18n/generated/errors.gen.js.map +1 -0
- package/dist/i18n/generated/errors.ru.gen.d.ts +16 -0
- package/dist/i18n/generated/errors.ru.gen.d.ts.map +1 -0
- package/dist/i18n/generated/errors.ru.gen.js +58 -0
- package/dist/i18n/generated/errors.ru.gen.js.map +1 -0
- package/dist/i18n/keys.d.ts +61 -0
- package/dist/i18n/keys.d.ts.map +1 -0
- package/dist/i18n/keys.js +110 -0
- package/dist/i18n/keys.js.map +1 -0
- package/dist/i18n/ru.d.ts +21 -0
- package/dist/i18n/ru.d.ts.map +1 -0
- package/dist/i18n/ru.js +70 -0
- package/dist/i18n/ru.js.map +1 -0
- package/dist/index.d.ts +89 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +83 -0
- package/dist/index.js.map +1 -0
- package/dist/model/context.d.ts +11 -0
- package/dist/model/context.d.ts.map +1 -0
- package/dist/model/context.js +15 -0
- package/dist/model/context.js.map +1 -0
- package/dist/model/hash.d.ts +36 -0
- package/dist/model/hash.d.ts.map +1 -0
- package/dist/model/hash.js +59 -0
- package/dist/model/hash.js.map +1 -0
- package/dist/model/limits.d.ts +86 -0
- package/dist/model/limits.d.ts.map +1 -0
- package/dist/model/limits.js +163 -0
- package/dist/model/limits.js.map +1 -0
- package/dist/model/queries.d.ts +29 -0
- package/dist/model/queries.d.ts.map +1 -0
- package/dist/model/queries.js +32 -0
- package/dist/model/queries.js.map +1 -0
- package/dist/model/queryKeys.d.ts +18 -0
- package/dist/model/queryKeys.d.ts.map +1 -0
- package/dist/model/queryKeys.js +18 -0
- package/dist/model/queryKeys.js.map +1 -0
- package/dist/model/refs.d.ts +54 -0
- package/dist/model/refs.d.ts.map +1 -0
- package/dist/model/refs.js +82 -0
- package/dist/model/refs.js.map +1 -0
- package/dist/model/runtime.d.ts +40 -0
- package/dist/model/runtime.d.ts.map +1 -0
- package/dist/model/runtime.js +23 -0
- package/dist/model/runtime.js.map +1 -0
- package/dist/model/upload.d.ts +88 -0
- package/dist/model/upload.d.ts.map +1 -0
- package/dist/model/upload.js +254 -0
- package/dist/model/upload.js.map +1 -0
- package/llms.txt +83 -0
- package/manifest.json +601 -0
- package/package.json +120 -0
- package/src/analytics/generated/events.json +7 -0
- package/src/api/cdnApi.ts +187 -0
- package/src/api/generated/schema.ts +1052 -0
- package/src/api/types.ts +86 -0
- package/src/default/ErrorAlert.tsx +43 -0
- package/src/default/ImageUploadField.tsx +131 -0
- package/src/default/MediaGalleryField.tsx +233 -0
- package/src/default/index.ts +14 -0
- package/src/default/phase.ts +34 -0
- package/src/flows/registry.ts +38 -0
- package/src/headless/CdnProvider.tsx +19 -0
- package/src/headless/ImageUpload.tsx +24 -0
- package/src/headless/MediaUploader.tsx +43 -0
- package/src/headless/useUploadImage.ts +155 -0
- package/src/headless/useUploadPreview.ts +48 -0
- package/src/headless/useUploadQueue.ts +411 -0
- package/src/i18n/errorsMap.ts +33 -0
- package/src/i18n/es.ts +81 -0
- package/src/i18n/generated/errors.es.gen.ts +64 -0
- package/src/i18n/generated/errors.gen.ts +211 -0
- package/src/i18n/generated/errors.json +403 -0
- package/src/i18n/generated/errors.ru.gen.ts +64 -0
- package/src/i18n/keys.ts +131 -0
- package/src/i18n/ru.ts +85 -0
- package/src/index.ts +154 -0
- package/src/model/context.tsx +25 -0
- package/src/model/hash.ts +67 -0
- package/src/model/limits.ts +207 -0
- package/src/model/queries.ts +64 -0
- package/src/model/queryKeys.ts +23 -0
- package/src/model/refs.ts +95 -0
- package/src/model/runtime.ts +52 -0
- package/src/model/upload.ts +365 -0
- package/tsconfig.json +26 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `es` texts for the backend error codes this catalog carries.
|
|
3
|
+
*
|
|
4
|
+
* PARTIAL, and deliberately typed to say so: 11 key(s) owned by
|
|
5
|
+
* stapel_cdn are absent, because that owner ships no locale catalog
|
|
6
|
+
* (ERRORS_LOCALE_EXEMPT_OWNERS). English for them still comes from the registry
|
|
7
|
+
* artifact via the en bundle; the pair layers its own authored `es`
|
|
8
|
+
* strings over this one until upstream ships translations. `Partial` is what
|
|
9
|
+
* makes the gap visible to TypeScript instead of a silent English fallback.
|
|
10
|
+
*
|
|
11
|
+
* Import from the pair's `./i18n/es` subpath, NOT the main entry, so
|
|
12
|
+
* the locale stays out of hosts that don't ship it.
|
|
13
|
+
*/
|
|
14
|
+
export const cdnErrorBundleEs = {
|
|
15
|
+
"error.400.bad_request": "Solicitud incorrecta",
|
|
16
|
+
"error.400.captcha_invalid": "La verificación del captcha ha fallado. Inténtalo de nuevo.",
|
|
17
|
+
"error.400.captcha_required": "Se requiere el token del captcha.",
|
|
18
|
+
"error.400.expected_list": "Se esperaba una lista de elementos",
|
|
19
|
+
"error.400.field.blank": "{field} no puede estar vacío",
|
|
20
|
+
"error.400.field.does_not_exist": "{field} no existe",
|
|
21
|
+
"error.400.field.invalid": "{field} no es válido",
|
|
22
|
+
"error.400.field.invalid_choice": "{field} no es una opción válida",
|
|
23
|
+
"error.400.field.max_length": "{field} debe tener como máximo {max_length} caracteres",
|
|
24
|
+
"error.400.field.max_value": "{field} debe ser como máximo {max_value}",
|
|
25
|
+
"error.400.field.min_length": "{field} debe tener al menos {min_length} caracteres",
|
|
26
|
+
"error.400.field.min_value": "{field} debe ser como mínimo {min_value}",
|
|
27
|
+
"error.400.field.null": "{field} no puede ser nulo",
|
|
28
|
+
"error.400.field.required": "{field} es obligatorio",
|
|
29
|
+
"error.400.field.unique": "{field} debe ser único",
|
|
30
|
+
"error.400.invalid_ad_id": "ID de anuncio no válido",
|
|
31
|
+
"error.400.validation_error": "Error de validación",
|
|
32
|
+
"error.400.verification_failed": "La verificación ha fallado",
|
|
33
|
+
"error.400.verification_invalid_factor": "Este factor de verificación no está disponible",
|
|
34
|
+
"error.401.unauthorized": "Se requiere autenticación",
|
|
35
|
+
"error.402.payment_required": "Se requiere pago",
|
|
36
|
+
"error.403.forbidden": "No tienes permiso para realizar esta acción",
|
|
37
|
+
"error.403.network_blocked": "No se permiten solicitudes desde esta red.",
|
|
38
|
+
"error.403.verification_enrollment_required": "Es necesario registrar un factor de verificación.",
|
|
39
|
+
"error.403.verification_required": "Se requiere verificación adicional",
|
|
40
|
+
"error.404.ad_not_found": "Anuncio no encontrado",
|
|
41
|
+
"error.404.not_found": "Recurso solicitado no encontrado",
|
|
42
|
+
"error.404.verification_challenge_not_found": "Desafío de verificación no encontrado o caducado",
|
|
43
|
+
"error.405.method_not_allowed": "Método no permitido",
|
|
44
|
+
"error.406.not_acceptable": "No aceptable",
|
|
45
|
+
"error.408.request_timeout": "Tiempo de espera de la solicitud agotado",
|
|
46
|
+
"error.409.conflict": "El recurso ya existe",
|
|
47
|
+
"error.410.gone": "El recurso se ha eliminado permanentemente",
|
|
48
|
+
"error.413.payload_too_large": "El cuerpo de la solicitud es demasiado grande",
|
|
49
|
+
"error.415.unsupported_media_type": "Tipo de contenido no compatible",
|
|
50
|
+
"error.422.unprocessable_entity": "Entidad no procesable",
|
|
51
|
+
"error.423.locked": "El recurso está bloqueado",
|
|
52
|
+
"error.423.verification_locked": "Demasiados intentos fallidos — verificación bloqueada",
|
|
53
|
+
"error.429.rate_limit": "Demasiados intentos. Inténtalo de nuevo en {retry_after_minutes} minutos.",
|
|
54
|
+
"error.429.too_many_requests": "Demasiadas solicitudes. Inténtalo de nuevo más tarde.",
|
|
55
|
+
"error.500.internal": "Algo salió mal",
|
|
56
|
+
"error.503.mandate_unavailable": "No se puede verificar el mandato del espacio de trabajo",
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=errors.es.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.es.gen.js","sourceRoot":"","sources":["../../../src/i18n/generated/errors.es.gen.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA0C;IACrE,uBAAuB,EAAE,sBAAsB;IAC/C,2BAA2B,EAAE,6DAA6D;IAC1F,4BAA4B,EAAE,mCAAmC;IACjE,yBAAyB,EAAE,oCAAoC;IAC/D,uBAAuB,EAAE,8BAA8B;IACvD,gCAAgC,EAAE,mBAAmB;IACrD,yBAAyB,EAAE,sBAAsB;IACjD,gCAAgC,EAAE,iCAAiC;IACnE,4BAA4B,EAAE,wDAAwD;IACtF,2BAA2B,EAAE,0CAA0C;IACvE,4BAA4B,EAAE,qDAAqD;IACnF,2BAA2B,EAAE,0CAA0C;IACvE,sBAAsB,EAAE,2BAA2B;IACnD,0BAA0B,EAAE,wBAAwB;IACpD,wBAAwB,EAAE,wBAAwB;IAClD,yBAAyB,EAAE,yBAAyB;IACpD,4BAA4B,EAAE,qBAAqB;IACnD,+BAA+B,EAAE,4BAA4B;IAC7D,uCAAuC,EAAE,gDAAgD;IACzF,wBAAwB,EAAE,2BAA2B;IACrD,4BAA4B,EAAE,kBAAkB;IAChD,qBAAqB,EAAE,6CAA6C;IACpE,2BAA2B,EAAE,4CAA4C;IACzE,4CAA4C,EAAE,mDAAmD;IACjG,iCAAiC,EAAE,oCAAoC;IACvE,wBAAwB,EAAE,uBAAuB;IACjD,qBAAqB,EAAE,kCAAkC;IACzD,4CAA4C,EAAE,kDAAkD;IAChG,8BAA8B,EAAE,qBAAqB;IACrD,0BAA0B,EAAE,cAAc;IAC1C,2BAA2B,EAAE,0CAA0C;IACvE,oBAAoB,EAAE,sBAAsB;IAC5C,gBAAgB,EAAE,4CAA4C;IAC9D,6BAA6B,EAAE,+CAA+C;IAC9E,kCAAkC,EAAE,iCAAiC;IACrE,gCAAgC,EAAE,uBAAuB;IACzD,kBAAkB,EAAE,2BAA2B;IAC/C,+BAA+B,EAAE,uDAAuD;IACxF,sBAAsB,EAAE,2EAA2E;IACnG,6BAA6B,EAAE,uDAAuD;IACtF,oBAAoB,EAAE,gBAAgB;IACtC,+BAA+B,EAAE,yDAAyD;CAC3F,CAAC"}
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Remediation vocabulary (frontend-core-architecture §2.5). Declared by the
|
|
3
|
+
* backend on the error registry and consumed verbatim from its `errors.json`
|
|
4
|
+
* artifact. A host maps it to UX — retryable → "try again"; `wait_and_retry` →
|
|
5
|
+
* timer from `params.retry_after_minutes`; `verify` → the step-up seam;
|
|
6
|
+
* `fix_input` → highlight the offending field.
|
|
7
|
+
*/
|
|
8
|
+
export type Remediation = "retry" | "wait_and_retry" | "reauthenticate" | "verify" | "fix_input" | "contact_support" | "bug";
|
|
9
|
+
export interface CdnErrorSpec {
|
|
10
|
+
/** HTTP status the backend raises this key with. */
|
|
11
|
+
readonly status: number;
|
|
12
|
+
/** `{param}` interpolation slots present in the message. */
|
|
13
|
+
readonly params: readonly string[];
|
|
14
|
+
/** Remediation hint declared by the backend (see {@link Remediation}). */
|
|
15
|
+
readonly remediation: Remediation;
|
|
16
|
+
/** English fallback (source: stapel-auth errors.json). */
|
|
17
|
+
readonly en: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The CDN_ERRORS map — every `error.*` key stapel-auth can raise, keyed by its
|
|
21
|
+
* canonical code. The single source of truth behind the en fallback bundle, the
|
|
22
|
+
* remediation lookup, and the manifest `errors` block.
|
|
23
|
+
*/
|
|
24
|
+
export declare const CDN_ERRORS: {
|
|
25
|
+
readonly "error.400.bad_request": {
|
|
26
|
+
readonly status: 400;
|
|
27
|
+
readonly params: readonly [];
|
|
28
|
+
readonly remediation: "fix_input";
|
|
29
|
+
readonly en: "Bad request";
|
|
30
|
+
};
|
|
31
|
+
readonly "error.400.captcha_invalid": {
|
|
32
|
+
readonly status: 400;
|
|
33
|
+
readonly params: readonly [];
|
|
34
|
+
readonly remediation: "retry";
|
|
35
|
+
readonly en: "Captcha verification failed. Please try again.";
|
|
36
|
+
};
|
|
37
|
+
readonly "error.400.captcha_required": {
|
|
38
|
+
readonly status: 400;
|
|
39
|
+
readonly params: readonly [];
|
|
40
|
+
readonly remediation: "retry";
|
|
41
|
+
readonly en: "Captcha token is required.";
|
|
42
|
+
};
|
|
43
|
+
readonly "error.400.expected_list": {
|
|
44
|
+
readonly status: 400;
|
|
45
|
+
readonly params: readonly [];
|
|
46
|
+
readonly remediation: "fix_input";
|
|
47
|
+
readonly en: "Expected a list of items";
|
|
48
|
+
};
|
|
49
|
+
readonly "error.400.field.blank": {
|
|
50
|
+
readonly status: 400;
|
|
51
|
+
readonly params: readonly ["field"];
|
|
52
|
+
readonly remediation: "fix_input";
|
|
53
|
+
readonly en: "{field} may not be blank";
|
|
54
|
+
};
|
|
55
|
+
readonly "error.400.field.does_not_exist": {
|
|
56
|
+
readonly status: 400;
|
|
57
|
+
readonly params: readonly ["field"];
|
|
58
|
+
readonly remediation: "fix_input";
|
|
59
|
+
readonly en: "{field} does not exist";
|
|
60
|
+
};
|
|
61
|
+
readonly "error.400.field.invalid": {
|
|
62
|
+
readonly status: 400;
|
|
63
|
+
readonly params: readonly ["field"];
|
|
64
|
+
readonly remediation: "fix_input";
|
|
65
|
+
readonly en: "{field} is invalid";
|
|
66
|
+
};
|
|
67
|
+
readonly "error.400.field.invalid_choice": {
|
|
68
|
+
readonly status: 400;
|
|
69
|
+
readonly params: readonly ["field"];
|
|
70
|
+
readonly remediation: "fix_input";
|
|
71
|
+
readonly en: "{field} is not a valid choice";
|
|
72
|
+
};
|
|
73
|
+
readonly "error.400.field.max_length": {
|
|
74
|
+
readonly status: 400;
|
|
75
|
+
readonly params: readonly ["field", "max_length"];
|
|
76
|
+
readonly remediation: "fix_input";
|
|
77
|
+
readonly en: "{field} must be at most {max_length} characters";
|
|
78
|
+
};
|
|
79
|
+
readonly "error.400.field.max_value": {
|
|
80
|
+
readonly status: 400;
|
|
81
|
+
readonly params: readonly ["field", "max_value"];
|
|
82
|
+
readonly remediation: "fix_input";
|
|
83
|
+
readonly en: "{field} must be at most {max_value}";
|
|
84
|
+
};
|
|
85
|
+
readonly "error.400.field.min_length": {
|
|
86
|
+
readonly status: 400;
|
|
87
|
+
readonly params: readonly ["field", "min_length"];
|
|
88
|
+
readonly remediation: "fix_input";
|
|
89
|
+
readonly en: "{field} must be at least {min_length} characters";
|
|
90
|
+
};
|
|
91
|
+
readonly "error.400.field.min_value": {
|
|
92
|
+
readonly status: 400;
|
|
93
|
+
readonly params: readonly ["field", "min_value"];
|
|
94
|
+
readonly remediation: "fix_input";
|
|
95
|
+
readonly en: "{field} must be at least {min_value}";
|
|
96
|
+
};
|
|
97
|
+
readonly "error.400.field.null": {
|
|
98
|
+
readonly status: 400;
|
|
99
|
+
readonly params: readonly ["field"];
|
|
100
|
+
readonly remediation: "fix_input";
|
|
101
|
+
readonly en: "{field} may not be null";
|
|
102
|
+
};
|
|
103
|
+
readonly "error.400.field.required": {
|
|
104
|
+
readonly status: 400;
|
|
105
|
+
readonly params: readonly ["field"];
|
|
106
|
+
readonly remediation: "fix_input";
|
|
107
|
+
readonly en: "{field} is required";
|
|
108
|
+
};
|
|
109
|
+
readonly "error.400.field.unique": {
|
|
110
|
+
readonly status: 400;
|
|
111
|
+
readonly params: readonly ["field"];
|
|
112
|
+
readonly remediation: "fix_input";
|
|
113
|
+
readonly en: "{field} must be unique";
|
|
114
|
+
};
|
|
115
|
+
readonly "error.400.file_hash_required": {
|
|
116
|
+
readonly status: 400;
|
|
117
|
+
readonly params: readonly [];
|
|
118
|
+
readonly remediation: "fix_input";
|
|
119
|
+
readonly en: "file_hash parameter is required";
|
|
120
|
+
};
|
|
121
|
+
readonly "error.400.file_type_not_allowed": {
|
|
122
|
+
readonly status: 400;
|
|
123
|
+
readonly params: readonly [];
|
|
124
|
+
readonly remediation: "fix_input";
|
|
125
|
+
readonly en: "File type not allowed";
|
|
126
|
+
};
|
|
127
|
+
readonly "error.400.invalid_ad_id": {
|
|
128
|
+
readonly status: 400;
|
|
129
|
+
readonly params: readonly [];
|
|
130
|
+
readonly remediation: "fix_input";
|
|
131
|
+
readonly en: "Invalid advertisement ID";
|
|
132
|
+
};
|
|
133
|
+
readonly "error.400.invalid_format": {
|
|
134
|
+
readonly status: 400;
|
|
135
|
+
readonly params: readonly [];
|
|
136
|
+
readonly remediation: "fix_input";
|
|
137
|
+
readonly en: "Unsupported file format";
|
|
138
|
+
};
|
|
139
|
+
readonly "error.400.invalid_hash": {
|
|
140
|
+
readonly status: 400;
|
|
141
|
+
readonly params: readonly [];
|
|
142
|
+
readonly remediation: "fix_input";
|
|
143
|
+
readonly en: "Invalid file hash";
|
|
144
|
+
};
|
|
145
|
+
readonly "error.400.invalid_image_type": {
|
|
146
|
+
readonly status: 400;
|
|
147
|
+
readonly params: readonly [];
|
|
148
|
+
readonly remediation: "fix_input";
|
|
149
|
+
readonly en: "Invalid image type";
|
|
150
|
+
};
|
|
151
|
+
readonly "error.400.missing_fields": {
|
|
152
|
+
readonly status: 400;
|
|
153
|
+
readonly params: readonly [];
|
|
154
|
+
readonly remediation: "fix_input";
|
|
155
|
+
readonly en: "Required fields are missing";
|
|
156
|
+
};
|
|
157
|
+
readonly "error.400.no_file": {
|
|
158
|
+
readonly status: 400;
|
|
159
|
+
readonly params: readonly [];
|
|
160
|
+
readonly remediation: "fix_input";
|
|
161
|
+
readonly en: "No file provided";
|
|
162
|
+
};
|
|
163
|
+
readonly "error.400.validation_error": {
|
|
164
|
+
readonly status: 400;
|
|
165
|
+
readonly params: readonly [];
|
|
166
|
+
readonly remediation: "fix_input";
|
|
167
|
+
readonly en: "Validation error";
|
|
168
|
+
};
|
|
169
|
+
readonly "error.400.verification_failed": {
|
|
170
|
+
readonly status: 400;
|
|
171
|
+
readonly params: readonly [];
|
|
172
|
+
readonly remediation: "verify";
|
|
173
|
+
readonly en: "Verification failed";
|
|
174
|
+
};
|
|
175
|
+
readonly "error.400.verification_invalid_factor": {
|
|
176
|
+
readonly status: 400;
|
|
177
|
+
readonly params: readonly [];
|
|
178
|
+
readonly remediation: "verify";
|
|
179
|
+
readonly en: "This verification factor is not available";
|
|
180
|
+
};
|
|
181
|
+
readonly "error.401.unauthorized": {
|
|
182
|
+
readonly status: 401;
|
|
183
|
+
readonly params: readonly [];
|
|
184
|
+
readonly remediation: "reauthenticate";
|
|
185
|
+
readonly en: "Authentication required";
|
|
186
|
+
};
|
|
187
|
+
readonly "error.402.payment_required": {
|
|
188
|
+
readonly status: 402;
|
|
189
|
+
readonly params: readonly [];
|
|
190
|
+
readonly remediation: "retry";
|
|
191
|
+
readonly en: "Payment required";
|
|
192
|
+
};
|
|
193
|
+
readonly "error.403.forbidden": {
|
|
194
|
+
readonly status: 403;
|
|
195
|
+
readonly params: readonly [];
|
|
196
|
+
readonly remediation: "retry";
|
|
197
|
+
readonly en: "You do not have permission to perform this action";
|
|
198
|
+
};
|
|
199
|
+
readonly "error.403.network_blocked": {
|
|
200
|
+
readonly status: 403;
|
|
201
|
+
readonly params: readonly [];
|
|
202
|
+
readonly remediation: "contact_support";
|
|
203
|
+
readonly en: "Requests from this network are not allowed";
|
|
204
|
+
};
|
|
205
|
+
readonly "error.403.storage_quota_exceeded": {
|
|
206
|
+
readonly status: 403;
|
|
207
|
+
readonly params: readonly [];
|
|
208
|
+
readonly remediation: "retry";
|
|
209
|
+
readonly en: "Storage quota exceeded";
|
|
210
|
+
};
|
|
211
|
+
readonly "error.403.verification_enrollment_required": {
|
|
212
|
+
readonly status: 403;
|
|
213
|
+
readonly params: readonly [];
|
|
214
|
+
readonly remediation: "verify";
|
|
215
|
+
readonly en: "Verification factor enrollment required";
|
|
216
|
+
};
|
|
217
|
+
readonly "error.403.verification_required": {
|
|
218
|
+
readonly status: 403;
|
|
219
|
+
readonly params: readonly [];
|
|
220
|
+
readonly remediation: "verify";
|
|
221
|
+
readonly en: "Additional verification required";
|
|
222
|
+
};
|
|
223
|
+
readonly "error.404.ad_not_found": {
|
|
224
|
+
readonly status: 404;
|
|
225
|
+
readonly params: readonly [];
|
|
226
|
+
readonly remediation: "retry";
|
|
227
|
+
readonly en: "Listing not found";
|
|
228
|
+
};
|
|
229
|
+
readonly "error.404.no_images": {
|
|
230
|
+
readonly status: 404;
|
|
231
|
+
readonly params: readonly [];
|
|
232
|
+
readonly remediation: "fix_input";
|
|
233
|
+
readonly en: "No processed images found";
|
|
234
|
+
};
|
|
235
|
+
readonly "error.404.not_found": {
|
|
236
|
+
readonly status: 404;
|
|
237
|
+
readonly params: readonly [];
|
|
238
|
+
readonly remediation: "retry";
|
|
239
|
+
readonly en: "Requested resource not found";
|
|
240
|
+
};
|
|
241
|
+
readonly "error.404.verification_challenge_not_found": {
|
|
242
|
+
readonly status: 404;
|
|
243
|
+
readonly params: readonly [];
|
|
244
|
+
readonly remediation: "verify";
|
|
245
|
+
readonly en: "Verification challenge not found or expired";
|
|
246
|
+
};
|
|
247
|
+
readonly "error.405.method_not_allowed": {
|
|
248
|
+
readonly status: 405;
|
|
249
|
+
readonly params: readonly [];
|
|
250
|
+
readonly remediation: "retry";
|
|
251
|
+
readonly en: "Method not allowed";
|
|
252
|
+
};
|
|
253
|
+
readonly "error.406.not_acceptable": {
|
|
254
|
+
readonly status: 406;
|
|
255
|
+
readonly params: readonly [];
|
|
256
|
+
readonly remediation: "retry";
|
|
257
|
+
readonly en: "Not acceptable";
|
|
258
|
+
};
|
|
259
|
+
readonly "error.408.request_timeout": {
|
|
260
|
+
readonly status: 408;
|
|
261
|
+
readonly params: readonly [];
|
|
262
|
+
readonly remediation: "retry";
|
|
263
|
+
readonly en: "Request timeout";
|
|
264
|
+
};
|
|
265
|
+
readonly "error.409.conflict": {
|
|
266
|
+
readonly status: 409;
|
|
267
|
+
readonly params: readonly [];
|
|
268
|
+
readonly remediation: "fix_input";
|
|
269
|
+
readonly en: "Resource already exists";
|
|
270
|
+
};
|
|
271
|
+
readonly "error.410.gone": {
|
|
272
|
+
readonly status: 410;
|
|
273
|
+
readonly params: readonly [];
|
|
274
|
+
readonly remediation: "retry";
|
|
275
|
+
readonly en: "Resource has been permanently removed";
|
|
276
|
+
};
|
|
277
|
+
readonly "error.413.file_too_large": {
|
|
278
|
+
readonly status: 413;
|
|
279
|
+
readonly params: readonly [];
|
|
280
|
+
readonly remediation: "retry";
|
|
281
|
+
readonly en: "File is too large";
|
|
282
|
+
};
|
|
283
|
+
readonly "error.413.payload_too_large": {
|
|
284
|
+
readonly status: 413;
|
|
285
|
+
readonly params: readonly [];
|
|
286
|
+
readonly remediation: "retry";
|
|
287
|
+
readonly en: "Request body is too large";
|
|
288
|
+
};
|
|
289
|
+
readonly "error.415.unsupported_media_type": {
|
|
290
|
+
readonly status: 415;
|
|
291
|
+
readonly params: readonly [];
|
|
292
|
+
readonly remediation: "retry";
|
|
293
|
+
readonly en: "Unsupported media type";
|
|
294
|
+
};
|
|
295
|
+
readonly "error.422.unprocessable_entity": {
|
|
296
|
+
readonly status: 422;
|
|
297
|
+
readonly params: readonly [];
|
|
298
|
+
readonly remediation: "wait_and_retry";
|
|
299
|
+
readonly en: "Unprocessable entity";
|
|
300
|
+
};
|
|
301
|
+
readonly "error.423.locked": {
|
|
302
|
+
readonly status: 423;
|
|
303
|
+
readonly params: readonly [];
|
|
304
|
+
readonly remediation: "wait_and_retry";
|
|
305
|
+
readonly en: "Resource is locked";
|
|
306
|
+
};
|
|
307
|
+
readonly "error.423.verification_locked": {
|
|
308
|
+
readonly status: 423;
|
|
309
|
+
readonly params: readonly [];
|
|
310
|
+
readonly remediation: "wait_and_retry";
|
|
311
|
+
readonly en: "Too many failed attempts — verification locked";
|
|
312
|
+
};
|
|
313
|
+
readonly "error.429.rate_limit": {
|
|
314
|
+
readonly status: 429;
|
|
315
|
+
readonly params: readonly ["retry_after_minutes"];
|
|
316
|
+
readonly remediation: "wait_and_retry";
|
|
317
|
+
readonly en: "Too many attempts. Try again in {retry_after_minutes} minutes.";
|
|
318
|
+
};
|
|
319
|
+
readonly "error.429.too_many_requests": {
|
|
320
|
+
readonly status: 429;
|
|
321
|
+
readonly params: readonly [];
|
|
322
|
+
readonly remediation: "wait_and_retry";
|
|
323
|
+
readonly en: "Too many requests. Please try again later.";
|
|
324
|
+
};
|
|
325
|
+
readonly "error.500.internal": {
|
|
326
|
+
readonly status: 500;
|
|
327
|
+
readonly params: readonly [];
|
|
328
|
+
readonly remediation: "contact_support";
|
|
329
|
+
readonly en: "Something went wrong";
|
|
330
|
+
};
|
|
331
|
+
readonly "error.503.image_decoder_unavailable": {
|
|
332
|
+
readonly status: 503;
|
|
333
|
+
readonly params: readonly ["extension"];
|
|
334
|
+
readonly remediation: "contact_support";
|
|
335
|
+
readonly en: "This server cannot process {extension} images right now";
|
|
336
|
+
};
|
|
337
|
+
readonly "error.503.mandate_unavailable": {
|
|
338
|
+
readonly status: 503;
|
|
339
|
+
readonly params: readonly [];
|
|
340
|
+
readonly remediation: "retry";
|
|
341
|
+
readonly en: "Cannot verify workspace mandate right now";
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
export type CdnErrorCode = keyof typeof CDN_ERRORS;
|
|
345
|
+
/** Every backend error code this module can surface, sorted. */
|
|
346
|
+
export declare const CDN_ERROR_CODES: readonly CdnErrorCode[];
|
|
347
|
+
/**
|
|
348
|
+
* English fallback bundle — one string per backend key, so a `StapelApiError.code`
|
|
349
|
+
* never renders as a raw key. Merged UNDER the hand-polished UI copy in
|
|
350
|
+
* {@link authI18nBundleEn} (polish wins; this guarantees coverage).
|
|
351
|
+
*/
|
|
352
|
+
export declare const cdnErrorBundleEn: Record<CdnErrorCode, string>;
|
|
353
|
+
//# sourceMappingURL=errors.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.gen.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated/errors.gen.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GACnB,OAAO,GACP,gBAAgB,GAChB,gBAAgB,GAChB,QAAQ,GACR,WAAW,GACX,iBAAiB,GACjB,KAAK,CAAC;AAEV,MAAM,WAAW,YAAY;IAC3B,oDAAoD;IACpD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,4DAA4D;IAC5D,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,0EAA0E;IAC1E,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDb,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,UAAU,CAAC;AAEnD,gEAAgE;AAChE,eAAO,MAAM,eAAe,EAAE,SAAS,YAAY,EAsDlD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAsDzD,CAAC"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/gen-errors.mjs — do not edit by hand.
|
|
2
|
+
// Source: stapel-auth canonical errors.json (backend codegen artifact).
|
|
3
|
+
// Regenerate: pnpm gen:errors · Drift gate: pnpm gen:errors:check
|
|
4
|
+
/**
|
|
5
|
+
* The CDN_ERRORS map — every `error.*` key stapel-auth can raise, keyed by its
|
|
6
|
+
* canonical code. The single source of truth behind the en fallback bundle, the
|
|
7
|
+
* remediation lookup, and the manifest `errors` block.
|
|
8
|
+
*/
|
|
9
|
+
export const CDN_ERRORS = {
|
|
10
|
+
"error.400.bad_request": { status: 400, params: [], remediation: "fix_input", en: "Bad request" },
|
|
11
|
+
"error.400.captcha_invalid": { status: 400, params: [], remediation: "retry", en: "Captcha verification failed. Please try again." },
|
|
12
|
+
"error.400.captcha_required": { status: 400, params: [], remediation: "retry", en: "Captcha token is required." },
|
|
13
|
+
"error.400.expected_list": { status: 400, params: [], remediation: "fix_input", en: "Expected a list of items" },
|
|
14
|
+
"error.400.field.blank": { status: 400, params: ["field"], remediation: "fix_input", en: "{field} may not be blank" },
|
|
15
|
+
"error.400.field.does_not_exist": { status: 400, params: ["field"], remediation: "fix_input", en: "{field} does not exist" },
|
|
16
|
+
"error.400.field.invalid": { status: 400, params: ["field"], remediation: "fix_input", en: "{field} is invalid" },
|
|
17
|
+
"error.400.field.invalid_choice": { status: 400, params: ["field"], remediation: "fix_input", en: "{field} is not a valid choice" },
|
|
18
|
+
"error.400.field.max_length": { status: 400, params: ["field", "max_length"], remediation: "fix_input", en: "{field} must be at most {max_length} characters" },
|
|
19
|
+
"error.400.field.max_value": { status: 400, params: ["field", "max_value"], remediation: "fix_input", en: "{field} must be at most {max_value}" },
|
|
20
|
+
"error.400.field.min_length": { status: 400, params: ["field", "min_length"], remediation: "fix_input", en: "{field} must be at least {min_length} characters" },
|
|
21
|
+
"error.400.field.min_value": { status: 400, params: ["field", "min_value"], remediation: "fix_input", en: "{field} must be at least {min_value}" },
|
|
22
|
+
"error.400.field.null": { status: 400, params: ["field"], remediation: "fix_input", en: "{field} may not be null" },
|
|
23
|
+
"error.400.field.required": { status: 400, params: ["field"], remediation: "fix_input", en: "{field} is required" },
|
|
24
|
+
"error.400.field.unique": { status: 400, params: ["field"], remediation: "fix_input", en: "{field} must be unique" },
|
|
25
|
+
"error.400.file_hash_required": { status: 400, params: [], remediation: "fix_input", en: "file_hash parameter is required" },
|
|
26
|
+
"error.400.file_type_not_allowed": { status: 400, params: [], remediation: "fix_input", en: "File type not allowed" },
|
|
27
|
+
"error.400.invalid_ad_id": { status: 400, params: [], remediation: "fix_input", en: "Invalid advertisement ID" },
|
|
28
|
+
"error.400.invalid_format": { status: 400, params: [], remediation: "fix_input", en: "Unsupported file format" },
|
|
29
|
+
"error.400.invalid_hash": { status: 400, params: [], remediation: "fix_input", en: "Invalid file hash" },
|
|
30
|
+
"error.400.invalid_image_type": { status: 400, params: [], remediation: "fix_input", en: "Invalid image type" },
|
|
31
|
+
"error.400.missing_fields": { status: 400, params: [], remediation: "fix_input", en: "Required fields are missing" },
|
|
32
|
+
"error.400.no_file": { status: 400, params: [], remediation: "fix_input", en: "No file provided" },
|
|
33
|
+
"error.400.validation_error": { status: 400, params: [], remediation: "fix_input", en: "Validation error" },
|
|
34
|
+
"error.400.verification_failed": { status: 400, params: [], remediation: "verify", en: "Verification failed" },
|
|
35
|
+
"error.400.verification_invalid_factor": { status: 400, params: [], remediation: "verify", en: "This verification factor is not available" },
|
|
36
|
+
"error.401.unauthorized": { status: 401, params: [], remediation: "reauthenticate", en: "Authentication required" },
|
|
37
|
+
"error.402.payment_required": { status: 402, params: [], remediation: "retry", en: "Payment required" },
|
|
38
|
+
"error.403.forbidden": { status: 403, params: [], remediation: "retry", en: "You do not have permission to perform this action" },
|
|
39
|
+
"error.403.network_blocked": { status: 403, params: [], remediation: "contact_support", en: "Requests from this network are not allowed" },
|
|
40
|
+
"error.403.storage_quota_exceeded": { status: 403, params: [], remediation: "retry", en: "Storage quota exceeded" },
|
|
41
|
+
"error.403.verification_enrollment_required": { status: 403, params: [], remediation: "verify", en: "Verification factor enrollment required" },
|
|
42
|
+
"error.403.verification_required": { status: 403, params: [], remediation: "verify", en: "Additional verification required" },
|
|
43
|
+
"error.404.ad_not_found": { status: 404, params: [], remediation: "retry", en: "Listing not found" },
|
|
44
|
+
"error.404.no_images": { status: 404, params: [], remediation: "fix_input", en: "No processed images found" },
|
|
45
|
+
"error.404.not_found": { status: 404, params: [], remediation: "retry", en: "Requested resource not found" },
|
|
46
|
+
"error.404.verification_challenge_not_found": { status: 404, params: [], remediation: "verify", en: "Verification challenge not found or expired" },
|
|
47
|
+
"error.405.method_not_allowed": { status: 405, params: [], remediation: "retry", en: "Method not allowed" },
|
|
48
|
+
"error.406.not_acceptable": { status: 406, params: [], remediation: "retry", en: "Not acceptable" },
|
|
49
|
+
"error.408.request_timeout": { status: 408, params: [], remediation: "retry", en: "Request timeout" },
|
|
50
|
+
"error.409.conflict": { status: 409, params: [], remediation: "fix_input", en: "Resource already exists" },
|
|
51
|
+
"error.410.gone": { status: 410, params: [], remediation: "retry", en: "Resource has been permanently removed" },
|
|
52
|
+
"error.413.file_too_large": { status: 413, params: [], remediation: "retry", en: "File is too large" },
|
|
53
|
+
"error.413.payload_too_large": { status: 413, params: [], remediation: "retry", en: "Request body is too large" },
|
|
54
|
+
"error.415.unsupported_media_type": { status: 415, params: [], remediation: "retry", en: "Unsupported media type" },
|
|
55
|
+
"error.422.unprocessable_entity": { status: 422, params: [], remediation: "wait_and_retry", en: "Unprocessable entity" },
|
|
56
|
+
"error.423.locked": { status: 423, params: [], remediation: "wait_and_retry", en: "Resource is locked" },
|
|
57
|
+
"error.423.verification_locked": { status: 423, params: [], remediation: "wait_and_retry", en: "Too many failed attempts — verification locked" },
|
|
58
|
+
"error.429.rate_limit": { status: 429, params: ["retry_after_minutes"], remediation: "wait_and_retry", en: "Too many attempts. Try again in {retry_after_minutes} minutes." },
|
|
59
|
+
"error.429.too_many_requests": { status: 429, params: [], remediation: "wait_and_retry", en: "Too many requests. Please try again later." },
|
|
60
|
+
"error.500.internal": { status: 500, params: [], remediation: "contact_support", en: "Something went wrong" },
|
|
61
|
+
"error.503.image_decoder_unavailable": { status: 503, params: ["extension"], remediation: "contact_support", en: "This server cannot process {extension} images right now" },
|
|
62
|
+
"error.503.mandate_unavailable": { status: 503, params: [], remediation: "retry", en: "Cannot verify workspace mandate right now" },
|
|
63
|
+
};
|
|
64
|
+
/** Every backend error code this module can surface, sorted. */
|
|
65
|
+
export const CDN_ERROR_CODES = [
|
|
66
|
+
"error.400.bad_request",
|
|
67
|
+
"error.400.captcha_invalid",
|
|
68
|
+
"error.400.captcha_required",
|
|
69
|
+
"error.400.expected_list",
|
|
70
|
+
"error.400.field.blank",
|
|
71
|
+
"error.400.field.does_not_exist",
|
|
72
|
+
"error.400.field.invalid",
|
|
73
|
+
"error.400.field.invalid_choice",
|
|
74
|
+
"error.400.field.max_length",
|
|
75
|
+
"error.400.field.max_value",
|
|
76
|
+
"error.400.field.min_length",
|
|
77
|
+
"error.400.field.min_value",
|
|
78
|
+
"error.400.field.null",
|
|
79
|
+
"error.400.field.required",
|
|
80
|
+
"error.400.field.unique",
|
|
81
|
+
"error.400.file_hash_required",
|
|
82
|
+
"error.400.file_type_not_allowed",
|
|
83
|
+
"error.400.invalid_ad_id",
|
|
84
|
+
"error.400.invalid_format",
|
|
85
|
+
"error.400.invalid_hash",
|
|
86
|
+
"error.400.invalid_image_type",
|
|
87
|
+
"error.400.missing_fields",
|
|
88
|
+
"error.400.no_file",
|
|
89
|
+
"error.400.validation_error",
|
|
90
|
+
"error.400.verification_failed",
|
|
91
|
+
"error.400.verification_invalid_factor",
|
|
92
|
+
"error.401.unauthorized",
|
|
93
|
+
"error.402.payment_required",
|
|
94
|
+
"error.403.forbidden",
|
|
95
|
+
"error.403.network_blocked",
|
|
96
|
+
"error.403.storage_quota_exceeded",
|
|
97
|
+
"error.403.verification_enrollment_required",
|
|
98
|
+
"error.403.verification_required",
|
|
99
|
+
"error.404.ad_not_found",
|
|
100
|
+
"error.404.no_images",
|
|
101
|
+
"error.404.not_found",
|
|
102
|
+
"error.404.verification_challenge_not_found",
|
|
103
|
+
"error.405.method_not_allowed",
|
|
104
|
+
"error.406.not_acceptable",
|
|
105
|
+
"error.408.request_timeout",
|
|
106
|
+
"error.409.conflict",
|
|
107
|
+
"error.410.gone",
|
|
108
|
+
"error.413.file_too_large",
|
|
109
|
+
"error.413.payload_too_large",
|
|
110
|
+
"error.415.unsupported_media_type",
|
|
111
|
+
"error.422.unprocessable_entity",
|
|
112
|
+
"error.423.locked",
|
|
113
|
+
"error.423.verification_locked",
|
|
114
|
+
"error.429.rate_limit",
|
|
115
|
+
"error.429.too_many_requests",
|
|
116
|
+
"error.500.internal",
|
|
117
|
+
"error.503.image_decoder_unavailable",
|
|
118
|
+
"error.503.mandate_unavailable",
|
|
119
|
+
];
|
|
120
|
+
/**
|
|
121
|
+
* English fallback bundle — one string per backend key, so a `StapelApiError.code`
|
|
122
|
+
* never renders as a raw key. Merged UNDER the hand-polished UI copy in
|
|
123
|
+
* {@link authI18nBundleEn} (polish wins; this guarantees coverage).
|
|
124
|
+
*/
|
|
125
|
+
export const cdnErrorBundleEn = {
|
|
126
|
+
"error.400.bad_request": "Bad request",
|
|
127
|
+
"error.400.captcha_invalid": "Captcha verification failed. Please try again.",
|
|
128
|
+
"error.400.captcha_required": "Captcha token is required.",
|
|
129
|
+
"error.400.expected_list": "Expected a list of items",
|
|
130
|
+
"error.400.field.blank": "{field} may not be blank",
|
|
131
|
+
"error.400.field.does_not_exist": "{field} does not exist",
|
|
132
|
+
"error.400.field.invalid": "{field} is invalid",
|
|
133
|
+
"error.400.field.invalid_choice": "{field} is not a valid choice",
|
|
134
|
+
"error.400.field.max_length": "{field} must be at most {max_length} characters",
|
|
135
|
+
"error.400.field.max_value": "{field} must be at most {max_value}",
|
|
136
|
+
"error.400.field.min_length": "{field} must be at least {min_length} characters",
|
|
137
|
+
"error.400.field.min_value": "{field} must be at least {min_value}",
|
|
138
|
+
"error.400.field.null": "{field} may not be null",
|
|
139
|
+
"error.400.field.required": "{field} is required",
|
|
140
|
+
"error.400.field.unique": "{field} must be unique",
|
|
141
|
+
"error.400.file_hash_required": "file_hash parameter is required",
|
|
142
|
+
"error.400.file_type_not_allowed": "File type not allowed",
|
|
143
|
+
"error.400.invalid_ad_id": "Invalid advertisement ID",
|
|
144
|
+
"error.400.invalid_format": "Unsupported file format",
|
|
145
|
+
"error.400.invalid_hash": "Invalid file hash",
|
|
146
|
+
"error.400.invalid_image_type": "Invalid image type",
|
|
147
|
+
"error.400.missing_fields": "Required fields are missing",
|
|
148
|
+
"error.400.no_file": "No file provided",
|
|
149
|
+
"error.400.validation_error": "Validation error",
|
|
150
|
+
"error.400.verification_failed": "Verification failed",
|
|
151
|
+
"error.400.verification_invalid_factor": "This verification factor is not available",
|
|
152
|
+
"error.401.unauthorized": "Authentication required",
|
|
153
|
+
"error.402.payment_required": "Payment required",
|
|
154
|
+
"error.403.forbidden": "You do not have permission to perform this action",
|
|
155
|
+
"error.403.network_blocked": "Requests from this network are not allowed",
|
|
156
|
+
"error.403.storage_quota_exceeded": "Storage quota exceeded",
|
|
157
|
+
"error.403.verification_enrollment_required": "Verification factor enrollment required",
|
|
158
|
+
"error.403.verification_required": "Additional verification required",
|
|
159
|
+
"error.404.ad_not_found": "Listing not found",
|
|
160
|
+
"error.404.no_images": "No processed images found",
|
|
161
|
+
"error.404.not_found": "Requested resource not found",
|
|
162
|
+
"error.404.verification_challenge_not_found": "Verification challenge not found or expired",
|
|
163
|
+
"error.405.method_not_allowed": "Method not allowed",
|
|
164
|
+
"error.406.not_acceptable": "Not acceptable",
|
|
165
|
+
"error.408.request_timeout": "Request timeout",
|
|
166
|
+
"error.409.conflict": "Resource already exists",
|
|
167
|
+
"error.410.gone": "Resource has been permanently removed",
|
|
168
|
+
"error.413.file_too_large": "File is too large",
|
|
169
|
+
"error.413.payload_too_large": "Request body is too large",
|
|
170
|
+
"error.415.unsupported_media_type": "Unsupported media type",
|
|
171
|
+
"error.422.unprocessable_entity": "Unprocessable entity",
|
|
172
|
+
"error.423.locked": "Resource is locked",
|
|
173
|
+
"error.423.verification_locked": "Too many failed attempts — verification locked",
|
|
174
|
+
"error.429.rate_limit": "Too many attempts. Try again in {retry_after_minutes} minutes.",
|
|
175
|
+
"error.429.too_many_requests": "Too many requests. Please try again later.",
|
|
176
|
+
"error.500.internal": "Something went wrong",
|
|
177
|
+
"error.503.image_decoder_unavailable": "This server cannot process {extension} images right now",
|
|
178
|
+
"error.503.mandate_unavailable": "Cannot verify workspace mandate right now",
|
|
179
|
+
};
|
|
180
|
+
//# sourceMappingURL=errors.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.gen.js","sourceRoot":"","sources":["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IACvC,4BAA4B,EAAE,kBAAkB;IAChD,+BAA+B,EAAE,qBAAqB;IACtD,uCAAuC,EAAE,2CAA2C;IACpF,wBAAwB,EAAE,yBAAyB;IACnD,4BAA4B,EAAE,kBAAkB;IAChD,qBAAqB,EAAE,mDAAmD;IAC1E,2BAA2B,EAAE,4CAA4C;IACzE,kCAAkC,EAAE,wBAAwB;IAC5D,4CAA4C,EAAE,yCAAyC;IACvF,iCAAiC,EAAE,kCAAkC;IACrE,wBAAwB,EAAE,mBAAmB;IAC7C,qBAAqB,EAAE,2BAA2B;IAClD,qBAAqB,EAAE,8BAA8B;IACrD,4CAA4C,EAAE,6CAA6C;IAC3F,8BAA8B,EAAE,oBAAoB;IACpD,0BAA0B,EAAE,gBAAgB;IAC5C,2BAA2B,EAAE,iBAAiB;IAC9C,oBAAoB,EAAE,yBAAyB;IAC/C,gBAAgB,EAAE,uCAAuC;IACzD,0BAA0B,EAAE,mBAAmB;IAC/C,6BAA6B,EAAE,2BAA2B;IAC1D,kCAAkC,EAAE,wBAAwB;IAC5D,gCAAgC,EAAE,sBAAsB;IACxD,kBAAkB,EAAE,oBAAoB;IACxC,+BAA+B,EAAE,gDAAgD;IACjF,sBAAsB,EAAE,gEAAgE;IACxF,6BAA6B,EAAE,4CAA4C;IAC3E,oBAAoB,EAAE,sBAAsB;IAC5C,qCAAqC,EAAE,yDAAyD;IAChG,+BAA+B,EAAE,2CAA2C;CAC7E,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CdnErrorCode } from "./errors.gen.js";
|
|
2
|
+
/**
|
|
3
|
+
* `ru` texts for the backend error codes this catalog carries.
|
|
4
|
+
*
|
|
5
|
+
* PARTIAL, and deliberately typed to say so: 11 key(s) owned by
|
|
6
|
+
* stapel_cdn are absent, because that owner ships no locale catalog
|
|
7
|
+
* (ERRORS_LOCALE_EXEMPT_OWNERS). English for them still comes from the registry
|
|
8
|
+
* artifact via the en bundle; the pair layers its own authored `ru`
|
|
9
|
+
* strings over this one until upstream ships translations. `Partial` is what
|
|
10
|
+
* makes the gap visible to TypeScript instead of a silent English fallback.
|
|
11
|
+
*
|
|
12
|
+
* Import from the pair's `./i18n/ru` subpath, NOT the main entry, so
|
|
13
|
+
* the locale stays out of hosts that don't ship it.
|
|
14
|
+
*/
|
|
15
|
+
export declare const cdnErrorBundleRu: Partial<Record<CdnErrorCode, string>>;
|
|
16
|
+
//# sourceMappingURL=errors.ru.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.ru.gen.d.ts","sourceRoot":"","sources":["../../../src/i18n/generated/errors.ru.gen.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CA2ClE,CAAC"}
|