{"version":3,"file":"list-functions.cjs","names":["z","action"],"sources":["../../src/actions/list-functions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { supabase } from \"../app\";\n\nexport const SupabaseListFunctionsInput = z.object({\n  ref: z.string().describe(\"The unique identifier of the Supabase project.\"),\n}).describe(\"Request schema for listing all Edge Functions in a Supabase project.\");\nexport const SupabaseListFunctionsOutput = z.unknown();\n\nexport const supabaseListFunctions: AppAction<\n  typeof SupabaseListFunctionsInput,\n  typeof SupabaseListFunctionsOutput,\n  typeof supabase.credential\n> = action(\"SUPABASE_LIST_FUNCTIONS\", {\n  slug: \"supabase-list-functions\",\n  name: \"List all functions\",\n  description: \"Lists metadata for all Edge Functions in a Supabase project (specified by 'ref'), excluding function code or logs; the project must exist.\",\n  input: SupabaseListFunctionsInput,\n  output: SupabaseListFunctionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC3E,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,8BAA8BA,IAAAA,EAAE,QAAQ;AAErD,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}