(def-entity-type name description & map-entries)
(def-entity-type &form &env name description & map-entries)
(def-enum-type name values & opts)
(def-enum-type &form &env name values & opts)
(def-eq name value & opts)
(def-eq &form &env name value & opts)
(def-map-type name map-entries & {:as opts})
(def-map-type &form &env name map-entries & {:as opts})
(map entries & {:as opts})
Make a MapType containing the given entries. Note that nothing is done to enforce uniqueness of the entries keys. Duplicate keys are handled at the discretion of the fn that is walking the DDL tree, though it should be assumed that later duplicates replace earlier ones (as when merging maps).
Make a MapType containing the given entries. Note that nothing is done to enforce uniqueness of the entries keys. Duplicate keys are handled at the discretion of the fn that is walking the DDL tree, though it should be assumed that later duplicates replace earlier ones (as when merging maps).
(map-of {:as opts} & entry-lists)
Build a MapType with a map of options followed by lists of entries. Useful when composing lists of required-entries, optional-entries, and predefined entries.
Build a MapType with a map of options followed by lists of entries. Useful when composing lists of required-entries, optional-entries, and predefined entries.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close