mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 15:31:13 -05:00
Implement remaining queue functions
This commit is contained in:
@@ -2173,6 +2173,10 @@ export type Database = {
|
||||
[_ in never]: never
|
||||
}
|
||||
Functions: {
|
||||
calculate_submission_priority: {
|
||||
Args: { submission_id: string }
|
||||
Returns: number
|
||||
}
|
||||
can_approve_submission_item: {
|
||||
Args: { item_id: string }
|
||||
Returns: boolean
|
||||
@@ -2201,6 +2205,15 @@ export type Database = {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: boolean
|
||||
}
|
||||
claim_next_submission: {
|
||||
Args: { lock_duration?: unknown; moderator_id: string }
|
||||
Returns: {
|
||||
priority: number
|
||||
submission_id: string
|
||||
submission_type: string
|
||||
waiting_time: unknown
|
||||
}[]
|
||||
}
|
||||
cleanup_expired_sessions: {
|
||||
Args: Record<PropertyKey, never>
|
||||
Returns: undefined
|
||||
|
||||
Reference in New Issue
Block a user