[AAE-11418] add missing rules prop to NavBar interfaces (#8040)

This commit is contained in:
Bartosz Sekuła 2022-12-08 13:43:28 +01:00 committed by GitHub
parent 5a557f999a
commit c567054ce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,13 @@
import { ExtensionElement } from './extension-element';
export interface NavBarRules {
[ruleId: string]: string;
}
export interface NavBarGroupRef extends ExtensionElement {
items: Array<NavBarLinkRef>;
rules?: NavBarRules;
}
export interface NavBarLinkRef extends ExtensionElement {
@ -31,4 +36,5 @@ export interface NavBarLinkRef extends ExtensionElement {
url?: string; // evaluated at runtime based on route ref
description?: string;
children?: Array<NavBarLinkRef>;
rules?: NavBarRules;
}