Interface

TimelineEditPreview

Shared preview result produced for every edit command.

Signature

Type Definition
Interface TimelineEditPreview

Properties

NameSignatureDescription
affectedRangesaffectedRanges: TimelineEditAffectedRange[]Timeline ranges affected by the edit.
changedClipschangedClips: Clip[]Existing clips after the edit changes them.
commandcommand: TimelineEditCommandCommand that produced this preview.
createdClipscreatedClips: Clip[]New clips created by the edit.
guideMetadata?guideMetadata?: Record<string, unknown>Lightweight app/UI metadata for custom edit guides.
impactsimpacts: TimelineEditImpact[]Clip-level consequences available to renderer and headless UI affordances.
message?message?: stringOptional human-readable note for app UI.
reasonreason: TimelineEditRejectionReason | nullMachine-readable rejection reason when invalid.
removedClipsremovedClips: Clip[]Existing clips removed by the edit.
snapsnap: TimelineSnapResult | nullSnap result used while resolving the command, if any.
validvalid: booleanWhether the command can be committed.