sass-template-common 0.3.142 → 0.3.144

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.
@@ -1173,6 +1173,27 @@ export declare type LibraryConfig = {
1173
1173
  autor: boolean;
1174
1174
  tema: boolean;
1175
1175
  };
1176
+ /**
1177
+ * Opciones para debug de servicios compartidos.
1178
+ * Permite que cada proyecto root reciba un reporte HTML del fallo
1179
+ * y lo persista o muestre donde prefiera.
1180
+ */
1181
+ SERVICE_DEBUG?: {
1182
+ /**
1183
+ * Activa/desactiva el modo debug de servicios.
1184
+ */
1185
+ enabled?: boolean;
1186
+ /**
1187
+ * Nombre del proyecto/brand (se usa solo en el HTML de reporte).
1188
+ */
1189
+ projectName?: string;
1190
+ /**
1191
+ * Callback que recibe el HTML generado y el contexto del error.
1192
+ * Aquí cada proyecto puede decidir si guarda el HTML en disco,
1193
+ * lo envía a un endpoint, lo escribe en logs, etc.
1194
+ */
1195
+ onReportHtml?: (html: string, context: any) => void | Promise<void>;
1196
+ };
1176
1197
  MULTIPUBLICATION_FETCHES?: any;
1177
1198
  };
1178
1199