import { MultiformatReplica } from "https://deno.land/x/earthstar@v10.2.0/mod.browser.ts";
Returns the given array of documents with a new attachment
property merged in. The value of this property can be:
DocAttachment
undefined
(the associated document can have an attachment, but we don't have a copy)ValidationError
(the associated document can't have an attachment)
Type Parameters
optional
F = DefaultFormatsParameters
docs: FormatDocType<F>[]
optional
formats: FormatsArg<F>Returns
Promise<Awaited<DocWithAttachment<FormatDocType<F>>>[]>