"""ProjectDetail domain registration"""
from ...common.registry import DomainRegistry
from schemas.project_extensions.project_detail import ProjectDetailProject
from .sync_node import ProjectDetailSyncNode
from .sync_strategy import ProjectDetailSyncStrategy
from .jsonl_handler import ProjectDetailJsonlHandler
from .api_handler import ProjectDetailApiHandler

# 注册 project_detail_data domain
DomainRegistry.register(
    node_type="project_detail_data",
    schema=ProjectDetailProject,
    node_class=ProjectDetailSyncNode,
    strategy_class=ProjectDetailSyncStrategy,
    jsonl_handler_class=ProjectDetailJsonlHandler,
    api_handler_class=ProjectDetailApiHandler,
)
