mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-11418] add missing rules prop to NavBar interfaces (#8040)
This commit is contained in:
parent
5a557f999a
commit
c567054ce5
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user