import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { DocInputEs5 } = Earthstar;
A partial es.5 doc that is about to get written. The rest of the properties will be computed automatically.
Properties
path: Path
optional
attachment: Uint8Array | ReadableStream<Uint8Array>Data as Uint8Array or ReadableStream, to be used as document's associated attachment.