from ...sync_system.strategy import DefaultSyncStrategy
from ...sync_system.config import StrategyConfig, OrphanAction, UpdateDirection
from .sync_node import AttachmentSchema


class AttachmentSyncStrategy(DefaultSyncStrategy[AttachmentSchema]):
    """
    Attachment 同步策略（仅作为依赖，不执行同步动作）。
    """

    schema = AttachmentSchema

    default_config = StrategyConfig(
        auto_bind=False,
        auto_bind_fields=[],
        depend_fields={},
        local_orphan_action=OrphanAction.NONE,
        remote_orphan_action=OrphanAction.NONE,
        update_direction=UpdateDirection.PUSH,
    )