Public typealias

A diff describing the changes to a record.

Signature
type RecordsDiff<R extends UnknownRecord> = {
  added: Record<IdOf<R>, R>
  removed: Record<IdOf<R>, R>
  updated: Record<IdOf<R>, [from: R, to: R]>
}
References

UnknownRecord, IdOf

Source

packages/store/src/lib/RecordsDiff.ts

RecordIdRecordType