"""Project domain registration"""
from ...common.registry import DomainRegistry
from .sync_node import ProjectSyncNode, ProjectSyncSchema
from .sync_strategy import ProjectSyncStrategy
from .jsonl_handler import ProjectJsonlHandler
from .api_handler import ProjectApiHandler

# 注册 project domain
DomainRegistry.register(
    node_type="project",
    schema=ProjectSyncSchema,
    node_class=ProjectSyncNode,
    strategy_class=ProjectSyncStrategy,
    jsonl_handler_class=ProjectJsonlHandler,
    api_handler_class=ProjectApiHandler,
)