mirror of
https://github.com/usememos/memos.git
synced 2024-12-21 02:01:55 +03:00
25 lines
335 B
Go
25 lines
335 B
Go
package api
|
|
|
|
type MemoResource struct {
|
|
MemoID int
|
|
ResourceID int
|
|
CreatedTs int64
|
|
UpdatedTs int64
|
|
}
|
|
|
|
type MemoResourceUpsert struct {
|
|
MemoID int
|
|
ResourceID int
|
|
UpdatedTs *int64
|
|
}
|
|
|
|
type MemoResourceFind struct {
|
|
MemoID *int
|
|
ResourceID *int
|
|
}
|
|
|
|
type MemoResourceDelete struct {
|
|
MemoID *int
|
|
ResourceID *int
|
|
}
|