import { type DocInputEs5 } from "https://deno.land/x/earthstar@v10.2.0/src/entries/universal.ts";
A partial es.5 doc that is about to get written. The rest of the properties will be computed automatically.
Properties
path: Path
Can be left blank if there is a previous version of the document with an attachment.
optional
attachment: Uint8Array | ReadableStream<Uint8Array>Data as Uint8Array or ReadableStream, to be used as document's associated attachment.
A UNIX timestamp in microseconds indicating when the document was written. Determined automatically if omitted.