Chore: Deprecate FolderID in LibraryElementDTO (#77471)

* Chore: Deprecate FolderID in LibraryElementDTO

* chore: fix formatting of deprecation comment

* chore: revert deprecation comment formatting

* chore: regen specs
This commit is contained in:
Kat Yang
2023-11-06 11:30:32 -05:00
committed by GitHub
parent 8aa5d470ca
commit dd5314c6a8
5 changed files with 9 additions and 4 deletions

View File

@@ -69,8 +69,9 @@ type LibraryElementWithMeta struct {
// LibraryElementDTO is the frontend DTO for entities.
type LibraryElementDTO struct {
ID int64 `json:"id"`
OrgID int64 `json:"orgId"`
ID int64 `json:"id"`
OrgID int64 `json:"orgId"`
// Deprecated: use FolderUID instead
FolderID int64 `json:"folderId"`
FolderUID string `json:"folderUid"`
UID string `json:"uid"`