"""Personnel domain registration"""
from ...common.registry import DomainRegistry
from schemas.power.power import PowerResponse
from .sync_node import PersonnelSyncNode
from .sync_strategy import PersonnelSyncStrategy
from .jsonl_handler import PersonnelJsonlHandler
from .api_handler import PersonnelApiHandler

# 注册 personnel domain
DomainRegistry.register(
    node_type="personnel",
    schema=PowerResponse,
    node_class=PersonnelSyncNode,
    strategy_class=PersonnelSyncStrategy,
    jsonl_handler_class=PersonnelJsonlHandler,
    api_handler_class=PersonnelApiHandler,
)