parent
3fb493f400
commit
1ce55e4091
2016 changed files with 23595 additions and 15662 deletions
46
lib/database.types.ts
Normal file
46
lib/database.types.ts
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
export type Json =
|
||||
| string
|
||||
| number
|
||||
| boolean
|
||||
| null
|
||||
| { [key: string]: Json | undefined }
|
||||
| Json[]
|
||||
|
||||
export interface Database {
|
||||
public: {
|
||||
Tables: {
|
||||
todos: {
|
||||
Row: {
|
||||
id: number
|
||||
title: string
|
||||
is_complete: boolean
|
||||
created_at: string
|
||||
updated_at: string | null
|
||||
}
|
||||
Insert: {
|
||||
id?: number
|
||||
title: string
|
||||
is_complete?: boolean
|
||||
created_at?: string
|
||||
updated_at?: string | null
|
||||
}
|
||||
Update: {
|
||||
id?: number
|
||||
title?: string
|
||||
is_complete?: boolean
|
||||
created_at?: string
|
||||
updated_at?: string | null
|
||||
}
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
[_ in never]: never
|
||||
}
|
||||
Functions: {
|
||||
[_ in never]: never
|
||||
}
|
||||
Enums: {
|
||||
[_ in never]: never
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue