"""
Core middleware package.

This package contains middleware components for the Django application,
including view tracking and other core functionality.
"""

from .analytics import PgHistoryContextMiddleware
from .nextjs import APIResponseMiddleware
from .view_tracking import ViewTrackingMiddleware, get_view_stats_for_content

__all__ = [
    "ViewTrackingMiddleware",
    "get_view_stats_for_content",
    "PgHistoryContextMiddleware",
    "APIResponseMiddleware",
]
