"""Contract change domain registration"""
from ...common.registry import DomainRegistry
from schemas.project_extensions.contract_change import ContractChangeResponse
from .sync_node import ContractChangeSyncNode
from .sync_strategy import ContractChangeSyncStrategy
from .api_handler import ContractChangeApiHandler
from .jsonl_handler import ContractChangeJsonlHandler

# 注册 contract_change domain
DomainRegistry.register(
    node_type="contract_change",
    schema=ContractChangeResponse,
    node_class=ContractChangeSyncNode,
    strategy_class=ContractChangeSyncStrategy,
    jsonl_handler_class=ContractChangeJsonlHandler,
    api_handler_class=ContractChangeApiHandler,
)