mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
✨ Attribute View (Database) https://github.com/siyuan-note/siyuan/issues/2829
This commit is contained in:
parent
f4055c55c4
commit
8cea4b01b8
2 changed files with 8 additions and 2 deletions
|
|
@ -17,6 +17,8 @@
|
|||
package av
|
||||
|
||||
type Cell struct {
|
||||
ID string `json:"id"`
|
||||
Value string `json:"value"`
|
||||
ID string `json:"id"`
|
||||
Value string `json:"value"`
|
||||
Color string `json:"color"`
|
||||
BgColor string `json:"bgColor"`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,6 +35,10 @@ type Column struct {
|
|||
ID string `json:"id"` // 列 ID
|
||||
Name string `json:"name"` // 列名
|
||||
Type ColumnType `json:"type"` // 列类型
|
||||
Icon string `json:"icon"` // 列图标
|
||||
Wrap bool `json:"wrap"` // 是否换行
|
||||
|
||||
// 以下是某些列类型的特有属性
|
||||
|
||||
AttributeViewID string `json:"attributeViewId"` // 关联的属性视图 ID
|
||||
RelationColumnID string `json:"relationColumnId"` // 目标关联列 ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue