from __future__ import annotations from pydantic import BaseModel, Field class ImportSyncDiffItem(BaseModel): qualified_name: str name: str object_kind: str group_name: str | None = None change_kind: str before_hash: str | None = None after_hash: str | None = None class ImportSyncPreview(BaseModel): mode: str = "SYNC_PREVIEW" applied: bool = False status: str = "preview_only" message: str added_count: int = 0 removed_count: int = 0 changed_count: int = 0 unchanged_count: int = 0 items: list[ImportSyncDiffItem] = Field(default_factory=list)