first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"""User domain registration"""
|
||||
from ...common.registry import DomainRegistry
|
||||
from schemas.user.user import UserListDetailItem
|
||||
from .sync_node import UserSyncNode
|
||||
from .sync_strategy import UserSyncStrategy
|
||||
from .jsonl_handler import UserJsonlHandler
|
||||
from .api_handler import UserApiHandler
|
||||
|
||||
# 注册 user domain
|
||||
DomainRegistry.register(
|
||||
node_type="user",
|
||||
schema=UserListDetailItem,
|
||||
node_class=UserSyncNode,
|
||||
strategy_class=UserSyncStrategy,
|
||||
jsonl_handler_class=UserJsonlHandler,
|
||||
api_handler_class=UserApiHandler,
|
||||
)
|
||||
Reference in New Issue
Block a user