first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
"""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,
|
||||
)
|
||||
Reference in New Issue
Block a user