62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
# =============================================================================
|
|
# TFM aInventory - Frontend Configuration Schema (v1.12.0)
|
|
# =============================================================================
|
|
# Purpose: Configuration for the Next.js frontend application.
|
|
# =============================================================================
|
|
|
|
# --- API Connection ---
|
|
api:
|
|
# Note: backend_url is dynamically injected by the launcher script
|
|
# based on network.yaml settings to ensure SSOT integrity.
|
|
|
|
# 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
|