{"version":3,"file":"beta-enable-database-webhooks.mjs","names":[],"sources":["../../src/actions/beta-enable-database-webhooks.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 SupabaseBetaEnableDatabaseWebhooksInput = z.object({\n  ref: z.string().describe(\"The unique identifier for the Supabase project.\"),\n}).describe(\"Request schema for `BetaEnableDatabaseWebhooks`\");\nexport const SupabaseBetaEnableDatabaseWebhooksOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for `BetaEnableDatabaseWebhooks`.\\n\\nOfficial Supabase docs indicate a 201 response with an empty JSON object ({}),\\nso this model intentionally has no fields. The previous `data` field was removed\\nto match the documented empty response body.\");\n\nexport const supabaseBetaEnableDatabaseWebhooks: AppAction<\n  typeof SupabaseBetaEnableDatabaseWebhooksInput,\n  typeof SupabaseBetaEnableDatabaseWebhooksOutput,\n  typeof supabase.credential\n> = action(\"SUPABASE_BETA_ENABLE_DATABASE_WEBHOOKS\", {\n  slug: \"supabase-beta-enable-database-webhooks\",\n  name: \"Enable project database webhooks\",\n  description: \"Enables database webhooks for the Supabase project `ref`, triggering real-time notifications for INSERT, UPDATE, or DELETE events.\",\n  input: SupabaseBetaEnableDatabaseWebhooksInput,\n  output: SupabaseBetaEnableDatabaseWebhooksOutput,\n});\n"],"mappings":";;;AAWA,MAAa,qCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqD,EAAE,OAAO,EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC5E,CAAC,CAAC,CAAC,SAAS,iDAWH;CACP,QAXsD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qQAWzF;AACV,CAAC"}