mirror of
https://github.com/usememos/memos.git
synced 2024-12-23 19:21:57 +03:00
25 lines
334 B
Go
25 lines
334 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
|
|
}
|