dashpresshq/dashpress

View on GitHub
src/backend/menu/types.d.ts

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import type { INavigationMenuItem } from "@/shared/types/menu";

export interface IBaseNavigationMenuApiService {
  generateMenuItems(): Promise<INavigationMenuItem[]>;
  filterOutUserMenuItems(
    userRole: string,
    navItems: INavigationMenuItem[]
  ): Promise<INavigationMenuItem[]>;
}