CertainSelectionFields type
Selection entries typed as a single field literal, so the field is known to be selected.
type CertainSelectionFields<TFields> = {
[I in keyof TFields]: IsUnion<TFields[I]> extends false ? TFields[I] : never
}[number]