Ver código fonte

fix: outliner lint - part of LOG-3197

Gabriel Horner 1 ano atrás
pai
commit
9d2c3ff5e2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      deps/outliner/src/logseq/outliner/core.cljs

+ 1 - 1
deps/outliner/src/logseq/outliner/core.cljs

@@ -232,7 +232,7 @@
          (map (fn [tag]
                 [:db/retract (:db/id block) :block/tags (:db/id tag)])))))
 
-(defn validate-unique-by-name-tag-and-block-type
+(defn ^:api validate-unique-by-name-tag-and-block-type
   "Validates uniqueness of blocks and pages for the following cases:
    - Page names are unique by tag e.g. their can be Apple #Company and Apple #Fruit
    - Page names are unique when they have no tag