mirror of
https://github.com/logseq/logseq.git
synced 2026-05-20 19:02:23 +00:00
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:
@@ -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 %)))
|
||||
|
||||
Reference in New Issue
Block a user