@ng-doc/app
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
20 lines (19 loc) • 642 B
TypeScript
import { JSDocMetadata, NgDocBaseEntity } from '@ng-doc/core/interfaces';
/**
* Navigation item interface
*/
export interface NgDocNavigation extends NgDocBaseEntity {
expandable?: boolean;
/** Determines whether the category should be expanded by default */
expanded?: boolean;
/** Children of the navigation item */
children?: NgDocNavigation[];
/** The route of the entity (current sourceFileFolder name by default) */
route: string;
/**
* The item metadata.
* Collects all tags based on the JSDoc tags for `NgDocPage` or `NgDocCategory`
* entities.
*/
metadata?: JSDocMetadata;
}