fix: resolve all remaining legacy import issues
- 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>
This commit is contained in:
@@ -9,10 +9,8 @@ Re-exports monitoring-related models from their source locations.
|
||||
from app.modules.billing.models import CapacitySnapshot
|
||||
|
||||
# Admin notification and logging models
|
||||
from models.database.admin import (
|
||||
AdminNotification,
|
||||
PlatformAlert,
|
||||
)
|
||||
from app.modules.messaging.models import AdminNotification
|
||||
from models.database.admin import PlatformAlert
|
||||
|
||||
__all__ = [
|
||||
"CapacitySnapshot",
|
||||
|
||||
Reference in New Issue
Block a user