insights: make the querybuilder type safe
Created by: coury-clark
Just some simple type safety to prevent mistakes when going from a search query to a compute query. This is ultimately because passing a compute query through the search parser will break the semantic of the compute query in most cases.
Test plan
Verified queries built as expected