An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Update av
Danielc1c5b29f79f3
diff --git a/kernel/av/av.go b/kernel/av/av.goindex 63ac63bcc3..42930afc01 100644--- a/kernel/av/av.go+++ b/kernel/av/av.go@@ -39,10 +39,9 @@ type AttributeView struct {Columns []*Column `json:"columns"` // 表格列名Rows []*Row `json:"rows"` // 表格行记录- Type AttributeViewType `json:"type"` // 属性视图类型- Projections []string `json:"projections"` // 显示的列名- Filters []*AttributeViewFilter `json:"filters"` // 过滤规则- Sorts []*AttributeViewSort `json:"sorts"` // 排序规则+ Type AttributeViewType `json:"type"` // 属性视图类型+ Filters []*AttributeViewFilter `json:"filters"` // 过滤规则+ Sorts []*AttributeViewSort `json:"sorts"` // 排序规则}// AttributeViewType 描述了属性视图的类型。@@ -54,15 +53,14 @@ const (func NewAttributeView(id string) *AttributeView {return &AttributeView{- Spec: 0,- ID: id,- Name: "Table",- Columns: []*Column{{ID: ast.NewNodeID(), Name: "Block", Type: ColumnTypeBlock}},- Rows: []*Row{},- Type: AttributeViewTypeTable,- Projections: []string{},- Filters: []*AttributeViewFilter{},- Sorts: []*AttributeViewSort{},+ Spec: 0,+ ID: id,+ Name: "Table",+ Columns: []*Column{{ID: ast.NewNodeID(), Name: "Block", Type: ColumnTypeBlock}},+ Rows: []*Row{},+ Type: AttributeViewTypeTable,+ Filters: []*AttributeViewFilter{},+ Sorts: []*AttributeViewSort{},}}