feat: add common types required for converting queries on the backend

As per this change, we do not send the full query but just a query ID to the backend.

Merge request reports

Loading