Skip to content

Commit

Permalink
fix(typescript): include BaseSearchParameters file for r5
Browse files Browse the repository at this point in the history
  • Loading branch information
krvital committed Oct 21, 2024
1 parent e0cf9ad commit 12b4c48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aidbox_sdk/converter.clj
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,9 @@
(->pascal-case (url->resource-name base)))
:elements (->> (resolve-elements search-params-schemas (:id schema))
(map (fn [el] {:type "string" :name el})))}))
(remove #(empty? (:elements %)))))
(remove #(and
(not= (:name %) "Base")
(empty? (:elements %))))))

;;
;; Constraints
Expand Down

0 comments on commit 12b4c48

Please sign in to comment.