mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 17:12:02 +03:00
1d7627dd72
* chore: upgrade version `0.13.0` * chore: update
25 lines
343 B
Go
25 lines
343 B
Go
package api
|
|
|
|
type MemoOrganizer struct {
|
|
// Domain specific fields
|
|
MemoID int
|
|
UserID int
|
|
Pinned bool
|
|
}
|
|
|
|
type MemoOrganizerUpsert struct {
|
|
MemoID int `json:"-"`
|
|
UserID int `json:"-"`
|
|
Pinned bool `json:"pinned"`
|
|
}
|
|
|
|
type MemoOrganizerFind struct {
|
|
MemoID int
|
|
UserID int
|
|
}
|
|
|
|
type MemoOrganizerDelete struct {
|
|
MemoID *int
|
|
UserID *int
|
|
}
|