The constructor re-wraps joinTable in new QTableMetaData(), which uses
for-in to iterate fields — this doesn't work on Map instances, losing
all fields from the cloned join table.
Also added defensive ?. in constructor and clone, removed unnecessary
'as any' casts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Accept map of redirects to from the backend's metaData action, stored in QInstance. (to redirect a user from links to a table through an app that they don't have access to, instead to an app that they do have access to).
- Add appAffinity field to QAppTreeNode, to specify which app to use for a table in a global context (e.g., dot menu) if it belongs to more than 1.
- Update QInstance.getTablePath to return the path with the highest affinity value for a table in multiple apps