feat: Implement contact page and backend

This commit is contained in:
gpt-engineer-app[bot]
2025-10-28 17:01:57 +00:00
parent e2bd71cf24
commit e5f8ecefeb
11 changed files with 1510 additions and 0 deletions

View File

@@ -441,6 +441,84 @@ export type Database = {
},
]
}
contact_rate_limits: {
Row: {
email: string
last_submission_at: string
submission_count: number
window_start: string
}
Insert: {
email: string
last_submission_at?: string
submission_count?: number
window_start?: string
}
Update: {
email?: string
last_submission_at?: string
submission_count?: number
window_start?: string
}
Relationships: []
}
contact_submissions: {
Row: {
admin_notes: string | null
assigned_to: string | null
category: string
created_at: string
email: string
id: string
ip_address_hash: string | null
message: string
name: string
resolved_at: string | null
resolved_by: string | null
status: string
subject: string
updated_at: string
user_agent: string | null
user_id: string | null
}
Insert: {
admin_notes?: string | null
assigned_to?: string | null
category: string
created_at?: string
email: string
id?: string
ip_address_hash?: string | null
message: string
name: string
resolved_at?: string | null
resolved_by?: string | null
status?: string
subject: string
updated_at?: string
user_agent?: string | null
user_id?: string | null
}
Update: {
admin_notes?: string | null
assigned_to?: string | null
category?: string
created_at?: string
email?: string
id?: string
ip_address_hash?: string | null
message?: string
name?: string
resolved_at?: string | null
resolved_by?: string | null
status?: string
subject?: string
updated_at?: string
user_agent?: string | null
user_id?: string | null
}
Relationships: []
}
content_submissions: {
Row: {
approval_mode: string | null