Migrate billing module routes to self-contained structure: - routes/api/admin.py - Admin API endpoints - routes/api/vendor.py - Vendor API endpoints - routes/pages/ - Page routes (placeholder) - models/subscription.py - Subscription model (moved) - schemas/subscription.py - Pydantic schemas (moved) - locales/ - Translations (en, de, fr, lu) Removed legacy route files: - app/modules/billing/routes/admin.py - app/modules/billing/routes/vendor.py Updated __init__.py files to use new structure. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
369 B
Python
15 lines
369 B
Python
# app/modules/billing/routes/__init__.py
|
|
"""
|
|
Billing module route registration.
|
|
|
|
This module provides billing routes with module-based access control.
|
|
|
|
Structure:
|
|
- routes/api/ - REST API endpoints
|
|
- routes/pages/ - HTML page rendering (templates)
|
|
"""
|
|
|
|
from app.modules.billing.routes.api import admin_router, vendor_router
|
|
|
|
__all__ = ["admin_router", "vendor_router"]
|