mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
chore: rename :property/* to :logseq.property/*
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
(deftest get-classes-with-property-test
|
||||
(let [conn (db-test/create-conn-with-blocks
|
||||
{:properties {:prop1 {:property/type :default}}
|
||||
{:properties {:prop1 {:logseq.property/type :default}}
|
||||
:classes
|
||||
{:Class1 {:build/schema-properties [:prop1]}
|
||||
:Class2 {:build/schema-properties [:prop1]}}})
|
||||
|
||||
@@ -183,7 +183,7 @@ prop-d:: [[nada]]"}])
|
||||
(deftest db-only-block-property-queries
|
||||
(load-test-files-for-db-graph
|
||||
{:properties
|
||||
{:zzz {:property/type :default
|
||||
{:zzz {:logseq.property/type :default
|
||||
:block/title "zzz name!"}}
|
||||
:pages-and-blocks
|
||||
[{:page {:block/title "page1"}
|
||||
@@ -208,7 +208,7 @@ prop-d:: [[nada]]"}])
|
||||
(deftest property-default-type-default-value-queries
|
||||
(load-test-files-for-db-graph
|
||||
{:properties
|
||||
{:default {:property/type :default
|
||||
{:default {:logseq.property/type :default
|
||||
:build/properties
|
||||
{:logseq.property/default-value "foo"}
|
||||
:build/properties-ref-types {:entity :number}}}
|
||||
@@ -235,7 +235,7 @@ prop-d:: [[nada]]"}])
|
||||
(deftest property-checkbox-type-default-value-queries
|
||||
(load-test-files-for-db-graph
|
||||
{:properties
|
||||
{:checkbox {:property/type :checkbox
|
||||
{:checkbox {:logseq.property/type :checkbox
|
||||
:build/properties
|
||||
{:logseq.property/scalar-default-value true}}}
|
||||
:classes {:Class1 {:build/schema-properties [:checkbox]}}
|
||||
@@ -261,7 +261,7 @@ prop-d:: [[nada]]"}])
|
||||
(deftest closed-property-default-value-queries
|
||||
(load-test-files-for-db-graph
|
||||
{:properties
|
||||
{:status {:property/type :default
|
||||
{:status {:logseq.property/type :default
|
||||
:build/closed-values
|
||||
[{:value "Todo" :uuid (random-uuid)}
|
||||
{:value "Doing" :uuid (random-uuid)}]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
(deftest create-namespace-pages
|
||||
(let [conn (db-test/create-conn-with-blocks
|
||||
{:properties {:property1 {:property/type :default}}
|
||||
{:properties {:property1 {:logseq.property/type :default}}
|
||||
:classes {:class1 {}}
|
||||
:pages-and-blocks [{:page {:block/title "page1"}}]})]
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
:db/valueType :db.type/ref
|
||||
:block/updated-at 1716880036491
|
||||
:block/created-at 1716880036491
|
||||
:property/type :number
|
||||
:logseq.property/type :number
|
||||
:db/cardinality :db.cardinality/one
|
||||
:db/ident :user.property/xxx,
|
||||
:block/type "property",
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
[:db/add 1000000 :db/valueType :db.type/ref]
|
||||
[:db/add 1000000 :block/updated-at 1716882111476]
|
||||
[:db/add 1000000 :block/created-at 1716882111476]
|
||||
[:db/add 1000000 :property/type :number]
|
||||
[:db/add 1000000 :logseq.property/type :number]
|
||||
[:db/add 1000000 :db/cardinality :db.cardinality/one]
|
||||
[:db/add 1000000 :db/ident :user.property/qqq]
|
||||
[:db/add 1000000 :block/tags :logseq.class/Property]
|
||||
@@ -71,7 +71,7 @@
|
||||
[:db/valueType "[\"~#'\",\"~:db.type/ref\"]"]
|
||||
[:block/updated-at "[\"~#'\",1716882111476]"]
|
||||
[:block/created-at "[\"~#'\",1716882111476]"]
|
||||
[:property/type "[\"~#'\",\"~:number\"]"]
|
||||
[:logseq.property/type "[\"~#'\",\"~:number\"]"]
|
||||
[:block/tags #uuid "00000002-1038-7670-4800-000000000000"]
|
||||
[:block/title "[\"~#'\",\"qqq\"]"]
|
||||
[:db/cardinality "[\"~#'\",\"~:db.cardinality/one\"]"]
|
||||
|
||||
Reference in New Issue
Block a user