mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
24 lines
622 B
TypeScript
24 lines
622 B
TypeScript
/*!
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
export interface NavigationItem {
|
|
label?: string;
|
|
path?: string;
|
|
children?: NavigationItem[];
|
|
isExternal?: boolean;
|
|
isExpanded?: boolean;
|
|
level?: number;
|
|
parent?: NavigationItem;
|
|
contentPath?: string;
|
|
status?: 'new' | 'updated';
|
|
category?: string;
|
|
categoriesStatus?: Record<string, 'new' | 'updated'>[];
|
|
isCrossReferenced?: boolean;
|
|
preserveOtherCategoryOrder?: boolean; // true by default
|
|
}
|