Skip to main content

Storage Buckets

Grouple uses 3 Supabase Storage buckets:

venue-images (Public)

Stores venue photos uploaded by merchants during onboarding and venue editing.
  • Access: Public read, authenticated write
  • Size limit: 512KB per file
  • Used by: Merchant onboarding, venue edit pages
  • RLS: Authenticated users can upload to their own UID folder; public can view

Logos (Public)

Stores merchant/venue logos.
  • Access: Public read, authenticated write
  • Size limit: No limit
  • Used by: Merchant onboarding, profile settings
  • RLS: Public can view; authenticated users can upload to their own UID folder

venue-brochures (Private)

Stores venue PDFs and menu documents for AI extraction.
  • Access: Private (merchant-only read/write)
  • Size limit: No limit
  • Used by: PDF Extract Worker (OCR), mistral-ocr Edge Function, venue_knowledge table
  • RLS: Merchants can only access files in their own venue folder

Upload Flows

Venue Images

Venue Brochures / Menu PDFs