Skip to main content
Module

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

Storage for private, distributed, offline-first applications.
Go to Latest
interface DocInputEs4
implements DocInputBase<"es.4">
import { type DocInputEs4 } from "https://deno.land/x/earthstar@v10.0.2/src/entries/universal.ts";

A partial es.4 doc that is about to get written. The rest of the properties will be computed automatically.

Properties

format: "es.4"

The format the document adheres to, e.g. es.4

path: Path
content: string
optional
timestamp: number

A UNIX timestamp in microseconds indicating when the document was written. Determined automatically if omitted.

optional
deleteAfter: number | null

A UNIX timestamp in microseconds indicating when the document should be deleted by.