mirror of
https://github.com/usememos/memos.git
synced 2025-01-04 03:23:02 +08:00
1d7627dd72
* chore: upgrade version `0.13.0` * chore: update
24 lines
343 B
Go
24 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
|
|
}
|