refactor: update module imports to use module locations
Update all module files to import from canonical module locations instead of legacy re-export files: - checkout, orders, customers routes: use module schemas - catalog, marketplace schemas: use inventory module schemas - marketplace, customers, inventory, analytics services: use module models Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1
app/modules/customers/locales/de.json
Normal file
1
app/modules/customers/locales/de.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
app/modules/customers/locales/en.json
Normal file
1
app/modules/customers/locales/en.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
app/modules/customers/locales/fr.json
Normal file
1
app/modules/customers/locales/fr.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
1
app/modules/customers/locales/lu.json
Normal file
1
app/modules/customers/locales/lu.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -38,7 +38,7 @@ from models.schema.auth import (
|
||||
PasswordResetResponse,
|
||||
UserLogin,
|
||||
)
|
||||
from models.schema.customer import (
|
||||
from app.modules.customers.schemas import (
|
||||
CustomerAddressCreate,
|
||||
CustomerAddressListResponse,
|
||||
CustomerAddressResponse,
|
||||
|
||||
4
app/modules/customers/routes/pages/__init__.py
Normal file
4
app/modules/customers/routes/pages/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# Page routes will be added here
|
||||
# TODO: Add HTML page routes for admin/vendor dashboards
|
||||
|
||||
__all__ = []
|
||||
@@ -329,7 +329,7 @@ class CustomerService:
|
||||
Raises:
|
||||
CustomerNotFoundException: If customer not found
|
||||
"""
|
||||
from models.database.order import Order
|
||||
from app.modules.orders.models import Order
|
||||
|
||||
# Verify customer belongs to vendor
|
||||
self.get_customer(db, vendor_id, customer_id)
|
||||
@@ -365,7 +365,7 @@ class CustomerService:
|
||||
"""
|
||||
from sqlalchemy import func
|
||||
|
||||
from models.database.order import Order
|
||||
from app.modules.orders.models import Order
|
||||
|
||||
customer = self.get_customer(db, vendor_id, customer_id)
|
||||
|
||||
|
||||
0
app/modules/customers/static/admin/js/.gitkeep
Normal file
0
app/modules/customers/static/admin/js/.gitkeep
Normal file
0
app/modules/customers/static/vendor/js/.gitkeep
vendored
Normal file
0
app/modules/customers/static/vendor/js/.gitkeep
vendored
Normal file
0
app/modules/customers/templates/customers/vendor/.gitkeep
vendored
Normal file
0
app/modules/customers/templates/customers/vendor/.gitkeep
vendored
Normal file
Reference in New Issue
Block a user