Implement bulletproof rejection flow

- Adds atomic rejection transaction edge function and RPC
- Updates moderation client to use new rejection path
- Introduces rejection transaction migration and supporting readouts
- Moves photo-related approval handling toward RPC-based flow
- Lays groundwork for idempotency and resilience in moderation actions
This commit is contained in:
gpt-engineer-app[bot]
2025-11-10 13:20:16 +00:00
parent 403bc78765
commit 92b5d6e33d
3 changed files with 355 additions and 9 deletions

View File

@@ -0,0 +1,4 @@
export const corsHeaders = {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type',
};