import { type Query } from "https://deno.land/x/earthstar@v10.2.2/mod.ts";
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