MCPcopy Index your code
hub / github.com/cursor/community-plugins / getPendingPlugins

Function getPendingPlugins

apps/cursor/src/data/queries.ts:473–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

471}
472
473export async function getPendingPlugins() {
474 const supabase = await createClient();
475
476 return fetchAllPages<PluginRow>(async (from, to) => {
477 const { data, error } = await supabase
478 .from("plugins")
479 .select("*, plugin_components(*)")
480 .eq("active", false)
481 .order("created_at", { ascending: false })
482 .range(from, to);
483 return { data: data as PluginRow[] | null, error };
484 }, 100);
485}
486
487export async function getFlaggedPlugins() {
488 const supabase = await createClient();

Callers 1

AdminPluginsContentFunction · 0.90

Calls 2

createClientFunction · 0.90
fetchAllPagesFunction · 0.90

Tested by

no test coverage detected