mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update memo relation types (#1658)
This commit is contained in:
@ -8,12 +8,12 @@ const (
|
||||
)
|
||||
|
||||
type MemoRelation struct {
|
||||
MemoID int
|
||||
RelatedMemoID int
|
||||
Type MemoRelationType
|
||||
MemoID int `json:"memoId"`
|
||||
RelatedMemoID int `json:"relatedMemoId"`
|
||||
Type MemoRelationType `json:"type"`
|
||||
}
|
||||
|
||||
type MemoRelationUpsert struct {
|
||||
RelatedMemoID int
|
||||
Type MemoRelationType
|
||||
RelatedMemoID int `json:"relatedMemoId"`
|
||||
Type MemoRelationType `json:"type"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user