@timlassiter11/yatl
    Preparing search index...

    Interface YatlCommitRecord<T>

    A commit record describing the changes to a single row.

    interface YatlCommitRecord<T extends object = UnspecifiedRecord> {
        changedFields: NestedKeyOf<T>[];
        changes: Partial<T>;
        mergedRow: T;
        originalRow: T;
        rowId: RowId;
    }

    Type Parameters

    Index

    Properties

    changedFields: NestedKeyOf<T>[]

    List of fields that changed during this transactions

    changes: Partial<T>

    A partial object of only the fields that changed and their new, parsed values.

    mergedRow: T

    A new row object containing the originalRow with the 'changes' deeply applied.

    originalRow: T

    A read-only reference to the original, unedited row data.

    rowId: RowId

    The unique identifier for the row