"""Material domain registration"""
from ...common.registry import DomainRegistry
from schemas.material.material import MaterialResponse
from .sync_node import MaterialSyncNode
from .sync_strategy import MaterialSyncStrategy
from .jsonl_handler import MaterialJsonlHandler
from .api_handler import MaterialApiHandler

# 注册 material domain
DomainRegistry.register(
    node_type="material",
    schema=MaterialResponse,
    node_class=MaterialSyncNode,
    strategy_class=MaterialSyncStrategy,
    jsonl_handler_class=MaterialJsonlHandler,
    api_handler_class=MaterialApiHandler,
)