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

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

Storage for private, distributed, offline-first applications.
Go to Latest
type alias QuerySourceMode
Re-export
import { type QuerySourceMode } from "https://deno.land/x/earthstar@v10.2.0/src/entries/universal.ts";

A mode representing what kind of docs are desired from a query stream.

  • existing - Only pre-existing documents.
  • new - Only documents written after the stream is initiated
  • everything - Both pre-existing and incoming documents.
definition: "existing" | "new" | "everything"