{"version":3,"file":"list-database-branches.cjs","names":["z","action"],"sources":["../../src/actions/list-database-branches.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 SupabaseListDatabaseBranchesInput = z.object({\n  ref: z.string().describe(\"The unique identifier (reference ID) of the Supabase project. This ID can be found in your project's dashboard URL (e.g., `https://supabase.com/dashboard/project/<project_id>`).\"),\n}).describe(\"Request schema for listing all database branches of a Supabase project.\");\nexport const SupabaseListDatabaseBranchesOutput = z.unknown();\n\nexport const supabaseListDatabaseBranches: AppAction<\n  typeof SupabaseListDatabaseBranchesInput,\n  typeof SupabaseListDatabaseBranchesOutput,\n  typeof supabase.credential\n> = action(\"SUPABASE_LIST_DATABASE_BRANCHES\", {\n  slug: \"supabase-list-database-branches\",\n  name: \"List all database branches\",\n  description: \"Lists all database branches for a specified Supabase project, used for isolated development and testing of schema changes; ensure the project reference ID is valid.\",\n  input: SupabaseListDatabaseBranchesInput,\n  output: SupabaseListDatabaseBranchesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC9M,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,qCAAqCA,IAAAA,EAAE,QAAQ;AAE5D,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}