Move actual code implementations into module directories: - orders: 5 services, 4 models, order/invoice schemas - inventory: 3 services, 2 models, 30+ schemas - customers: 3 services, 2 models, customer schemas - messaging: 3 services, 2 models, message/notification schemas - monitoring: background_tasks_service - marketplace: 5+ services including letzshop submodule - dev_tools: code_quality_service, test_runner_service - billing: billing_service - contracts: definition.py Legacy files in app/services/, models/database/, models/schema/ now re-export from canonical module locations for backwards compatibility. Architecture validator passes with 0 errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
1006 B
Python
41 lines
1006 B
Python
# app/modules/orders/services/__init__.py
|
|
"""
|
|
Orders module services.
|
|
|
|
This module contains the canonical implementations of order-related services.
|
|
"""
|
|
|
|
from app.modules.orders.services.order_service import (
|
|
order_service,
|
|
OrderService,
|
|
)
|
|
from app.modules.orders.services.order_inventory_service import (
|
|
order_inventory_service,
|
|
OrderInventoryService,
|
|
)
|
|
from app.modules.orders.services.order_item_exception_service import (
|
|
order_item_exception_service,
|
|
OrderItemExceptionService,
|
|
)
|
|
from app.modules.orders.services.invoice_service import (
|
|
invoice_service,
|
|
InvoiceService,
|
|
)
|
|
from app.modules.orders.services.invoice_pdf_service import (
|
|
invoice_pdf_service,
|
|
InvoicePDFService,
|
|
)
|
|
|
|
__all__ = [
|
|
"order_service",
|
|
"OrderService",
|
|
"order_inventory_service",
|
|
"OrderInventoryService",
|
|
"order_item_exception_service",
|
|
"OrderItemExceptionService",
|
|
"invoice_service",
|
|
"InvoiceService",
|
|
"invoice_pdf_service",
|
|
"InvoicePDFService",
|
|
]
|