Currently, we have resources being fetched with runQuery and being parsed in the frontend. We should refactor this to have it parsed on the backend with resource handlers to get Assets, Asset Models, Associated Assets, and Properties, which can be used both for variables and for query fields.
We also currently use the normal query editor for variables, which both contains query types that don't make sense in that context (Get Property Value, Get Property History, etc) and misses some that would be nice for variables (like fetching properties for an asset).
Currently, we have resources being fetched with runQuery and being parsed in the frontend. We should refactor this to have it parsed on the backend with resource handlers to get Assets, Asset Models, Associated Assets, and Properties, which can be used both for variables and for query fields. We also currently use the normal query editor for variables, which both contains query types that don't make sense in that context (Get Property Value, Get Property History, etc) and misses some that would be nice for variables (like fetching properties for an asset).