import { CommandMenuPages } from '@/command-menu/types/CommandMenuPages';
import { IconComponent } from 'twenty-ui/display';
import { createState } from 'twenty-ui/utilities';

export type CommandMenuNavigationStackItem = {
  page: CommandMenuPages;
  pageTitle: string;
  pageIcon: IconComponent;
  pageIconColor?: string;
  pageId: string;
};

export const commandMenuNavigationStackState = createState<
  CommandMenuNavigationStackItem[]
>({
  key: 'command-menu/commandMenuNavigationStackState',
  defaultValue: [],
});
