import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { IngestEventSuccess } = Earthstar;
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)