2026-03-10 13:36:45 +03:30
|
|
|
import { Route } from '@angular/router';
|
2026-03-16 00:35:34 +03:30
|
|
|
import { CONSUMERS_ROUTES } from './modules/consumers/constants';
|
|
|
|
|
import { DEVICE_BRANDS_ROUTES } from './modules/deviceBrands/constants';
|
|
|
|
|
import { DEVICES_ROUTES } from './modules/devices/constants';
|
|
|
|
|
import { GUILDS_ROUTES } from './modules/guilds/constants';
|
|
|
|
|
import { LICENSES_ROUTES } from './modules/licenses/constants';
|
|
|
|
|
import { SUPER_ADMIN_PARTNERS_ROUTES } from './modules/partners/constants';
|
|
|
|
|
import { PROVIDERS_ROUTES } from './modules/providers/constants';
|
2026-05-01 19:45:30 +03:30
|
|
|
import { STOCK_KEEPING_UNITS_ROUTES } from './modules/stockKeepingUnits/constants';
|
2026-03-16 00:35:34 +03:30
|
|
|
import { USERS_ROUTES } from './modules/users/constants';
|
2026-03-10 13:36:45 +03:30
|
|
|
|
|
|
|
|
export const SUPER_ADMIN_ROUTES = {
|
|
|
|
|
path: 'super_admin',
|
2026-03-16 00:35:34 +03:30
|
|
|
loadComponent: () => import('./layouts/layout.component').then((m) => m.LayoutComponent),
|
2026-03-10 13:36:45 +03:30
|
|
|
children: [
|
2026-03-16 00:35:34 +03:30
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
loadComponent: () =>
|
|
|
|
|
import('./modules/views/index.component').then((m) => m.DashboardComponent),
|
|
|
|
|
},
|
2026-03-10 13:36:45 +03:30
|
|
|
...USERS_ROUTES,
|
|
|
|
|
...GUILDS_ROUTES,
|
2026-03-16 00:35:34 +03:30
|
|
|
...SUPER_ADMIN_PARTNERS_ROUTES,
|
2026-03-10 13:36:45 +03:30
|
|
|
...PROVIDERS_ROUTES,
|
2026-05-01 19:45:30 +03:30
|
|
|
...STOCK_KEEPING_UNITS_ROUTES,
|
2026-03-10 13:36:45 +03:30
|
|
|
...LICENSES_ROUTES,
|
2026-03-14 16:26:22 +03:30
|
|
|
...DEVICE_BRANDS_ROUTES,
|
|
|
|
|
...DEVICES_ROUTES,
|
2026-03-16 00:35:34 +03:30
|
|
|
...CONSUMERS_ROUTES,
|
2026-03-10 13:36:45 +03:30
|
|
|
],
|
|
|
|
|
} as Route;
|