Add extra typings

This commit is contained in:
Adria Navarro 2024-08-05 10:29:36 +02:00
parent f48a9bec5c
commit 4799e0c2c4
1 changed files with 7 additions and 0 deletions

View File

@ -75,6 +75,13 @@ export interface SearchFilters {
// to make sure the documents returned are always filtered down to a
// specific document type (such as just rows)
documentType?: DocumentType
$and?: {
conditions: SearchFilters[]
}
$or?: {
conditions: SearchFilters[]
}
}
export type SearchFilterKey = keyof Omit<