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:
Zeng1998
2022-10-29 15:40:09 +08:00
committed by GitHub
parent 95376f78f6
commit e85d368f87
15 changed files with 379 additions and 15 deletions

View File

@ -46,3 +46,12 @@ type ResourceDelete struct {
// Standard fields
CreatorID int
}
type ResourcePatch struct {
ID int
// Standard fields
UpdatedTs *int64
Filename *string `json:"filename"`
}