{"version":3,"file":"list-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-all-projects.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 SupabaseListAllProjectsInput = z.object({}).describe(\"Request schema for `ListAllProjects`\");\nexport const SupabaseListAllProjectsOutput = z.unknown();\n\nexport const supabaseListAllProjects: AppAction<\n  typeof SupabaseListAllProjectsInput,\n  typeof SupabaseListAllProjectsOutput,\n  typeof supabase.credential\n> = action(\"SUPABASE_LIST_ALL_PROJECTS\", {\n  slug: \"supabase-list-all-projects\",\n  name: \"List all projects\",\n  description: \"Retrieves a list of all Supabase projects, including their ID, name, region, and status, for the authenticated user. Authentication: - Requires a valid Bearer token in the Authorization header. - Token format: 'Bearer <access_token>' where access_token is either: - A Personal Access Token (PAT) generated from https://supabase.com/dashboard/account/tokens - An OAuth2 access token with the 'Projects.Read' scope Required Scope: - Projects.Read: Allows retrieval of project metadata. Returns: List of Project objects containing id, name, organization_id, region, status, database info, and created_at.\",\n  input: SupabaseListAllProjectsInput,\n  output: SupabaseListAllProjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC;AACxG,MAAa,gCAAgCA,IAAAA,EAAE,QAAQ;AAEvD,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}