fix(types): Graph types fixes (#10220)
RESOLVES TRI-599 **What** - Fix missing filter type in the graph query API
This commit is contained in:
1 parent
1efe4e9e33
commit
9d5b0412ec
1 file changed
+1
-1
@@ -21,7 +21,7 @@ type ExtractFiltersOperators<
|
|||||||
: Key extends ExcludedProps
|
: Key extends ExcludedProps
|
||||||
? never
|
? never
|
||||||
: T[Key] extends string | number | boolean | Date
|
: T[Key] extends string | number | boolean | Date
|
||||||
? T[Key] | OperatorMap<T[Key] | T[Key][]>
|
? T[Key] | T[Key][] | OperatorMap<T[Key] | T[Key][]>
|
||||||
: T[Key] extends Array<infer R>
|
: T[Key] extends Array<infer R>
|
||||||
? TypeOnly<R> extends { __typename: any }
|
? TypeOnly<R> extends { __typename: any }
|
||||||
? RemoteQueryFilters<
|
? RemoteQueryFilters<
|
||||||
|
|||||||
Reference in new issue
Block a user