@@ -94,7 +94,7 @@ annotate AdminService.GenreHierarchy with {
9494 ID @ UI . Hidden ;
9595};
9696
97- annotate AdminService.GenreHierarchy with @ Hierarchy . RecursiveHierarchyActions # GenreHierarchy : {
97+ annotate AdminService.GenreHierarchy with @ Hierarchy . RecursiveHierarchyActions # GenreHierarchyHierarchy : {
9898 $Type : ' Hierarchy.RecursiveHierarchyActionsType ' ,
9999 // any name can be the action name with namespace/no bound action name
100100 ChangeNextSiblingAction : ' AdminService.moveSibling ' ,
@@ -104,7 +104,7 @@ annotate AdminService.GenreHierarchy with @UI: {
104104 PresentationVariant # VH : {
105105 $Type : ' UI.PresentationVariantType ' ,
106106 Visualizations : [' @UI.LineItem' ],
107- RecursiveHierarchyQualifier : ' GenreHierarchy '
107+ RecursiveHierarchyQualifier : ' GenreHierarchyHierarchy '
108108 },
109109 LineItem : [{
110110 $Type : ' UI.DataField ' ,
@@ -196,19 +196,7 @@ annotate AdminService.Books.texts {
196196//
197197// Annotations for hierarchy ContentsHierarchy
198198//
199- annotate AdminService.ContentsHierarchy with @ Aggregation . RecursiveHierarchy # ContentsHierarchy : {
200- $Type : ' Aggregation.RecursiveHierarchyType ' ,
201- NodeProperty : ID , // identifies a node
202- ParentNavigationProperty : parent // navigates to a node's parent
203- };
204-
205- annotate AdminService.ContentsHierarchy with @ Hierarchy . RecursiveHierarchy # ContentsHierarchy : {
206- $Type : ' Hierarchy.RecursiveHierarchyType ' ,
207- LimitedDescendantCount : LimitedDescendantCount ,
208- DistanceFromRoot : DistanceFromRoot ,
209- DrillState : DrillState ,
210- LimitedRank : LimitedRank
211- };
199+ annotate AdminService.ContentsHierarchy with @ hierarchy ;
212200
213201annotate AdminService.Books actions {
214202 @ (
0 commit comments