ParameterPath type

A path which describes how to access a particular property in a given object data source. May be a single property name, an array that denotes nested property names, or a set of multiple named properties with paths in the case of complex object values.

type ParameterPath =
  | string
  | string[]
  | { [propertyName: string]: ParameterPath }