chore: ensures new listSearchableFields works with complex queries

This commit is contained in:
James
2022-09-12 19:40:01 -07:00
parent a1083727ef
commit 4e165cf52e
4 changed files with 48 additions and 34 deletions

View File

@@ -23,9 +23,9 @@ export type WhereField = {
}
export type Where = {
[key: string]: WhereField | Where[]
or?: Where[]
and?: Where[]
[key: string]: Where[] | WhereField
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any