# ============================================================================= # TFM aInventory - Frontend Configuration Schema (v1.12.0) # ============================================================================= # Purpose: Configuration for the Next.js frontend application. # ============================================================================= # --- API Connection --- api: # Base URL of the backend API # Default: http://localhost:8916 # Environment: FRONTEND_API_BACKEND_URL or BACKEND_URL backend_url: "http://localhost:8916" # API timeout in milliseconds # Default: 30000 (30 seconds) # Environment: FRONTEND_API_TIMEOUT_MS timeout_ms: 30000 # --- Feature Flags & PWA --- features: # Enable PWA service worker? # Default: true service_worker_enabled: true # Enable offline functionality? # Default: true offline_enabled: true # Enable AI image extraction UI features? # Default: true ai_extraction_ui_enabled: true # --- PWA Branding --- pwa: # Application long name # Default: TFM aInventory app_name: "TFM aInventory" # Application short name for home screen # Default: aInventory short_name: "aInventory" # Initial URL to open on launch # Default: / start_url: "/" # Display mode (standalone|browser|minimal-ui|fullscreen) # Default: standalone display_mode: "standalone" # --- Feature Toggles --- toggles: # Enable built-in QR code scanner? # Default: true enable_qr_scanner: true # Enable built-in barcode scanner? # Default: true enable_barcode_scanner: true # Enable batch import functionality? # Default: true enable_batch_import: true