import { type IngestEventSuccess } from "https://deno.land/x/earthstar@v10.0.0/src/replica/replica-types.ts";
Type Parameters
DocType extends DocBase<string>
Properties
doc: DocType
prevDocFromSameAuthor: DocType | null
The most recent doc from the same author, at this path, before the new doc was written.
prevLatestDoc: DocType | null
the latest doc from any author at this path, before the new doc was written. note this is actually still the latest doc if the just-written doc is an older one (docIsLatest===false)