Type Alias OptionalFieldValue<TValue, TNull>
OptionalFieldValue<TValue, TNull>: TValue extends infer TScalarValue extends NonNullable<ScalarFieldValue> ? TNull | TScalarValue | undefined : TValue extends infer TCompositeValue extends NonNullable<CompositeFieldValue> ? TCompositeValue extends (infer TArrayItem)[] ? Partial<TArrayItem>[] | TNull | undefined : Partial<TCompositeValue> | TNull | undefined : never