Refactor: Update image upload components

This commit is contained in:
gpt-engineer-app[bot]
2025-10-01 18:36:43 +00:00
parent 1c7efe28c1
commit 69ce1a8132
8 changed files with 390 additions and 10 deletions

View File

@@ -77,6 +77,10 @@ export type Database = {
companies: {
Row: {
average_rating: number | null
banner_image_id: string | null
banner_image_url: string | null
card_image_id: string | null
card_image_url: string | null
company_type: string
created_at: string
description: string | null
@@ -93,6 +97,10 @@ export type Database = {
}
Insert: {
average_rating?: number | null
banner_image_id?: string | null
banner_image_url?: string | null
card_image_id?: string | null
card_image_url?: string | null
company_type: string
created_at?: string
description?: string | null
@@ -109,6 +117,10 @@ export type Database = {
}
Update: {
average_rating?: number | null
banner_image_id?: string | null
banner_image_url?: string | null
card_image_id?: string | null
card_image_url?: string | null
company_type?: string
created_at?: string
description?: string | null
@@ -806,6 +818,10 @@ export type Database = {
}
ride_models: {
Row: {
banner_image_id: string | null
banner_image_url: string | null
card_image_id: string | null
card_image_url: string | null
category: string
created_at: string
description: string | null
@@ -818,6 +834,10 @@ export type Database = {
updated_at: string
}
Insert: {
banner_image_id?: string | null
banner_image_url?: string | null
card_image_id?: string | null
card_image_url?: string | null
category: string
created_at?: string
description?: string | null
@@ -830,6 +850,10 @@ export type Database = {
updated_at?: string
}
Update: {
banner_image_id?: string | null
banner_image_url?: string | null
card_image_id?: string | null
card_image_url?: string | null
category?: string
created_at?: string
description?: string | null