mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-11418] add missing rules prop to NavBar interfaces (#8040)
This commit is contained in:
@@ -17,8 +17,13 @@
|
|||||||
|
|
||||||
import { ExtensionElement } from './extension-element';
|
import { ExtensionElement } from './extension-element';
|
||||||
|
|
||||||
|
export interface NavBarRules {
|
||||||
|
[ruleId: string]: string;
|
||||||
|
}
|
||||||
|
|
||||||
export interface NavBarGroupRef extends ExtensionElement {
|
export interface NavBarGroupRef extends ExtensionElement {
|
||||||
items: Array<NavBarLinkRef>;
|
items: Array<NavBarLinkRef>;
|
||||||
|
rules?: NavBarRules;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NavBarLinkRef extends ExtensionElement {
|
export interface NavBarLinkRef extends ExtensionElement {
|
||||||
@@ -31,4 +36,5 @@ export interface NavBarLinkRef extends ExtensionElement {
|
|||||||
url?: string; // evaluated at runtime based on route ref
|
url?: string; // evaluated at runtime based on route ref
|
||||||
description?: string;
|
description?: string;
|
||||||
children?: Array<NavBarLinkRef>;
|
children?: Array<NavBarLinkRef>;
|
||||||
|
rules?: NavBarRules;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user