Просмотр исходного кода

fix: outliner lint - part of LOG-3197

Gabriel Horner 1 год назад
Родитель
Сommit
9d2c3ff5e2
1 измененных файлов с 1 добавлено и 1 удалено
  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