MCPcopy
hub / github.com/cursor/community-plugins / createClient

Function createClient

apps/cursor/src/utils/supabase/admin-client.ts:8–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 * (e.g. `.eq("public", true)`) and ownership checks.
7 */
8export async function createClient() {
9 return createServerClient(
10 process.env.NEXT_PUBLIC_SUPABASE_URL!,
11 process.env.SUPABASE_SECRET_KEY!,
12 {
13 cookies: {
14 getAll() {
15 return null;
16 },
17 setAll() {},
18 },
19 },
20 );
21}

Callers 15

verify-plugin.tsFile · 0.90
update-plugin.tsFile · 0.90
review-plugin.tsFile · 0.90
insertPluginFunction · 0.90
loadPluginFunction · 0.90
markScanningFunction · 0.90
findSimilarPluginsFunction · 0.90
markScanFailedFunction · 0.90
applyBlockedShortCircuitFunction · 0.90
applyVerdictFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected