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

export type TPartnerLicensesRouteNames = 'licenses';

export const partnerLicensesNamedRoutes: NamedRoutes<TPartnerLicensesRouteNames> = {
  licenses: {
    path: 'licenses',
    loadComponent: () =>
      import('../../views/list.component').then((m) => m.PartnerLicensesComponent),
    meta: {
      title: 'لایسنس‌ها',
      pagePath: () => '/partner/licenses',
    },
  },
};

export const PARTNER_LICENSES_ROUTES: Routes = Object.values(partnerLicensesNamedRoutes);
