# app/modules/cms/routes/api/store.py
"""
CMS module store API routes.

Aggregates all store CMS routes:
- /content-pages/* - Content page management
- /media/* - Media library management
"""

from fastapi import APIRouter

from .store_content_pages import store_content_pages_router
from .store_media import store_media_router

# Route configuration for auto-discovery
ROUTE_CONFIG = {
    "priority": 100,  # Register last (CMS has catch-all slug routes)
}

router = APIRouter()

# Aggregate all CMS store routes
router.include_router(store_content_pages_router, tags=["store-content-pages"])
router.include_router(store_media_router, tags=["store-media"])
