- Update models/database/__init__.py to import from module locations - Update models/schema/__init__.py to remove deleted modules - Update models/__init__.py to import Inventory from module - Remove duplicate AdminNotification from models/database/admin.py - Fix monitoring module to import AdminNotification from messaging - Update stats schema imports in admin/vendor API - Update notification schema imports - Add order_item_exception.py schema to orders module - Fix app/api/v1/__init__.py to use storefront instead of shop - Add cms_admin_pages import to main.py - Fix password_reset_token imports - Fix AdminNotification test imports Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
519 B
Python
20 lines
519 B
Python
# app/modules/monitoring/models/__init__.py
|
|
"""
|
|
Monitoring module database models.
|
|
|
|
Re-exports monitoring-related models from their source locations.
|
|
"""
|
|
|
|
# CapacitySnapshot is in billing module (tracks system capacity over time)
|
|
from app.modules.billing.models import CapacitySnapshot
|
|
|
|
# Admin notification and logging models
|
|
from app.modules.messaging.models import AdminNotification
|
|
from models.database.admin import PlatformAlert
|
|
|
|
__all__ = [
|
|
"CapacitySnapshot",
|
|
"AdminNotification",
|
|
"PlatformAlert",
|
|
]
|