feat: auditoría SEO real con histórico y avisos
Crawl técnico (HTTPS/robots/sitemap/on-page) + tabla seo_audits; UI con nota, checks y alertas. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -65,6 +65,28 @@ export type IntegrationLite = {
|
||||
external_account_id?: string | null;
|
||||
last_sync_at?: string | null;
|
||||
error_message?: string | null;
|
||||
meta?: { property_id?: string; site_url?: string };
|
||||
};
|
||||
|
||||
export type SeoAuditCheckRow = {
|
||||
id: string;
|
||||
category: string;
|
||||
title: string;
|
||||
status: 'ok' | 'info' | 'warn' | 'critical';
|
||||
detail: string;
|
||||
};
|
||||
|
||||
export type SeoAuditRow = {
|
||||
id?: string;
|
||||
tenant_id?: string;
|
||||
site_url?: string;
|
||||
score?: number;
|
||||
grade?: string;
|
||||
warning_count?: number;
|
||||
critical_count?: number;
|
||||
checks?: SeoAuditCheckRow[];
|
||||
summary?: string | null;
|
||||
created_at?: string;
|
||||
};
|
||||
|
||||
function n(v: unknown): number {
|
||||
|
||||
Reference in New Issue
Block a user