mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: move pinned to memo
This commit is contained in:
@@ -48,10 +48,10 @@ type Memo struct {
|
||||
// Domain specific fields
|
||||
Content string
|
||||
Visibility Visibility
|
||||
Pinned bool
|
||||
Payload *storepb.MemoPayload
|
||||
|
||||
// Composed fields
|
||||
Pinned bool
|
||||
ParentID *int32
|
||||
}
|
||||
|
||||
@@ -102,6 +102,7 @@ type UpdateMemo struct {
|
||||
RowStatus *RowStatus
|
||||
Content *string
|
||||
Visibility *Visibility
|
||||
Pinned *bool
|
||||
Payload *storepb.MemoPayload
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user