/** * Generated by the Supabase CLI. Do not edit by hand. * * npm run db:types # against your linked project * npm run db:types:local # against `supabase start` * * This file is checked in on purpose: it is what makes `supabase.from('tasks')` * type-check, and CI has no database to generate it from. Regenerate it in the * same commit as every migration. */ export type Json = | string | number | boolean | null | { [key: string]: Json | undefined } | Json[]; export type Database = { public: { Tables: { tasks: { Row: { id: string; text: string; is_complete: boolean; created_at: string; }; Insert: { id?: string; text: string; is_complete?: boolean; created_at?: string; }; Update: { id?: string; text?: string; is_complete?: boolean; created_at?: string; }; Relationships: []; }; }; Views: { [_ in never]: never }; Functions: { [_ in never]: never }; Enums: { [_ in never]: never }; CompositeTypes: { [_ in never]: never }; }; }; type PublicSchema = Database['public']; export type Tables = PublicSchema['Tables'][T]['Row']; export type TablesInsert = PublicSchema['Tables'][T]['Insert']; export type TablesUpdate = PublicSchema['Tables'][T]['Update']; export type Task = Tables<'tasks'>;