"""LAR domain registration"""
from ...common.registry import DomainRegistry
from schemas.project_extensions.lar import LarDetailSchema
from .sync_node import LarSyncNode
from .sync_strategy import LarSyncStrategy
from .jsonl_handler import LarJsonlHandler
from .api_handler import LarApiHandler

# 注册 lar domain
DomainRegistry.register(
    node_type="lar",
    schema=LarDetailSchema,
    node_class=LarSyncNode,
    strategy_class=LarSyncStrategy,
    jsonl_handler_class=LarJsonlHandler,
    api_handler_class=LarApiHandler,
)