Represents a single change detected during diff operation

interface DiffChange {
    description: string;
    newValue?: any;
    oldValue?: any;
    path: string;
    type: DiffChangeType;
}

Properties

description: string

Human-readable description of the change

newValue?: any

The new value (undefined for Removed changes)

oldValue?: any

The original value (undefined for Added changes)

path: string

The path to the changed value (e.g., "user.profile.name" or "items[2].id")

The type of change that occurred