Sync / foldkit-sync/entity

Replaced

interface · packages/sync/src/entity.ts:57

interface Replaced<Edit> {
  readonly edit: Edit
  readonly by: Option.Option<Author>
}

A cell this replica last wrote that a later edit replaced: its edit, and what the cell holds now.

Members

Replaced.edit

property · packages/sync/src/entity.ts:58

readonly edit: Edit

Replaced.by

property · packages/sync/src/entity.ts:60

readonly by: Option.Option<Author>

The later edit's author, when the slice still says; none once the journal absorbed it.