Skip to content

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

:art: Add number type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8690

Daniel464a7a6aee76
diff --git a/kernel/av/cell.go b/kernel/av/cell.go
index eb78ce85ca..bb78f5605f 100644
--- a/kernel/av/cell.go
+++ b/kernel/av/cell.go
@@ -232,7 +232,8 @@ type ValueText struct {
}
type ValueNumber struct {
- Content float64 `json:"content"`
+ Content float64 `json:"content"`
+ IsNotEmpty bool `json:"isNotEmpty"`
}
type ValueDate struct {