feat: Cherry-pick Website Maker feature from remote backup

This commit is contained in:
ajaysi
2026-03-01 18:42:27 +05:30
parent 4828274cbf
commit 62d9c2e836
3 changed files with 349 additions and 326 deletions

View File

@@ -3,6 +3,21 @@
* Manages client-side caching of onboarding data until final submission
*/
export type PageImages = {
home?: string;
about?: string;
contact?: string;
products?: string;
};
export interface WebsiteIntakeCache {
website?: string;
analysis?: any;
businessInfo?: any;
hasWebsite?: boolean;
page_images?: PageImages;
}
interface OnboardingCacheData {
step1?: {
apiKeys?: Record<string, string>;
@@ -12,6 +27,7 @@ interface OnboardingCacheData {
website?: string;
analysis?: any;
businessInfo?: any;
websiteIntake?: any;
hasWebsite?: boolean;
};
step3?: {