sass-template-common 0.10.37 → 0.10.39
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/sass-template-common.d.ts +10 -14
- package/dist/sass-template-common.js +2079 -2135
- package/dist/sass-template-common.umd.cjs +31 -31
- package/package.json +1 -1
|
@@ -368,13 +368,6 @@ export declare function clearConfigOriginCache(cacheKey?: string): void;
|
|
|
368
368
|
|
|
369
369
|
export declare function clearConfigOriginComparisonCache(): void;
|
|
370
370
|
|
|
371
|
-
/**
|
|
372
|
-
* Timeout para listados CMS usados en SSR paralelo (`news-list-section`,
|
|
373
|
-
* `news-list-author`, etc.). Más corto que el axios global (10s): acota el
|
|
374
|
-
* peor caso sin cortar de más respuestas lentas pero válidas (~5–7s en frío).
|
|
375
|
-
*/
|
|
376
|
-
export declare const CMS_LIST_FETCH_TIMEOUT_MS = 8000;
|
|
377
|
-
|
|
378
371
|
export declare const coloringByStrokeSVGs: string[];
|
|
379
372
|
|
|
380
373
|
/** Textos del popup anónimo (AnonimusPopUp.tsx) */
|
|
@@ -839,6 +832,16 @@ export declare const ContentLayout1: FC<Props_24>;
|
|
|
839
832
|
|
|
840
833
|
export declare const ContentLayoutTema: FC<Props_38>;
|
|
841
834
|
|
|
835
|
+
/**
|
|
836
|
+
* Aviso RUIDOSO de violación de contrato: un campo REQUERIDO por el render llegó
|
|
837
|
+
* ausente. El componente degrada para no romper el stream SSR (evita el "200 OK +
|
|
838
|
+
* HTML de Internal Server Error"), pero deja rastro para detectar el agujero.
|
|
839
|
+
*
|
|
840
|
+
* NO debería dispararse nunca si el consumidor valida el contrato en su frontmatter
|
|
841
|
+
* (ver ENTREGABLE-1). Si aparece en los logs, el contrato tiene un hueco.
|
|
842
|
+
*/
|
|
843
|
+
export declare const contractWarn: (component: string, field: string, extra?: unknown) => void;
|
|
844
|
+
|
|
842
845
|
export declare const createAssessment: ({ projectID, recaptchaKey, token, recaptchaAction, apiKey, userAgent, userIpAddress, }: CreateAssessmentParams) => Promise<number | null>;
|
|
843
846
|
|
|
844
847
|
/**
|
|
@@ -1771,13 +1774,6 @@ export declare const JournalistGroup: FC<Props_50>;
|
|
|
1771
1774
|
|
|
1772
1775
|
export declare const LayoutNewsComponent: FC<Props_47>;
|
|
1773
1776
|
|
|
1774
|
-
/**
|
|
1775
|
-
* Timeout del fetch legacy CMS (`/config/menu`, `/config/banners`).
|
|
1776
|
-
* Sin esto, un socket colgado envenena la promesa in-flight del cache y tumba
|
|
1777
|
-
* todos los renders de esa instancia hasta que el Lambda se recicle.
|
|
1778
|
-
*/
|
|
1779
|
-
export declare const LEGACY_CONFIG_FETCH_TIMEOUT_MS = 5000;
|
|
1780
|
-
|
|
1781
1777
|
export declare type LibraryConfig = {
|
|
1782
1778
|
PUBLIC_API_HOST?: string;
|
|
1783
1779
|
PUBLIC_API_FRONT?: string;
|