From c1ff0e1c0779f76965be2e6ffe581b5dfaa39fb2 Mon Sep 17 00:00:00 2001 From: Arman Ozak Date: Fri, 19 Jun 2020 15:32:16 +0300 Subject: [PATCH] refactor: remove Nav type --- npm/ng-packs/packages/core/src/lib/models/common.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/npm/ng-packs/packages/core/src/lib/models/common.ts b/npm/ng-packs/packages/core/src/lib/models/common.ts index 79e3d3f52b..410c133b07 100644 --- a/npm/ng-packs/packages/core/src/lib/models/common.ts +++ b/npm/ng-packs/packages/core/src/lib/models/common.ts @@ -33,21 +33,18 @@ export namespace ABP { export interface Node { name: string; parentName?: string; + requiredPolicy?: string; order?: number; invisible?: boolean; } - export interface Nav extends Node { + export interface Route extends Node { path: string; - requiredPolicy?: string; - } - - export interface Route extends Nav { layout?: eLayoutType; iconClass?: string; } - export interface Tab extends Nav { + export interface Tab extends Node { component: Type; }