mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 06:30:14 +01:00
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
0f24054d3d
commit
ae737173b4
3 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue