"""Production domain registration"""
from ...common.registry import DomainRegistry
from schemas.project_extensions.production import ProductionDetail
from .sync_node import ProductionSyncNode
from .sync_strategy import ProductionSyncStrategy
from .jsonl_handler import ProductionJsonlHandler
from .api_handler import ProductionApiHandler

# 注册 production domain
DomainRegistry.register(
    node_type="production",
    schema=ProductionDetail,
    node_class=ProductionSyncNode,
    strategy_class=ProductionSyncStrategy,
    jsonl_handler_class=ProductionJsonlHandler,
    api_handler_class=ProductionApiHandler,
)