Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 搜索支持命名查询 https://github.com/siyuan-note/siyuan/issues/6589

Liang Dingc86b209fbe67
diff --git a/kernel/conf/criterion.go b/kernel/conf/criterion.go
index e2a86b9f71..27b16cbc1f 100644
--- a/kernel/conf/criterion.go
+++ b/kernel/conf/criterion.go
@@ -33,15 +33,15 @@ type Criterion struct {
}
type CriterionTypes struct {
- mathBlock bool
- table bool
- blockquote bool
- superBlock bool
- paragraph bool
- document bool
- heading bool
- list bool
- listItem bool
- codeBlock bool
- htmlBlock bool
+ MathBlock bool `json:"mathBlock"`
+ Table bool `json:"table"`
+ Blockquote bool `json:"blockquote"`
+ SuperBlock bool `json:"superBlock"`
+ Paragraph bool `json:"paragraph"`
+ Document bool `json:"document"`
+ Heading bool `json:"heading"`
+ List bool `json:"list"`
+ ListItem bool `json:"listItem"`
+ CodeBlock bool `json:"codeBlock"`
+ HtmlBlock bool `json:"htmlBlock"`
}