Преглед изворни кода

fix: outliner lint - part of LOG-3197

Gabriel Horner пре 1 година
родитељ
комит
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