@stratio/egeo
Version:
Stratio egeo library of components in Angular 2
38 lines (37 loc) • 916 B
TypeScript
import { TranslateableElement } from '../utils/egeo-resolver/egeo-resolve-model';
export interface StHeaderModel {
icon?: string;
label: string;
link: string;
isActive: boolean;
subMenus: StSubMenuModel[];
notifications?: number;
}
export interface StSubMenuModel {
label: string;
link: string;
isActive: boolean;
}
export interface StHeaderModelSchema {
icon?: string;
label: TranslateableElement;
link: string;
isActive: boolean;
subMenus: StSubMenuModelSchema[];
notifications?: number;
}
export interface StSubMenuModelSchema {
label: TranslateableElement;
link: string;
isActive: boolean;
}
export interface StHeaderUserMenuModel {
logoutLabel: string;
userName: string;
logoutPath: string;
}
export interface StHeaderUserMenuModelSchema {
logoutLabel: TranslateableElement;
userName: string;
logoutPath: string;
}