From dff9c46747dc36798417fde9044bc830510a486a Mon Sep 17 00:00:00 2001 From: 4Ventures <4ventures@MacBook-Air-de-4Ventures.local> Date: Mon, 28 Sep 2026 10:41:52 +0200 Subject: [PATCH] fix: excluir scripts del typecheck de Next para desbloquear el build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit El deploy fallaba tipando scripts/sync_* (dotenv). TambiƩn tipa el fallback de select leads en KPIs/CRM. Co-authored-by: Cursor --- src/app/dashboard/crm/page.tsx | 2 +- src/app/dashboard/kpis/page.tsx | 2 +- tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/dashboard/crm/page.tsx b/src/app/dashboard/crm/page.tsx index b28b59e..2e72524 100644 --- a/src/app/dashboard/crm/page.tsx +++ b/src/app/dashboard/crm/page.tsx @@ -67,7 +67,7 @@ async function fetchCrmLeads( .eq('crm', 'clientify') .order('created_at', { ascending: false }) .range(offset, offset + pageSize - 1); - data = retry.data; + data = retry.data as typeof data; error = retry.error; } if (error) break; diff --git a/src/app/dashboard/kpis/page.tsx b/src/app/dashboard/kpis/page.tsx index 0e3412b..7054a96 100644 --- a/src/app/dashboard/kpis/page.tsx +++ b/src/app/dashboard/kpis/page.tsx @@ -73,7 +73,7 @@ async function fetchCrmLeads( .eq('crm', 'clientify') .order('created_at', { ascending: false }) .range(offset, offset + pageSize - 1); - data = retry.data; + data = retry.data as typeof data; error = retry.error; } if (error) break; diff --git a/tsconfig.json b/tsconfig.json index c133409..ccdb1d5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -23,5 +23,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "scripts"] }