feat: memo relation part1 (#1677)

* feat: memo relation part1

* chore: update
This commit is contained in:
boojack
2023-05-18 21:29:28 +08:00
committed by GitHub
parent ca5859296a
commit a07d5d38d6
24 changed files with 425 additions and 207 deletions

View File

@@ -40,9 +40,11 @@ func (raw *memoRaw) toMemo() *api.Memo {
UpdatedTs: raw.UpdatedTs,
// Domain specific fields
Content: raw.Content,
Visibility: raw.Visibility,
Pinned: raw.Pinned,
Content: raw.Content,
Visibility: raw.Visibility,
Pinned: raw.Pinned,
ResourceList: []*api.Resource{},
RelationList: []*api.MemoRelation{},
}
}