refactor: simpler timing inputs
This commit is contained in:
83
src/lib/database.d.ts
vendored
83
src/lib/database.d.ts
vendored
@@ -69,6 +69,47 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
study_space_hours: {
|
||||
Row: {
|
||||
closes_at: string
|
||||
created_at: string | null
|
||||
day_of_week: number
|
||||
id: string
|
||||
open_today_status: boolean | null
|
||||
opens_at: string
|
||||
study_space_id: string | null
|
||||
updated_at: string | null
|
||||
}
|
||||
Insert: {
|
||||
closes_at: string
|
||||
created_at?: string | null
|
||||
day_of_week: number
|
||||
id?: string
|
||||
open_today_status?: boolean | null
|
||||
opens_at: string
|
||||
study_space_id?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
Update: {
|
||||
closes_at?: string
|
||||
created_at?: string | null
|
||||
day_of_week?: number
|
||||
id?: string
|
||||
open_today_status?: boolean | null
|
||||
opens_at?: string
|
||||
study_space_id?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "study_space_hours_study_space_id_fkey"
|
||||
columns: ["study_space_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "study_spaces"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
study_space_images: {
|
||||
Row: {
|
||||
created_at: string | null
|
||||
@@ -161,47 +202,6 @@ export type Database = {
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
study_space_hours: {
|
||||
Row: {
|
||||
id: string
|
||||
study_space_id: string
|
||||
day_of_week: number
|
||||
opens_at: string
|
||||
closes_at: string
|
||||
is_24_7: boolean
|
||||
created_at: string | null
|
||||
updated_at: string | null
|
||||
}
|
||||
Insert: {
|
||||
id?: string
|
||||
study_space_id: string
|
||||
day_of_week: number
|
||||
opens_at: string
|
||||
closes_at: string
|
||||
is_24_7: boolean
|
||||
created_at?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
Update: {
|
||||
id?: string
|
||||
study_space_id?: string
|
||||
day_of_week?: number
|
||||
opens_at?: string
|
||||
closes_at?: string
|
||||
is_24_7?: boolean
|
||||
created_at?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "study_space_hours_study_space_id_fkey"
|
||||
columns: ["study_space_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "study_spaces"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
[_ in never]: never
|
||||
@@ -331,3 +331,4 @@ export const Constants = {
|
||||
Enums: {},
|
||||
},
|
||||
} as const
|
||||
|
||||
|
||||
Reference in New Issue
Block a user