mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 15:31:13 -05:00
Implement database queue infrastructure
This commit is contained in:
@@ -2170,7 +2170,19 @@ export type Database = {
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
[_ in never]: never
|
||||
moderation_sla_metrics: {
|
||||
Row: {
|
||||
avg_resolution_hours: number | null
|
||||
avg_wait_hours: number | null
|
||||
currently_locked: number | null
|
||||
escalated_count: number | null
|
||||
max_wait_hours: number | null
|
||||
pending_count: number | null
|
||||
reassigned_count: number | null
|
||||
submission_type: string | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
}
|
||||
Functions: {
|
||||
calculate_submission_priority: {
|
||||
@@ -2218,6 +2230,14 @@ export type Database = {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: undefined
|
||||
}
|
||||
extend_submission_lock: {
|
||||
Args: {
|
||||
extension_duration?: unknown
|
||||
moderator_id: string
|
||||
submission_id: string
|
||||
}
|
||||
Returns: string
|
||||
}
|
||||
extract_cf_image_id: {
|
||||
Args: { url: string }
|
||||
Returns: string
|
||||
@@ -2278,6 +2298,14 @@ export type Database = {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: undefined
|
||||
}
|
||||
release_expired_locks: {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: number
|
||||
}
|
||||
release_submission_lock: {
|
||||
Args: { moderator_id: string; submission_id: string }
|
||||
Returns: boolean
|
||||
}
|
||||
update_company_ratings: {
|
||||
Args: { target_company_id: string }
|
||||
Returns: undefined
|
||||
|
||||
Reference in New Issue
Block a user