[Nested Folder] Delete folder methode (#58444)
* transfer DeleteFolder changes from larger PR * finish some thingies * add the simplest delete logics * some intermedia steps * fix tests * add test * fix some comments Co-authored-by: yangkb09 <yangkb09@gmail.com>
This commit is contained in:
@@ -78,8 +78,9 @@ type MoveFolderCommand struct {
|
||||
// DeleteFolderCommand captures the information required by the folder service
|
||||
// to delete a folder.
|
||||
type DeleteFolderCommand struct {
|
||||
UID string `json:"uid" xorm:"uid"`
|
||||
OrgID int64 `json:"orgId" xorm:"org_id"`
|
||||
UID string `json:"uid" xorm:"uid"`
|
||||
OrgID int64 `json:"orgId" xorm:"org_id"`
|
||||
ForceDeleteRules bool `json:"forceDeleteRules"`
|
||||
}
|
||||
|
||||
// GetFolderQuery is used for all folder Get requests. Only one of UID, ID, or
|
||||
|
||||
Reference in New Issue
Block a user