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

export type TDeviceBrandsRouteNames = 'deviceBrands';

export const deviceBrandsNamedRoutes: NamedRoutes<TDeviceBrandsRouteNames> = {
  deviceBrands: {
    path: 'device_brands',
    loadComponent: () => import('../../views/list.component').then((m) => m.DeviceBrandsComponent),
    meta: {
      title: 'برندها',
      pagePath: () => '/super_admin/deviceBrands',
    },
  },
};

export const DEVICE_BRANDS_ROUTES: Routes = Object.values(deviceBrandsNamedRoutes);
