type

ImportOptions

type ImportOptions struct { // ID preserves the source document identity. ID string // Status preserves the source draft or published status. Status store.Status // CreatedAt preserves the source creation timestamp. CreatedAt time.Time // UpdatedAt preserves the source modification timestamp. UpdatedAt time.Time }

Migration-owned source identity, status, and timestamps.

Source core/local.go:199

IDstring
Source document identity to preserve.
Statusstore.Status
Source draft or published status to preserve.
CreatedAttime.Time
Source creation timestamp to preserve.
UpdatedAttime.Time
Source modification timestamp to preserve.

LocalAPI.Import still runs access, field validation, hooks, transaction, reference, upload, and version logic. Use only for trusted migrations.