/** * 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: { profiles: { Row: { id: string; email: string | null; display_name: string | null; avatar_url: string | null; onboarded: boolean; created_at: string; updated_at: string; }; Insert: { id: string; email?: string | null; display_name?: string | null; avatar_url?: string | null; onboarded?: boolean; created_at?: string; updated_at?: string; }; Update: { id?: string; email?: string | null; display_name?: string | null; avatar_url?: string | null; onboarded?: boolean; created_at?: string; updated_at?: string; }; Relationships: [ { foreignKeyName: 'profiles_id_fkey'; columns: ['id']; isOneToOne: true; referencedRelation: 'users'; referencedColumns: ['id']; }, ]; }; tasks: { Row: { id: string; user_id: string; text: string; is_complete: boolean; created_at: string; }; Insert: { id?: string; user_id: string; text: string; is_complete?: boolean; created_at?: string; }; Update: { id?: string; user_id?: string; text?: string; is_complete?: boolean; created_at?: string; }; Relationships: [ { foreignKeyName: 'tasks_user_id_fkey'; columns: ['user_id']; isOneToOne: false; referencedRelation: 'users'; referencedColumns: ['id']; }, ]; }; }; 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 Profile = Tables<'profiles'>; export type Task = Tables<'tasks'>;