     [clojure.data :refer [diff]]
     [cljs-api-gen.encode :refer [encode-fullname]]
     [cljs-api-gen.util :refer [mapmap]]
+    [cljs-api-gen.cljsdoc :refer [cljsdoc-map]]
     [cljs-api-gen.clojure-api :refer [get-clojure-symbols-not-in-items
                                       attach-clj-symbol]]
     [cljs-api-gen.repo-cljs :refer [*cljs-version*

    (update-in item [:source :lines] (fn [[a b]] (if (= a b) [a] [a b])))
    item))

(defn transform-item
  [x]
  (as-> x $

    (assoc $ :full-name-encode (encode-fullname (:full-name $)))
    (prune-map $)
    (attach-clj-symbol $)
    (add-cljsdoc $)
    ;; NOTE: don't forget to add a $ for any following expressions
    ))

