feat: Implement photo processing logic

This commit is contained in:
gpt-engineer-app[bot]
2025-09-30 15:40:49 +00:00
parent 14c399f293
commit 7bbf67156b
5 changed files with 702 additions and 53 deletions

View File

@@ -370,6 +370,66 @@ export type Database = {
},
]
}
photos: {
Row: {
approved_at: string | null
approved_by: string | null
caption: string | null
cloudflare_image_id: string
cloudflare_image_url: string
created_at: string
date_taken: string | null
entity_id: string
entity_type: string
id: string
is_featured: boolean | null
order_index: number | null
photographer_credit: string | null
submission_id: string | null
submitted_by: string | null
title: string | null
updated_at: string
}
Insert: {
approved_at?: string | null
approved_by?: string | null
caption?: string | null
cloudflare_image_id: string
cloudflare_image_url: string
created_at?: string
date_taken?: string | null
entity_id: string
entity_type: string
id?: string
is_featured?: boolean | null
order_index?: number | null
photographer_credit?: string | null
submission_id?: string | null
submitted_by?: string | null
title?: string | null
updated_at?: string
}
Update: {
approved_at?: string | null
approved_by?: string | null
caption?: string | null
cloudflare_image_id?: string
cloudflare_image_url?: string
created_at?: string
date_taken?: string | null
entity_id?: string
entity_type?: string
id?: string
is_featured?: boolean | null
order_index?: number | null
photographer_credit?: string | null
submission_id?: string | null
submitted_by?: string | null
title?: string | null
updated_at?: string
}
Relationships: []
}
profiles: {
Row: {
avatar_image_id: string | null