mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 02:54:13 +00:00
added type doc to menu related files
This commit is contained in:
@@ -1,14 +1,23 @@
|
||||
import { MenusState } from './menu.reducer';
|
||||
|
||||
/**
|
||||
* Availavle Menu IDs
|
||||
*/
|
||||
export enum MenuID {
|
||||
ADMIN = 'admin-sidebar',
|
||||
PUBLIC = 'public'
|
||||
}
|
||||
|
||||
export enum SectionType {
|
||||
/**
|
||||
* List of possible MenuItemTypes
|
||||
*/
|
||||
export enum MenuItemType {
|
||||
TEXT, LINK, ALTMETRIC, SEARCH
|
||||
}
|
||||
|
||||
/**
|
||||
* The initial state of the menus
|
||||
*/
|
||||
export const initialMenusState: MenusState = {
|
||||
[MenuID.ADMIN]:
|
||||
{
|
||||
|
Reference in New Issue
Block a user