Skip to content

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

:art: Update av

Daniel639f083d9a2e
diff --git a/kernel/av/cell.go b/kernel/av/cell.go
index c7c06c567f..9a25334884 100644
--- a/kernel/av/cell.go
+++ b/kernel/av/cell.go
@@ -18,8 +18,13 @@ package av
type Cell struct {
ID string `json:"id"`
- Value string `json:"value"`
+ Value *CellValue `json:"value"`
RenderValue interface{} `json:"renderValue"`
Color string `json:"color"`
BgColor string `json:"bgColor"`
}
+
+type CellValue struct {
+ Type ColumnType `json:"type"`
+ Value interface{} `json:"value"`
+}