File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,26 @@ import (
1414 "go.mongodb.org/mongo-driver/bson"
1515)
1616
17+ // Type aliases for backward compatibility — these types are now defined in mdl/types.
18+ type (
19+ JavaAction = types.JavaAction
20+ JavaScriptAction = types.JavaScriptAction
21+ NavigationDocument = types.NavigationDocument
22+ NavigationProfile = types.NavigationProfile
23+ NavHomePage = types.NavHomePage
24+ NavRoleBasedHome = types.NavRoleBasedHome
25+ NavMenuItem = types.NavMenuItem
26+ NavOfflineEntity = types.NavOfflineEntity
27+ JsonStructure = types.JsonStructure
28+ JsonElement = types.JsonElement
29+ ImageCollection = types.ImageCollection
30+ Image = types.Image
31+ FolderInfo = types.FolderInfo
32+ UnitInfo = types.UnitInfo
33+ RawUnit = types.RawUnit
34+ ProjectVersion = types.ProjectVersion
35+ )
36+
1737// ListJavaActions returns all Java actions in the project.
1838func (r * Reader ) ListJavaActions () ([]* types.JavaAction , error ) {
1939 units , err := r .listUnitsByType ("JavaActions$JavaAction" )
You can’t perform that action at this time.
0 commit comments