UNPKG

pulse-ai-utils

Version:

Utility functions and helpers for AI-powered applications

26 lines (25 loc) 646 B
/** * Sync a single content document from Firestore to Supabase */ export declare function syncContentToSupabase(contentId: string, data: any, isDelete?: boolean): Promise<void>; /** * Batch sync multiple documents */ export declare function batchSyncContent(documents: Array<{ id: string; data: any; }>): Promise<void>; /** * Sync query cache entry to Supabase */ export declare function syncQueryCacheToSupabase(cacheData: { prompt: string; area: string; region?: string; country?: string; timeline?: string; count?: number; result: any; timestamp: string; expireAt: string; }): Promise<void>;