refactor user accounts structure
This commit is contained in:
@@ -1,22 +1,29 @@
|
||||
import { Route } from '@angular/router';
|
||||
import { DEVICE_BRANDS_ROUTES } from './deviceBrands/constants';
|
||||
import { DEVICES_ROUTES } from './devices/constants';
|
||||
import { GUILDS_ROUTES } from './guilds/constants';
|
||||
import { LICENSES_ROUTES } from './licenses/constants';
|
||||
import { PARTNERS_ROUTES } from './partners/constants';
|
||||
import { PROVIDERS_ROUTES } from './providers/constants';
|
||||
import { USERS_ROUTES } from './users/constants';
|
||||
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';
|
||||
import { USERS_ROUTES } from './modules/users/constants';
|
||||
|
||||
export const SUPER_ADMIN_ROUTES = {
|
||||
path: 'super_admin',
|
||||
component: undefined,
|
||||
loadComponent: () => import('./layouts/layout.component').then((m) => m.LayoutComponent),
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
loadComponent: () =>
|
||||
import('./modules/views/index.component').then((m) => m.DashboardComponent),
|
||||
},
|
||||
...USERS_ROUTES,
|
||||
...GUILDS_ROUTES,
|
||||
...PARTNERS_ROUTES,
|
||||
...SUPER_ADMIN_PARTNERS_ROUTES,
|
||||
...PROVIDERS_ROUTES,
|
||||
...LICENSES_ROUTES,
|
||||
...DEVICE_BRANDS_ROUTES,
|
||||
...DEVICES_ROUTES,
|
||||
...CONSUMERS_ROUTES,
|
||||
],
|
||||
} as Route;
|
||||
|
||||
Reference in New Issue
Block a user