Add TypeScript definitions for Supabase edge runtime
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// supabase/functions/ai-structured/index.ts
|
||||
import OpenAI from "jsr:@openai/openai";
|
||||
import { createClient } from "jsr:@supabase/supabase-js";
|
||||
import "jsr:@supabase/functions-js/edge-runtime.d.ts";
|
||||
|
||||
|
||||
const corsHeaders = {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
|
||||
Reference in New Issue
Block a user