# Supabase Configuration
# Get these from your Supabase project: Settings → API
VITE_SUPABASE_URL=https://YOUR_PROJECT.supabase.co
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key_here

# Backend API Base URL (Supabase Edge Functions)
# Automatically derived from VITE_SUPABASE_URL + /functions/v1
# For production: https://YOUR_PROJECT.supabase.co/functions/v1
# For local dev: http://localhost:54321/functions/v1
VITE_API_URL=https://YOUR_PROJECT.supabase.co/functions/v1

# Frontend URL (for OAuth callbacks and redirects)
# For production: https://yourdomain.com
# For local dev: http://localhost:8080
VITE_FRONTEND_URL=http://localhost:8080

# GDPR Compliance Settings
# Hide data access policy settings from store owners for stricter GDPR compliance
# When set to 'true', the corresponding settings will be hidden in the UI
# and stores will use api_only mode by default (direct API access, no local caching)
VITE_HIDE_ORDERS_ACCESS_SETTINGS=true
VITE_HIDE_CUSTOMERS_ACCESS_SETTINGS=true

# Webshop Scraper Configuration
# Default scraper API URL (can be overridden per store)
# For local development: http://127.0.0.1:3000
# For production: https://your-scraper-api.com
VITE_DEFAULT_SCRAPER_API_URL=http://127.0.0.1:3000

# Call Log Analytics Feature Flag
# Enable manual analytics trigger button in call log details
# Set to 'true' to show the "Run Analytics" / "Retry Analytics" button
VITE_ENABLE_MANUAL_ANALYTICS=false
