Skip to content

Edge Function Index ​

15 edge functions under supabase/functions/ (excluding _shared). Type is inferred heuristically from the source — verify against the function before relying on it. See Backend architecture for the Type A / Type B model and the shared entrypoint pattern, and the EF doc template for per-function docs.

FunctionType (inferred)PurposeTests
biodata-readType A (public-capable)The READ function of the biodata bounded context (ADR-0031's context-prefix convention). Two✅
manage-accountType A (authenticated)Account-level operations for the caller's own account: change email, change✅
manage-biodataType A (public-capable)Every write to a marriage biodata: create the subject and their draft, save content, publish,✅
manage-chatType A (authenticated)The chat WRITE path. It did not exist until now: the RLS comment on conversations named "the✅
manage-itemType A (authenticated)Every write to the merchant's catalogue (the Store). Reads go through the get_my_catalogue✅
manage-mediaType A (authenticated)The upload path for every image in the product. Until this existed, _shared/r2.ts (the✅
manage-orderType A (authenticated)Every MERCHANT-side write to an order. Reads go through the get_my_order_book RPC, never here;✅
manage-reminderType A (authenticated)Every write to a user's reminders. Reads go through the get_reminders RPC, never here.✅
manage-setu-cardType A (authenticated)Every write to a merchant's Setu Card: its fields, its links, its opening hours, and the✅
place-public-orderWebhook (HMAC)A CUSTOMER places an order from a public Setu Card. The buyer may be anonymous or a registered✅
provision-workspaceType A (authenticated)Turns a signed-in USER into a MERCHANT: creates their workspace, their owner membership, and a✅
razorpay-webhookWebhook (HMAC)The only writer of gateway payment state. Receives Razorpay's signed events, records every one in✅
reconcile-paymentsWebhook (HMAC)Sweeps recent money for disagreements and RECORDS them. It is the reader that✅
send-auth-otpWebhook (HMAC)send-auth-otp — the Supabase Send SMS Hook adapter (QRS-804)✅
whatsapp-webhookWebhook (HMAC)The single ingress for everything Meta sends us: message status transitions today, and template✅

Generated 2026-09-29 from source.