16 lines
570 B
Python
16 lines
570 B
Python
"""Attachment domain registration"""
|
|
from ...common.registry import DomainRegistry
|
|
from .sync_node import AttachmentSyncNode, AttachmentSchema
|
|
from .sync_strategy import AttachmentSyncStrategy
|
|
from .jsonl_handler import AttachmentJsonlHandler
|
|
from .api_handler import AttachmentApiHandler
|
|
|
|
# 注册 attachment domain
|
|
DomainRegistry.register(
|
|
node_type="attachment",
|
|
schema=AttachmentSchema,
|
|
node_class=AttachmentSyncNode,
|
|
strategy_class=AttachmentSyncStrategy,
|
|
jsonl_handler_class=AttachmentJsonlHandler,
|
|
api_handler_class=AttachmentApiHandler,
|
|
) |