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:
@@ -67,7 +67,7 @@ async function fetchCrmLeads(
|
|||||||
.eq('crm', 'clientify')
|
.eq('crm', 'clientify')
|
||||||
.order('created_at', { ascending: false })
|
.order('created_at', { ascending: false })
|
||||||
.range(offset, offset + pageSize - 1);
|
.range(offset, offset + pageSize - 1);
|
||||||
data = retry.data;
|
data = retry.data as typeof data;
|
||||||
error = retry.error;
|
error = retry.error;
|
||||||
}
|
}
|
||||||
if (error) break;
|
if (error) break;
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ async function fetchCrmLeads(
|
|||||||
.eq('crm', 'clientify')
|
.eq('crm', 'clientify')
|
||||||
.order('created_at', { ascending: false })
|
.order('created_at', { ascending: false })
|
||||||
.range(offset, offset + pageSize - 1);
|
.range(offset, offset + pageSize - 1);
|
||||||
data = retry.data;
|
data = retry.data as typeof data;
|
||||||
error = retry.error;
|
error = retry.error;
|
||||||
}
|
}
|
||||||
if (error) break;
|
if (error) break;
|
||||||
|
|||||||
@@ -23,5 +23,5 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules", "scripts"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user