From 1187392454fe72f679ca8f729d8bc4bcdbf8691f Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 16 Oct 2025 01:20:51 +0200 Subject: [PATCH] Configuracion del proyecto en svelte kit + tailwind css + typescript - Definicion de los tipos propios del configurador --- src/lib/types/configurator.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/types/configurator.ts b/src/lib/types/configurator.ts index fd981fd..954e550 100644 --- a/src/lib/types/configurator.ts +++ b/src/lib/types/configurator.ts @@ -85,7 +85,7 @@ export interface TextContent { // 🔹 Campos relacionados con precio price_label? : string; // Ej: "Precio" price_unit? : string; // Ej: "€/m²", "€/ud" - price_message?: string; // Mensaje contextual sobre precio (ej: "Incluye IVA") + price_message?: string; // Mensaje contextual sobre precio (ej. "Incluye IVA") price_range_message? : string; // Mensaje contextual si es un precio calculado por rango } @@ -127,6 +127,7 @@ export interface Option { name : string; value : OptionValue; + Price? : Price; choices? : OptionValue[]; unit? : string;