Refactor: Implement database queue infrastructure

This commit is contained in:
gpt-engineer-app[bot]
2025-10-06 14:34:11 +00:00
parent a340985f32
commit 93a99432ec
2 changed files with 51 additions and 0 deletions

View File

@@ -208,55 +208,79 @@ export type Database = {
content_submissions: {
Row: {
approval_mode: string | null
assigned_at: string | null
assigned_to: string | null
content: Json
created_at: string
escalated: boolean | null
escalated_at: string | null
escalated_by: string | null
escalation_reason: string | null
first_reviewed_at: string | null
id: string
locked_until: string | null
original_submission_id: string | null
priority: number
resolved_at: string | null
review_count: number | null
reviewed_at: string | null
reviewer_id: string | null
reviewer_notes: string | null
status: string
submission_type: string
submitted_at: string
updated_at: string
user_id: string
}
Insert: {
approval_mode?: string | null
assigned_at?: string | null
assigned_to?: string | null
content: Json
created_at?: string
escalated?: boolean | null
escalated_at?: string | null
escalated_by?: string | null
escalation_reason?: string | null
first_reviewed_at?: string | null
id?: string
locked_until?: string | null
original_submission_id?: string | null
priority?: number
resolved_at?: string | null
review_count?: number | null
reviewed_at?: string | null
reviewer_id?: string | null
reviewer_notes?: string | null
status?: string
submission_type: string
submitted_at?: string
updated_at?: string
user_id: string
}
Update: {
approval_mode?: string | null
assigned_at?: string | null
assigned_to?: string | null
content?: Json
created_at?: string
escalated?: boolean | null
escalated_at?: string | null
escalated_by?: string | null
escalation_reason?: string | null
first_reviewed_at?: string | null
id?: string
locked_until?: string | null
original_submission_id?: string | null
priority?: number
resolved_at?: string | null
review_count?: number | null
reviewed_at?: string | null
reviewer_id?: string | null
reviewer_notes?: string | null
status?: string
submission_type?: string
submitted_at?: string
updated_at?: string
user_id?: string
}