make operators deep

This commit is contained in:
Pedro Guzman
2025-06-18 15:37:26 +02:00
parent ebe02a3836
commit 9043e534ce

View File

@@ -46,9 +46,9 @@ type ExtractFiltersOperators<
}
type RemoteQueryFilterOperators<T> = {
$or?: T[]
$and?: T[]
$not?: T
$or?: (T & RemoteQueryFilterOperators<T>)[]
$and?: (T & RemoteQueryFilterOperators<T>)[]
$not?: T & RemoteQueryFilterOperators<T>
}
/**