import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { Query } = Earthstar;
Describes a query for fetching documents from a replica.
Type Parameters
FormatsType extends FormatName[]
Properties
optional
historyMode: HistoryModeWhether to fetch all historical versions of a document or just the latest versions.
optional
filter: QueryFilteroptional
formats: FormatsType