Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/entries/universal.ts>DocWithAttachment

Storage for private, distributed, offline-first applications.
Go to Latest
type alias DocWithAttachment
Re-export
import { type DocWithAttachment } from "https://deno.land/x/earthstar@v10.2.0/src/entries/universal.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; }