mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
45f10bf62a
commit
eca87831fe
10 changed files with 99 additions and 190 deletions
|
|
@ -110,13 +110,6 @@ func (baseInstanceField *BaseInstanceField) GetID() string {
|
|||
return baseInstanceField.ID
|
||||
}
|
||||
|
||||
// CollectionLayout 描述了集合布局的接口。
|
||||
type CollectionLayout interface {
|
||||
|
||||
// GetItemIDs 返回集合中所有项目的 ID。
|
||||
GetItemIDs() []string
|
||||
}
|
||||
|
||||
// Collection 描述了一个集合的接口。
|
||||
// 集合可以是表格、画廊等,包含多个项目。
|
||||
type Collection interface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue