import { type DocWithAttachment } from "https://deno.land/x/earthstar@v10.2.0/src/entries/npm.ts";
A document with it's attachment merged onto a new attachment
property.
Type Parameters
D extends DocBase<string>
definition: D & { attachment: DocAttachment | undefined | ValidationError; }