import type { Post, Profile, Recipe, Topic } from '../output/zod'; export interface Database { public: { Tables: { topics: { Row: Topic; Insert: Partial & { slug: string }; Update: Partial; }; recipes: { Row: Recipe; Insert: Partial & { slug: string; title?: string | null; author?: string | null; article?: string | null; }; Update: Partial; }; posts: { Row: Post; Insert: Partial & { slug: string }; Update: Partial; }; profiles: { Row: Profile; Insert: Partial; Update: Partial; }; }; }; } export type TopicRow = Database['public']['Tables']['topics']['Row']; export type TopicInsert = Database['public']['Tables']['topics']['Insert']; export type TopicUpdate = Database['public']['Tables']['topics']['Update']; export type RecipeRow = Database['public']['Tables']['recipes']['Row']; export type RecipeInsert = Database['public']['Tables']['recipes']['Insert']; export type RecipeUpdate = Database['public']['Tables']['recipes']['Update']; export type PostRow = Database['public']['Tables']['posts']['Row']; export type PostInsert = Database['public']['Tables']['posts']['Insert']; export type PostUpdate = Database['public']['Tables']['posts']['Update']; export type ProfileRow = Database['public']['Tables']['profiles']['Row']; export type ProfileInsert = Database['public']['Tables']['profiles']['Insert']; export type ProfileUpdate = Database['public']['Tables']['profiles']['Update'];