{"version":3,"file":"list-secrets.cjs","names":["z","action"],"sources":["../../src/actions/list-secrets.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 SupabaseListSecretsInput = z.object({\n  ref: z.string().describe(\"The unique reference ID (ref) of the Supabase project whose secrets are to be retrieved.\"),\n}).describe(\"Defines the request structure for listing all secrets of a Supabase project.\");\nexport const SupabaseListSecretsOutput = z.unknown();\n\nexport const supabaseListSecrets: AppAction<\n  typeof SupabaseListSecretsInput,\n  typeof SupabaseListSecretsOutput,\n  typeof supabase.credential\n> = action(\"SUPABASE_LIST_SECRETS\", {\n  slug: \"supabase-list-secrets\",\n  name: \"List all secrets\",\n  description: \"Retrieves all secrets for a Supabase project using its reference ID; secret values in the response may be masked.\",\n  input: SupabaseListSecretsInput,\n  output: SupabaseListSecretsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EACrH,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,4BAA4BA,IAAAA,EAAE,QAAQ;AAEnD,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}