import { type Query } from "https://deno.land/x/earthstar@v10.0.0-alpha.3/src/query/query-types.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.
The order to return docs in. Defaults to path ASC
.
Only fetch documents which come after a certain point.
optional
filter: QueryFilteroptional
formats: FormatsType