{"version":3,"file":"get-health.cjs","names":["z","action"],"sources":["../../src/actions/get-health.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 SupabaseGetHealthInput = z.object({}).describe(\"Request schema for `GetHealth`\");\nexport const SupabaseGetHealthOutput = z.object({\n  healthy: z.boolean().describe(\"Health status indicator. True when the service is operational.\").nullable(),\n}).passthrough().describe(\"Response schema for `GetHealth`\");\n\nexport const supabaseGetHealth: AppAction<\n  typeof SupabaseGetHealthInput,\n  typeof SupabaseGetHealthOutput,\n  typeof supabase.credential\n> = action(\"SUPABASE_GET_HEALTH\", {\n  slug: \"supabase-get-health\",\n  name: \"Get API Health Status\",\n  description: \"Tool to check the health status of the Supabase API. Use when you need to verify API availability or troubleshoot connectivity issues.\",\n  input: SupabaseGetHealthInput,\n  output: SupabaseGetHealthOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5F,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAE3D,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}