import { type DocInputEs5 } from "https://deno.land/x/earthstar@v10.2.0/src/formats/format_es5.ts";
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.