FieldSelection type

Type-safe field selection with nested paths

type FieldSelection<T> = readonly (CleanEntityKeys<T> | NestedFieldPath<T>)[]