Chore: Remove FolderID from DTO Folder (#78420)

* Chore: Remove FolderID from DTO Folder

* chore: add OrgID field to an instance of SaveDashboardCommand

* chore: add another OrgID to pair with the FolderUID:

* chore: add OrgId to Folder struct and expectedParentOrgIDs to testCase struct, unsure if last part is necessary

* Fix folder test, add expected orgID

* chore: regen specs

---------

Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com>
This commit is contained in:
Kat Yang
2023-12-07 13:56:04 +01:00
committed by GitHub
co-authored by Ida Furjesova
parent cdff30ac44
commit 31fb38723d
5 changed files with 18 additions and 6 deletions
+2 -1
View File
@@ -10,8 +10,9 @@ type Folder struct {
// Deprecated: use UID instead
ID int64 `json:"id" xorm:"pk autoincr 'id'"`
UID string `json:"uid" xorm:"uid"`
OrgID int64 `json:"orgId" xorm:"org_id"`
Title string `json:"title"`
URL string `json:"url" xoem:"url"`
URL string `json:"url" xorm:"url"`
HasACL bool `json:"hasAcl" xorm:"has_acl"`
CanSave bool `json:"canSave"`
CanEdit bool `json:"canEdit"`