import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { QuerySourceMode } = Earthstar;
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 initiatedeverything
- Both pre-existing and incoming documents.