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

x/earthstar/src/entries/npm.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.2.0/src/entries/npm.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.