/**
 * PageManager data: allPageData and SidebarItem type.
 */

import type React from 'react';

export { allPageData } from './pages';

export interface SidebarItem {
  id: string;
  name: string;
  link?: string;
  icon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
  moduleEnabled?: boolean;
  order?: number;
  submenu?: SidebarSubmenuItemData[];
  depth?: number;
}

export interface SidebarSubmenuItemData {
  id: string;
  name: string;
  link?: string;
  icon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
  depth?: number;
  submenu?: SidebarSubmenuItemData[];
}
