# app/modules/contracts/definition.py
"""
Contracts module definition.

Cross-module contracts and Protocol interfaces.
Infrastructure module - cannot be disabled.
"""

from app.modules.base import ModuleDefinition

contracts_module = ModuleDefinition(
    code="contracts",
    name="Module Contracts",
    description="Cross-module contracts using Protocol pattern for type-safe inter-module communication.",
    version="1.0.0",
    is_core=True,
    features=[
        "service_protocols",
        "cross_module_interfaces",
    ],
    menu_items={},  # Infrastructure module - no UI
)

__all__ = ["contracts_module"]
