(build-all-enrichment-queries selection suitable-widgets settings)
(can-we-enrich-on-existing-preference? enrichable existing-enrichable)
Returns whether or not the previously used enrichment column is within the list of existing column types.
Returns whether or not the previously used enrichment column is within the list of existing column types.
(get-suitable-widgets array-widgets classname)
We only want to load widgets that can be used on our datatypes
We only want to load widgets that can be used on our datatypes
(resolve-what-to-enrich db)
This is complex - we need to resolve which columns are of a suitable type to be enriched by a widget, and then select one. Where possible we try to always preserve the same column that the user was looking at in the previous enrichment, to ensure general consistency.
This is complex - we need to resolve which columns are of a suitable type to be enriched by a widget, and then select one. Where possible we try to always preserve the same column that the user was looking at in the previous enrichment, to ensure general consistency.
(what-we-can-enrich widgets query-parts)
Returns list of columns in the results view that have widgets available for enrichment.
Returns list of columns in the results view that have widgets available for enrichment.
(widgets-to-map widgets)
When the web service gives us a vector, we make it into a map for easy lookup
When the web service gives us a vector, we make it into a map for easy lookup
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close