import { Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { ReplicaCache } = Earthstar;
Add a new document directly to the backing replica.
Type Parameters
optional
F = DefaultFormatReturns
Promise<IngestEvent<FormatDocType<F>> | ValidationError>