NestedSelectionKeys type
Fields selected under the relationship TRoot, such as title for
posts[].title.
type NestedSelectionKeys<TFields, TRoot> = TFields[number] extends TField
? TField extends Object | Object
? TNested
: never
: never