"""Construction task domain registration"""
from ...common.registry import DomainRegistry
from schemas.construction.construction import ConstructionResponse
from .sync_node import ConstructionTaskSyncNode
from .sync_strategy import ConstructionTaskSyncStrategy
from .jsonl_handler import ConstructionTaskJsonlHandler
from .api_handler import ConstructionTaskApiHandler

# 注册 construction_task domain
DomainRegistry.register(
    node_type="construction_task",
    schema=ConstructionResponse,
    node_class=ConstructionTaskSyncNode,
    strategy_class=ConstructionTaskSyncStrategy,
    jsonl_handler_class=ConstructionTaskJsonlHandler,
    api_handler_class=ConstructionTaskApiHandler,
)