{"version":3,"file":"delete-login-roles.cjs","names":["z","action"],"sources":["../../src/actions/delete-login-roles.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 SupabaseDeleteLoginRolesInput = z.object({\n  ref: z.string().describe(\"The unique project reference identifier for the Supabase project from which CLI login roles will be deleted.\"),\n}).describe(\"Request schema for deleting existing CLI login roles from a Supabase project.\");\nexport const SupabaseDeleteLoginRolesOutput = z.object({\n  message: z.string().describe(\"Confirmation message indicating the CLI login roles were successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting CLI login roles.\\n\\nThe API returns {\\\"message\\\": \\\"ok\\\"} on successful deletion.\");\n\nexport const supabaseDeleteLoginRoles: AppAction<\n  typeof SupabaseDeleteLoginRolesInput,\n  typeof SupabaseDeleteLoginRolesOutput,\n  typeof supabase.credential\n> = action(\"SUPABASE_DELETE_LOGIN_ROLES\", {\n  slug: \"supabase-delete-login-roles\",\n  name: \"Delete CLI login roles\",\n  description: \"[Beta] Deletes existing login roles used by the Supabase CLI for the specified project. Use when you need to remove CLI authentication roles that were previously created for project access.\",\n  input: SupabaseDeleteLoginRolesInput,\n  output: SupabaseDeleteLoginRolesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EACzI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gHAAgH;AAE1I,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}