import { NamedRoutes } from '@/core';
import { Routes } from '@angular/router';

export const dashboardNamedRoutes: NamedRoutes<any> = {
  POS: {
    path: '',
    loadComponent: () =>
      import('../../views/dashboard.component').then((m) => m.DashboardComponent),
    meta: {
      title: 'داشبورد',
      pagePath: () => ``,
    },
  },
};

export type TDashboardRouteNames = keyof typeof dashboardNamedRoutes;

export const DASHBOARD_ROUTES: Routes = Object.values(dashboardNamedRoutes);
