sass-template-common 0.8.121 → 0.8.122
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.
|
@@ -2668,9 +2668,6 @@ export declare type TextsHeader = {
|
|
|
2668
2668
|
editionText: string;
|
|
2669
2669
|
};
|
|
2670
2670
|
|
|
2671
|
-
/** Valor al usar `texts[k]` con `k: string` (incluye `comentarios` como objeto). */
|
|
2672
|
-
export declare type TextsIndexedValue = string | ComentariosTexts | undefined;
|
|
2673
|
-
|
|
2674
2671
|
/** Bloques de listados y búsqueda en home y secciones */
|
|
2675
2672
|
export declare type TextsListsAndSearch = {
|
|
2676
2673
|
readestTitle: string;
|
|
@@ -2697,11 +2694,11 @@ export declare type TextsSiteChrome = {
|
|
|
2697
2694
|
};
|
|
2698
2695
|
|
|
2699
2696
|
/**
|
|
2700
|
-
* Textos del sitio: campos
|
|
2701
|
-
* El índice string
|
|
2702
|
-
*
|
|
2697
|
+
* Textos del sitio: campos base + claves extra + `comentarios` opcional.
|
|
2698
|
+
* El índice `string` vale `string | undefined`, así `texts[k]` (con `k: string`) encaja en APIs que esperan solo strings.
|
|
2699
|
+
* Los literales con `comentarios` deben cerrarse con `as unknown as textsType` (el índice string no admite el objeto en el literal).
|
|
2703
2700
|
*/
|
|
2704
|
-
export declare type textsType = textsTypeBase & Record<string,
|
|
2701
|
+
export declare type textsType = textsTypeBase & Record<string, string | undefined>;
|
|
2705
2702
|
|
|
2706
2703
|
/** Textos de sitio fijos + comentarios (misma forma que ComentariosTexts: varias piezas unidas) */
|
|
2707
2704
|
export declare type textsTypeBase = TextsHeader & TextsListsAndSearch & TextsSiteChrome & TextsPathLabels & {
|