o
    Eý¤h  ã                   @   s   d Z dS )aô  
app_modules package

Purpose:
  - Provide a modular structure for the Flask application so that `app.py` acts
    purely as the initializer/entrypoint while all business logic, routes,
    helpers, and configuration live in dedicated modules.

Contents:
  - paths.py: Centralized filesystem paths (ROOT_DIR, STATIC_PATH, DB_PATH)
  - config.py: Flask configuration classes and helpers
  - db.py: SQLite connection lifecycle and teardown registration
  - security.py: Authentication/authorization decorators
  - assets.py: Icon/url helpers, icon context processor, and /assets blueprint
  - helpers.py: Timestamp parsing, formatting, and path normalization helpers
  - images_service.py: Image collection, grouping, and latest-file discovery
  - views.py: Auth pages (login/logout), selection, and add-camera view
  - cameras_api.py: CRUD API for cameras
  - gallery.py: Gallery routes and image deletion API
  - map_routes.py: Map and markers routes/APIs (Leaflet integration)
  - admin_routes.py: Admin panel and admin actions

Usage:
  - `app.py` imports blueprints and init helpers from this package and registers
    them on the Flask app. All modules are designed to be import-safe and have
    no side effects until `init_app` or blueprint registration occurs.
N)Ú__doc__© r   r   ú%/var/www/html/app_modules/__init__.pyÚ<module>   s    