feat: implement memo property

This commit is contained in:
Steven
2024-05-13 22:04:37 +08:00
parent 555b4fbe32
commit c561362d62
13 changed files with 883 additions and 593 deletions

View File

@@ -71,7 +71,7 @@ type FindMemo struct {
// Domain specific fields
ContentSearch []string
VisibilityList []Visibility
Tag *string
PayloadFind *FindMemoPayload
ExcludeContent bool
ExcludeComments bool
Random bool
@@ -83,6 +83,11 @@ type FindMemo struct {
OrderByPinned bool
}
type FindMemoPayload struct {
Raw *string
Tag *string
}
type UpdateMemo struct {
ID int32
UID *string
@@ -91,7 +96,6 @@ type UpdateMemo struct {
RowStatus *RowStatus
Content *string
Visibility *Visibility
Tags *[]string
Payload *storepb.MemoPayload
}