mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: exclude comments in memo list response
This commit is contained in:
@@ -42,7 +42,8 @@ type Memo struct {
|
||||
Visibility Visibility
|
||||
|
||||
// Composed fields
|
||||
Pinned bool
|
||||
Pinned bool
|
||||
ParentID *int32
|
||||
}
|
||||
|
||||
type FindMemo struct {
|
||||
@@ -55,10 +56,10 @@ type FindMemo struct {
|
||||
CreatedTsBefore *int64
|
||||
|
||||
// Domain specific fields
|
||||
ContentSearch []string
|
||||
VisibilityList []Visibility
|
||||
Pinned *bool
|
||||
ExcludeContent bool
|
||||
ContentSearch []string
|
||||
VisibilityList []Visibility
|
||||
ExcludeContent bool
|
||||
ExcludeComments bool
|
||||
|
||||
// Pagination
|
||||
Limit *int
|
||||
|
Reference in New Issue
Block a user