{"version":3,"file":"delete-login-roles.mjs","names":[],"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":";;;AAaA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,EAAE,OAAO,EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,EACzI,CAAC,CAAC,CAAC,SAAS,+EAaH;CACP,QAb4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gHAWhB;AACV,CAAC"}