"""Material detail domain registration"""
from ...common.registry import DomainRegistry
from schemas.material.material_detail import MaterialDetailResponse
from .sync_node import MaterialDetailSyncNode
from .sync_strategy import MaterialDetailSyncStrategy
from .jsonl_handler import MaterialDetailJsonlHandler
from .api_handler import MaterialDetailApiHandler

# 注册 material_detail domain
DomainRegistry.register(
    node_type="material_detail",
    schema=MaterialDetailResponse,
    node_class=MaterialDetailSyncNode,
    strategy_class=MaterialDetailSyncStrategy,
    jsonl_handler_class=MaterialDetailJsonlHandler,
    api_handler_class=MaterialDetailApiHandler,
)