"""Company domain registration"""
from ...common.registry import DomainRegistry
from schemas.company.company import CompanyResponse
from .sync_node import CompanySyncNode
from .sync_strategy import CompanySyncStrategy
from .jsonl_handler import CompanyJsonlHandler
from .api_handler import CompanyApiHandler

# 注册 company domain
DomainRegistry.register(
    node_type="company",
    schema=CompanyResponse,
    node_class=CompanySyncNode,
    strategy_class=CompanySyncStrategy,
    jsonl_handler_class=CompanyJsonlHandler,
    api_handler_class=CompanyApiHandler,
)