- Auto-fixed 4,496 lint issues (import sorting, modern syntax, etc.) - Added ignore rules for patterns intentional in this codebase: E402 (late imports), E712 (SQLAlchemy filters), B904 (raise from), SIM108/SIM105/SIM117 (readability preferences) - Added per-file ignores for tests and scripts - Excluded broken scripts/rename_terminology.py (has curly quotes) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
844 B
Python
27 lines
844 B
Python
# app/modules/messaging/routes/api/__init__.py
|
|
"""
|
|
Messaging module API routes.
|
|
|
|
Admin routes:
|
|
- /messages/* - Conversation and message management
|
|
- /notifications/* - Admin notifications and platform alerts
|
|
|
|
Store routes:
|
|
- /messages/* - Conversation and message management
|
|
- /notifications/* - Store notifications
|
|
- /email-settings/* - SMTP and provider configuration
|
|
- /email-templates/* - Email template customization
|
|
|
|
Storefront routes:
|
|
- Customer-facing messaging
|
|
"""
|
|
|
|
from app.modules.messaging.routes.api.admin import admin_router
|
|
from app.modules.messaging.routes.api.store import store_router
|
|
from app.modules.messaging.routes.api.storefront import router as storefront_router
|
|
|
|
# Tag for OpenAPI documentation
|
|
STOREFRONT_TAG = "Messages (Storefront)"
|
|
|
|
__all__ = ["admin_router", "storefront_router", "store_router", "STOREFRONT_TAG"]
|