refactor: cleanup skeleton, setup supabase properly
This commit is contained in:
12
src/lib/database.d.ts
vendored
12
src/lib/database.d.ts
vendored
@@ -65,21 +65,27 @@ export type Database = {
|
||||
}
|
||||
study_spaces: {
|
||||
Row: {
|
||||
building_address: string | null
|
||||
created_at: string | null
|
||||
description: string | null
|
||||
id: string
|
||||
title: string
|
||||
location: string | null
|
||||
updated_at: string | null
|
||||
}
|
||||
Insert: {
|
||||
building_address?: string | null
|
||||
created_at?: string | null
|
||||
description?: string | null
|
||||
id?: string
|
||||
title: string
|
||||
location?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
Update: {
|
||||
building_address?: string | null
|
||||
created_at?: string | null
|
||||
description?: string | null
|
||||
id?: string
|
||||
title?: string
|
||||
location?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
Relationships: []
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
// place files you want to import through the `$lib` alias in this folder.
|
||||
import type { Database } from "./database.d.ts";
|
||||
|
||||
export type Table<T extends keyof Database["public"]["Tables"]> =
|
||||
Database["public"]["Tables"][T]["Row"];
|
||||
export type Enum<T extends keyof Database["public"]["Enums"]> = Database["public"]["Enums"][T];
|
||||
|
||||
Reference in New Issue
Block a user