fix(types): add site_info and pages properties to SiteConfig interface

This commit is contained in:
Daniel S
2026-08-09 22:26:19 +02:00
parent 0a1aa5030d
commit bb96b0049c

View File

@@ -63,17 +63,27 @@ export interface SiteConfig {
animation?: string; animation?: string;
}>; }>;
}; };
contact: { sectionsOrder: string[];
title: string; sectionsDetails?: SectionConfig[];
subtitle: string; site_info?: {
recipientEmail: string; title?: string;
company_name?: string;
homepage_id?: string;
email?: string;
phone?: string; phone?: string;
address?: string; address?: string;
}; };
sectionsOrder: string[]; pages?: Array<{
sectionsDetails?: SectionConfig[]; id: string;
slug: string;
title: string;
is_published?: boolean;
seo?: { description?: string; og_image?: string };
sections?: Array<{ id: string; type: string; settings?: Record<string, any> }>;
}>;
} }
export interface ThemeConfig { export interface ThemeConfig {
activePreset: string; activePreset: string;
glassBlur?: string; // 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' glassBlur?: string; // 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'