API REFERENCE

GridFieldPathLevel2

Fields, allowed values, and APIs that use GridFieldPathLevel2.

Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

typescript
type GridFieldPathLevel2<T> = {
  [K in StringKey<T>]:
    | K
    | (NestedObject<T[K]> extends never
      ? never
      : `${K}.${StringKey<NestedObject<T[K]>>}`);
}[StringKey<T>];

Contracts containing this type