"""Construction task detail domain registration"""
from ...common.registry import DomainRegistry
from schemas.construction.construction_detail import ConstructionDetailResponse
from .sync_node import ConstructionTaskDetailSyncNode
from .sync_strategy import ConstructionTaskDetailSyncStrategy
from .jsonl_handler import ConstructionTaskDetailJsonlHandler
from .api_handler import ConstructionTaskDetailApiHandler

# 注册 construction_task_detail domain
DomainRegistry.register(
    node_type="construction_task_detail",
    schema=ConstructionDetailResponse,
    node_class=ConstructionTaskDetailSyncNode,
    strategy_class=ConstructionTaskDetailSyncStrategy,
    jsonl_handler_class=ConstructionTaskDetailJsonlHandler,
    api_handler_class=ConstructionTaskDetailApiHandler,
)