fix: excluir scripts del typecheck de Next para desbloquear el build

El deploy fallaba tipando scripts/sync_* (dotenv). También tipa el
fallback de select leads en KPIs/CRM.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-09-28 10:41:52 +02:00
parent cf27eba74d
commit dff9c46747
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -23,5 +23,5 @@
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["node_modules", "scripts"]
}