import { NavItem } from '@/types';
import { Icons } from '../components/icons';
export type User = {
  id: number;
  name: string;
  company: string;
  role: string;
  verified: boolean;
  status: string;
};


export type Employee = {
  id: number;
  first_name: string;
  last_name: string;
  email: string;
  phone: string;
  gender: string;
  date_of_birth: string; // Consider using a proper date type if possible
  street: string;
  city: string;
  state: string;
  country: string;
  zipcode: string;
  longitude?: number; // Optional field
  latitude?: number; // Optional field
  job: string;
  profile_picture?: string | null; // Profile picture can be a string (URL) or null (if no picture)
};

export type Product = {
  photo_url: string;
  name: string;
  description: string;
  created_at: string;
  price: number;
  id: number;
  category: string;
  updated_at: string;
};

export const navItems: NavItem[] = [
    {
      title: 'Home',
      url: '/home',
      // icon: 'DashBoard',
      isActive: false,
      items: [],
    },
    {
      title: 'Orders',
      url: '',
      // icon: 'BagIcon',
      isActive: false,
      items: [
        {
          title: 'Requested',
          url: '/orders/requested?status=pending&page=1&limit=15',
          // icon: 'BlackDot'
        },
        {
          title: 'Prepared',
          url: '/orders/prepared?status=prepared&page=1&limit=15',
          // icon: 'BlackDot'
        },
        {
          title: 'Ready',
          url: '/orders/ready?status=ready&page=1&limit=15',
          // icon: 'BlackDot'
        },
        {
          title: 'Delivered',
          url: '/orders/delivered?status=delivered&page=1&limit=15',
          // icon: 'BlackDot'
        },
      ]
    },
    {
      title: 'Menu',
      url: '/menu',
      // icon: 'ListIcon',
      isActive: false,
      items: []
    },

    {
      title: 'Earning',
      url: '/earning?type=today&page=1&limit=10',
      // icon: 'Lists',
      isActive: false,
      items: []
    },
    {
      title: 'Profile',
      url: 'profile',
      // icon: 'AutomationIcon',
      isActive: false,
      isSidebar: true,
      items: []
    },
    {
      title: 'Contact us',
      url: 'contact',
      // icon: 'AutomationIcon',
      isActive: false,
      isSidebar: true,
      items: []
    },
  ];
