refactor: don't couple internal ref types to places it's not used

Follow up to #11494. Internal ref types are not used in most of the UI
and in any of the outliner layer.  Have separate vars for internal and
user ref types so we can see how they're used
This commit is contained in:
Gabriel Horner
2024-09-03 16:23:04 -04:00
parent 2654ca9b6f
commit c36984c433
7 changed files with 38 additions and 34 deletions

View File

@@ -128,7 +128,7 @@
(if-let [built-in-type (get-in db-property/built-in-properties [k :schema :type])]
(if (= :block/tags k)
(mapv #(:db/ident (d/entity db (:db/id %))) v)
(if (db-property-type/ref-property-types built-in-type)
(if (db-property-type/all-ref-property-types built-in-type)
(db-property/ref->property-value-contents db v)
v))
(db-property/ref->property-value-contents db v))])))