mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: patch resource filename (#360)
* feat: resource filename rename * update: resource filename rename * update: resource filename rename * update: validation about the filename Co-authored-by: boojack <stevenlgtm@gmail.com>
This commit is contained in:
@ -46,3 +46,12 @@ type ResourceDelete struct {
|
||||
// Standard fields
|
||||
CreatorID int
|
||||
}
|
||||
|
||||
type ResourcePatch struct {
|
||||
ID int
|
||||
|
||||
// Standard fields
|
||||
UpdatedTs *int64
|
||||
|
||||
Filename *string `json:"filename"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user