()
| 510 | } |
| 511 | |
| 512 | export async function getPendingVerificationRequests() { |
| 513 | const supabase = await createClient(); |
| 514 | const { data, error } = await supabase |
| 515 | .from("plugins") |
| 516 | .select("*, plugin_components(*)") |
| 517 | .not("verification_requested_at", "is", null) |
| 518 | .eq("verified", false) |
| 519 | .order("verification_requested_at", { ascending: false, nullsFirst: false }) |
| 520 | .limit(500); |
| 521 | |
| 522 | return { data: data as PluginRow[] | null, error }; |
| 523 | } |
| 524 | |
| 525 | export async function getStuckScans() { |
| 526 | const supabase = await createClient(); |
no test coverage detected