Recursive table-aware record type with dot-walking support for reference columns.
Maps each field to either its TypeOf (for non-references) or the referenced table's schema (for references).
Depth parameter limits recursion (default 3 levels: current.field.ref.ref).
Note: Uses KnownKeys to remove index signature and allow dot notation access on defined fields.
Recursive table-aware record type with dot-walking support for reference columns. Maps each field to either its TypeOf (for non-references) or the referenced table's schema (for references). Depth parameter limits recursion (default 3 levels: current.field.ref.ref).
Note: Uses KnownKeys to remove index signature and allow dot notation access on defined fields.