fix: unbound vars caught by lint

also updated property type for previous commit
experiment/tanstack-table
Gabriel Horner 2024-06-10 17:12:02 -04:00
parent 08c29d8a39
commit dbf263ed7c
2 changed files with 3 additions and 4 deletions

View File

@ -64,8 +64,7 @@
;; query-properties is a coll of property uuids and keywords where keywords are special frontend keywords
:logseq.property/query-properties {:schema {:type :coll
:hide? true}}
;; query-sort-by is either a property uuid or a keyword where keyword is a special frontend keyword
:logseq.property/query-sort-by {:schema {:type :any
:logseq.property/query-sort-by {:schema {:type :keyword
:hide? true}}
:logseq.property/query-sort-desc {:schema {:type :checkbox
:hide? true}}

View File

@ -164,7 +164,7 @@
:has-page-property
'[(has-page-property ?p ?prop)
[?p :block/name]
[?p ?prop ?v]
[?p ?prop _]
[?prop-e :db/ident ?prop]
[?prop-e :block/type "property"]]
@ -179,7 +179,7 @@
:has-property
'[(has-property ?b ?prop)
[?b ?prop ?v]
[?b ?prop _]
[(missing? $ ?b :block/name)]
[?prop-e :db/ident ?prop]
[?prop-e :block/type "property"]]