chore: rename :property/value to :property.value/content

property-value is widely being used to refer to the entity or value
associated with a property entity. Naming the content of a
property-entity :property/value is confusing. property-value content is
a unique name and consistent with :block/content. Also rename related
fns which had similarly confusing names
This commit is contained in:
Gabriel Horner
2024-06-14 18:11:20 -04:00
parent 4b5ba7c600
commit 244a86557f
19 changed files with 59 additions and 60 deletions

View File

@@ -374,7 +374,7 @@
(assoc :block/properties (-> (update-keys props name)
(update-vals (fn [v]
(if (:db/id v)
(db-property/get-property-value-name (d/entity db (:db/id v)))
(db-property/property-value-content (d/entity db (:db/id v)))
v)))))
(seq (:class/schema.properties m))
(update :class/schema.properties #(set (map :block/original-name %)))