mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 02:47:02 +00:00
@@ -26,7 +26,7 @@ import (
|
||||
|
||||
// ViewFilter 描述了视图过滤规则的结构。
|
||||
type ViewFilter struct {
|
||||
Column string `json:"column"` // 列(字段)ID
|
||||
Column string `json:"column"` // 字段(列)ID
|
||||
Qualifier FilterQuantifier `json:"quantifier,omitempty"` // 量词
|
||||
Operator FilterOperator `json:"operator"` // 操作符
|
||||
Value *Value `json:"value"` // 过滤值
|
||||
|
||||
@@ -27,7 +27,7 @@ import (
|
||||
|
||||
// ViewSort 描述了视图排序规则的结构。
|
||||
type ViewSort struct {
|
||||
Column string `json:"column"` // 列(字段)ID
|
||||
Column string `json:"column"` // 字段(列)ID
|
||||
Order SortOrder `json:"order"` // 排序顺序
|
||||
}
|
||||
|
||||
|
||||
@@ -702,7 +702,7 @@ type ValuePhone struct {
|
||||
type AssetType string
|
||||
|
||||
const (
|
||||
AssetTypeFile = "file"
|
||||
AssetTypeFile = "file" // 链接也使用文件类型
|
||||
AssetTypeImage = "image"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user