mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 21:51:17 -05:00
Approve Lovable Tool Use
This commit is contained in:
@@ -14,7 +14,650 @@ export type Database = {
|
||||
}
|
||||
public: {
|
||||
Tables: {
|
||||
[_ in never]: never
|
||||
companies: {
|
||||
Row: {
|
||||
company_type: string
|
||||
created_at: string
|
||||
description: string | null
|
||||
founded_year: number | null
|
||||
headquarters_location: string | null
|
||||
id: string
|
||||
logo_url: string | null
|
||||
name: string
|
||||
slug: string
|
||||
updated_at: string
|
||||
website_url: string | null
|
||||
}
|
||||
Insert: {
|
||||
company_type: string
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
founded_year?: number | null
|
||||
headquarters_location?: string | null
|
||||
id?: string
|
||||
logo_url?: string | null
|
||||
name: string
|
||||
slug: string
|
||||
updated_at?: string
|
||||
website_url?: string | null
|
||||
}
|
||||
Update: {
|
||||
company_type?: string
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
founded_year?: number | null
|
||||
headquarters_location?: string | null
|
||||
id?: string
|
||||
logo_url?: string | null
|
||||
name?: string
|
||||
slug?: string
|
||||
updated_at?: string
|
||||
website_url?: string | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
content_submissions: {
|
||||
Row: {
|
||||
content: Json
|
||||
created_at: string
|
||||
id: string
|
||||
reviewed_at: string | null
|
||||
reviewer_id: string | null
|
||||
reviewer_notes: string | null
|
||||
status: string
|
||||
submission_type: string
|
||||
updated_at: string
|
||||
user_id: string
|
||||
}
|
||||
Insert: {
|
||||
content: Json
|
||||
created_at?: string
|
||||
id?: string
|
||||
reviewed_at?: string | null
|
||||
reviewer_id?: string | null
|
||||
reviewer_notes?: string | null
|
||||
status?: string
|
||||
submission_type: string
|
||||
updated_at?: string
|
||||
user_id: string
|
||||
}
|
||||
Update: {
|
||||
content?: Json
|
||||
created_at?: string
|
||||
id?: string
|
||||
reviewed_at?: string | null
|
||||
reviewer_id?: string | null
|
||||
reviewer_notes?: string | null
|
||||
status?: string
|
||||
submission_type?: string
|
||||
updated_at?: string
|
||||
user_id?: string
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
locations: {
|
||||
Row: {
|
||||
city: string | null
|
||||
country: string
|
||||
created_at: string
|
||||
id: string
|
||||
latitude: number | null
|
||||
longitude: number | null
|
||||
name: string
|
||||
postal_code: string | null
|
||||
state_province: string | null
|
||||
timezone: string | null
|
||||
}
|
||||
Insert: {
|
||||
city?: string | null
|
||||
country: string
|
||||
created_at?: string
|
||||
id?: string
|
||||
latitude?: number | null
|
||||
longitude?: number | null
|
||||
name: string
|
||||
postal_code?: string | null
|
||||
state_province?: string | null
|
||||
timezone?: string | null
|
||||
}
|
||||
Update: {
|
||||
city?: string | null
|
||||
country?: string
|
||||
created_at?: string
|
||||
id?: string
|
||||
latitude?: number | null
|
||||
longitude?: number | null
|
||||
name?: string
|
||||
postal_code?: string | null
|
||||
state_province?: string | null
|
||||
timezone?: string | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
park_operating_hours: {
|
||||
Row: {
|
||||
closing_time: string | null
|
||||
created_at: string
|
||||
day_of_week: number
|
||||
id: string
|
||||
is_closed: boolean | null
|
||||
opening_time: string | null
|
||||
park_id: string
|
||||
season_end: string | null
|
||||
season_start: string | null
|
||||
}
|
||||
Insert: {
|
||||
closing_time?: string | null
|
||||
created_at?: string
|
||||
day_of_week: number
|
||||
id?: string
|
||||
is_closed?: boolean | null
|
||||
opening_time?: string | null
|
||||
park_id: string
|
||||
season_end?: string | null
|
||||
season_start?: string | null
|
||||
}
|
||||
Update: {
|
||||
closing_time?: string | null
|
||||
created_at?: string
|
||||
day_of_week?: number
|
||||
id?: string
|
||||
is_closed?: boolean | null
|
||||
opening_time?: string | null
|
||||
park_id?: string
|
||||
season_end?: string | null
|
||||
season_start?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "park_operating_hours_park_id_fkey"
|
||||
columns: ["park_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "parks"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
parks: {
|
||||
Row: {
|
||||
average_rating: number | null
|
||||
banner_image_url: string | null
|
||||
card_image_url: string | null
|
||||
closing_date: string | null
|
||||
coaster_count: number | null
|
||||
created_at: string
|
||||
description: string | null
|
||||
email: string | null
|
||||
id: string
|
||||
location_id: string | null
|
||||
name: string
|
||||
opening_date: string | null
|
||||
operator_id: string | null
|
||||
park_type: string
|
||||
phone: string | null
|
||||
property_owner_id: string | null
|
||||
review_count: number | null
|
||||
ride_count: number | null
|
||||
slug: string
|
||||
status: string
|
||||
updated_at: string
|
||||
website_url: string | null
|
||||
}
|
||||
Insert: {
|
||||
average_rating?: number | null
|
||||
banner_image_url?: string | null
|
||||
card_image_url?: string | null
|
||||
closing_date?: string | null
|
||||
coaster_count?: number | null
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
email?: string | null
|
||||
id?: string
|
||||
location_id?: string | null
|
||||
name: string
|
||||
opening_date?: string | null
|
||||
operator_id?: string | null
|
||||
park_type: string
|
||||
phone?: string | null
|
||||
property_owner_id?: string | null
|
||||
review_count?: number | null
|
||||
ride_count?: number | null
|
||||
slug: string
|
||||
status?: string
|
||||
updated_at?: string
|
||||
website_url?: string | null
|
||||
}
|
||||
Update: {
|
||||
average_rating?: number | null
|
||||
banner_image_url?: string | null
|
||||
card_image_url?: string | null
|
||||
closing_date?: string | null
|
||||
coaster_count?: number | null
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
email?: string | null
|
||||
id?: string
|
||||
location_id?: string | null
|
||||
name?: string
|
||||
opening_date?: string | null
|
||||
operator_id?: string | null
|
||||
park_type?: string
|
||||
phone?: string | null
|
||||
property_owner_id?: string | null
|
||||
review_count?: number | null
|
||||
ride_count?: number | null
|
||||
slug?: string
|
||||
status?: string
|
||||
updated_at?: string
|
||||
website_url?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "parks_location_id_fkey"
|
||||
columns: ["location_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "locations"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "parks_operator_id_fkey"
|
||||
columns: ["operator_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "companies"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "parks_property_owner_id_fkey"
|
||||
columns: ["property_owner_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "companies"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
profiles: {
|
||||
Row: {
|
||||
avatar_url: string | null
|
||||
bio: string | null
|
||||
coaster_count: number | null
|
||||
created_at: string
|
||||
date_of_birth: string | null
|
||||
display_name: string | null
|
||||
id: string
|
||||
location_id: string | null
|
||||
park_count: number | null
|
||||
privacy_level: string
|
||||
reputation_score: number | null
|
||||
review_count: number | null
|
||||
ride_count: number | null
|
||||
theme_preference: string
|
||||
updated_at: string
|
||||
user_id: string
|
||||
username: string
|
||||
}
|
||||
Insert: {
|
||||
avatar_url?: string | null
|
||||
bio?: string | null
|
||||
coaster_count?: number | null
|
||||
created_at?: string
|
||||
date_of_birth?: string | null
|
||||
display_name?: string | null
|
||||
id?: string
|
||||
location_id?: string | null
|
||||
park_count?: number | null
|
||||
privacy_level?: string
|
||||
reputation_score?: number | null
|
||||
review_count?: number | null
|
||||
ride_count?: number | null
|
||||
theme_preference?: string
|
||||
updated_at?: string
|
||||
user_id: string
|
||||
username: string
|
||||
}
|
||||
Update: {
|
||||
avatar_url?: string | null
|
||||
bio?: string | null
|
||||
coaster_count?: number | null
|
||||
created_at?: string
|
||||
date_of_birth?: string | null
|
||||
display_name?: string | null
|
||||
id?: string
|
||||
location_id?: string | null
|
||||
park_count?: number | null
|
||||
privacy_level?: string
|
||||
reputation_score?: number | null
|
||||
review_count?: number | null
|
||||
ride_count?: number | null
|
||||
theme_preference?: string
|
||||
updated_at?: string
|
||||
user_id?: string
|
||||
username?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "profiles_location_id_fkey"
|
||||
columns: ["location_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "locations"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
reviews: {
|
||||
Row: {
|
||||
content: string | null
|
||||
created_at: string
|
||||
helpful_votes: number | null
|
||||
id: string
|
||||
moderated_at: string | null
|
||||
moderated_by: string | null
|
||||
moderation_status: string
|
||||
park_id: string | null
|
||||
photos: Json | null
|
||||
rating: number
|
||||
ride_id: string | null
|
||||
title: string | null
|
||||
total_votes: number | null
|
||||
updated_at: string
|
||||
user_id: string
|
||||
visit_date: string | null
|
||||
wait_time_minutes: number | null
|
||||
}
|
||||
Insert: {
|
||||
content?: string | null
|
||||
created_at?: string
|
||||
helpful_votes?: number | null
|
||||
id?: string
|
||||
moderated_at?: string | null
|
||||
moderated_by?: string | null
|
||||
moderation_status?: string
|
||||
park_id?: string | null
|
||||
photos?: Json | null
|
||||
rating: number
|
||||
ride_id?: string | null
|
||||
title?: string | null
|
||||
total_votes?: number | null
|
||||
updated_at?: string
|
||||
user_id: string
|
||||
visit_date?: string | null
|
||||
wait_time_minutes?: number | null
|
||||
}
|
||||
Update: {
|
||||
content?: string | null
|
||||
created_at?: string
|
||||
helpful_votes?: number | null
|
||||
id?: string
|
||||
moderated_at?: string | null
|
||||
moderated_by?: string | null
|
||||
moderation_status?: string
|
||||
park_id?: string | null
|
||||
photos?: Json | null
|
||||
rating?: number
|
||||
ride_id?: string | null
|
||||
title?: string | null
|
||||
total_votes?: number | null
|
||||
updated_at?: string
|
||||
user_id?: string
|
||||
visit_date?: string | null
|
||||
wait_time_minutes?: number | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "reviews_park_id_fkey"
|
||||
columns: ["park_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "parks"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "reviews_ride_id_fkey"
|
||||
columns: ["ride_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "rides"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
ride_models: {
|
||||
Row: {
|
||||
category: string
|
||||
created_at: string
|
||||
description: string | null
|
||||
id: string
|
||||
manufacturer_id: string
|
||||
name: string
|
||||
ride_type: string
|
||||
slug: string
|
||||
technical_specs: Json | null
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
category: string
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
id?: string
|
||||
manufacturer_id: string
|
||||
name: string
|
||||
ride_type: string
|
||||
slug: string
|
||||
technical_specs?: Json | null
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
category?: string
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
id?: string
|
||||
manufacturer_id?: string
|
||||
name?: string
|
||||
ride_type?: string
|
||||
slug?: string
|
||||
technical_specs?: Json | null
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "ride_models_manufacturer_id_fkey"
|
||||
columns: ["manufacturer_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "companies"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
rides: {
|
||||
Row: {
|
||||
age_requirement: number | null
|
||||
average_rating: number | null
|
||||
capacity_per_hour: number | null
|
||||
category: string
|
||||
closing_date: string | null
|
||||
coaster_stats: Json | null
|
||||
created_at: string
|
||||
description: string | null
|
||||
designer_id: string | null
|
||||
duration_seconds: number | null
|
||||
height_requirement: number | null
|
||||
id: string
|
||||
image_url: string | null
|
||||
inversions: number | null
|
||||
length_meters: number | null
|
||||
manufacturer_id: string | null
|
||||
max_height_meters: number | null
|
||||
max_speed_kmh: number | null
|
||||
name: string
|
||||
opening_date: string | null
|
||||
park_id: string
|
||||
review_count: number | null
|
||||
ride_model_id: string | null
|
||||
slug: string
|
||||
status: string
|
||||
technical_specs: Json | null
|
||||
updated_at: string
|
||||
}
|
||||
Insert: {
|
||||
age_requirement?: number | null
|
||||
average_rating?: number | null
|
||||
capacity_per_hour?: number | null
|
||||
category: string
|
||||
closing_date?: string | null
|
||||
coaster_stats?: Json | null
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
designer_id?: string | null
|
||||
duration_seconds?: number | null
|
||||
height_requirement?: number | null
|
||||
id?: string
|
||||
image_url?: string | null
|
||||
inversions?: number | null
|
||||
length_meters?: number | null
|
||||
manufacturer_id?: string | null
|
||||
max_height_meters?: number | null
|
||||
max_speed_kmh?: number | null
|
||||
name: string
|
||||
opening_date?: string | null
|
||||
park_id: string
|
||||
review_count?: number | null
|
||||
ride_model_id?: string | null
|
||||
slug: string
|
||||
status?: string
|
||||
technical_specs?: Json | null
|
||||
updated_at?: string
|
||||
}
|
||||
Update: {
|
||||
age_requirement?: number | null
|
||||
average_rating?: number | null
|
||||
capacity_per_hour?: number | null
|
||||
category?: string
|
||||
closing_date?: string | null
|
||||
coaster_stats?: Json | null
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
designer_id?: string | null
|
||||
duration_seconds?: number | null
|
||||
height_requirement?: number | null
|
||||
id?: string
|
||||
image_url?: string | null
|
||||
inversions?: number | null
|
||||
length_meters?: number | null
|
||||
manufacturer_id?: string | null
|
||||
max_height_meters?: number | null
|
||||
max_speed_kmh?: number | null
|
||||
name?: string
|
||||
opening_date?: string | null
|
||||
park_id?: string
|
||||
review_count?: number | null
|
||||
ride_model_id?: string | null
|
||||
slug?: string
|
||||
status?: string
|
||||
technical_specs?: Json | null
|
||||
updated_at?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "rides_designer_id_fkey"
|
||||
columns: ["designer_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "companies"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "rides_manufacturer_id_fkey"
|
||||
columns: ["manufacturer_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "companies"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "rides_park_id_fkey"
|
||||
columns: ["park_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "parks"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
{
|
||||
foreignKeyName: "rides_ride_model_id_fkey"
|
||||
columns: ["ride_model_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "ride_models"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
user_ride_credits: {
|
||||
Row: {
|
||||
created_at: string
|
||||
first_ride_date: string | null
|
||||
id: string
|
||||
ride_count: number | null
|
||||
ride_id: string
|
||||
updated_at: string
|
||||
user_id: string
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string
|
||||
first_ride_date?: string | null
|
||||
id?: string
|
||||
ride_count?: number | null
|
||||
ride_id: string
|
||||
updated_at?: string
|
||||
user_id: string
|
||||
}
|
||||
Update: {
|
||||
created_at?: string
|
||||
first_ride_date?: string | null
|
||||
id?: string
|
||||
ride_count?: number | null
|
||||
ride_id?: string
|
||||
updated_at?: string
|
||||
user_id?: string
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "user_ride_credits_ride_id_fkey"
|
||||
columns: ["ride_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "rides"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
user_top_lists: {
|
||||
Row: {
|
||||
created_at: string
|
||||
description: string | null
|
||||
id: string
|
||||
is_public: boolean | null
|
||||
items: Json
|
||||
list_type: string
|
||||
title: string
|
||||
updated_at: string
|
||||
user_id: string
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
id?: string
|
||||
is_public?: boolean | null
|
||||
items: Json
|
||||
list_type: string
|
||||
title: string
|
||||
updated_at?: string
|
||||
user_id: string
|
||||
}
|
||||
Update: {
|
||||
created_at?: string
|
||||
description?: string | null
|
||||
id?: string
|
||||
is_public?: boolean | null
|
||||
items?: Json
|
||||
list_type?: string
|
||||
title?: string
|
||||
updated_at?: string
|
||||
user_id?: string
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
[_ in never]: never
|
||||
|
||||
Reference in New Issue
Block a user