Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
polterguy committed Dec 18, 2023
1 parent 39a2a2e commit 8803622
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
44 changes: 22 additions & 22 deletions frontend/src/app/modules/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AccessGuard } from '../access.guard';
import { AuthBaseComponent } from '../components/public/authentication/auth-base/auth-base.component';
import { CoreComponent } from '../components/main/core/core.component';
import { AccessGuard } from 'src/app/access.guard';
import { AuthBaseComponent } from 'src/app/components/public/authentication/auth-base/auth-base.component';
import { CoreComponent } from 'src/app/components/main/core/core.component';

const routes: Routes = [
{
Expand All @@ -17,82 +17,82 @@ const routes: Routes = [
children: [
{
path: '',
loadChildren: () => import('../components/protected/dashboard/_module/dashboard.module').then(m => m.DashboardModule)
loadChildren: () => import('src/app/components/protected/dashboard/_module/dashboard.module').then(m => m.DashboardModule)
},
{
path: 'setup',
loadChildren: () => import('../components/protected/setup/_module/setup.module').then(m => m.SetupModule)
loadChildren: () => import('src/app/components/protected/setup/_module/setup.module').then(m => m.SetupModule)
},
{
path: 'user-roles-management',
loadChildren: () => import('../components/protected/manage/user-and-roles/_module/users-roles.module').then(m => m.UsersRolesModule)
loadChildren: () => import('src/app/components/protected/manage/user-and-roles/_module/users-roles.module').then(m => m.UsersRolesModule)
},
{
path: 'sql-studio',
loadChildren: () => import('../components/protected/create/sql-studio/_module/sql-studio.module').then(m => m.SqlStudioModule)
loadChildren: () => import('src/app/components/protected/create/sql-studio/_module/sql-studio.module').then(m => m.SqlStudioModule)
},
{
path: 'endpoints',
loadChildren: () => import('../components/protected/manage/endpoints/_module/endpoints.module').then(m => m.EndpointsModule)
loadChildren: () => import('src/app/components/protected/manage/endpoints/_module/endpoints.module').then(m => m.EndpointsModule)
},
{
path: 'databases',
loadChildren: () => import('../components/protected/create/databases/_module/databases.module').then(m => m.DatabasesModule)
loadChildren: () => import('src/app/components/protected/create/databases/_module/databases.module').then(m => m.DatabasesModule)
},
{
path: 'endpoint-generator',
loadChildren: () => import('../components/protected/create/endpoint-generator/_module/endpoint.module').then(m => m.EndpointModule)
loadChildren: () => import('src/app/components/protected/create/endpoint-generator/_module/endpoint.module').then(m => m.EndpointModule)
},
{
path: 'plugins',
loadChildren: () => import('../components/protected/manage/plugins/_module/plugins.module').then(m => m.PluginsModule)
loadChildren: () => import('src/app/components/protected/manage/plugins/_module/plugins.module').then(m => m.PluginsModule)
},
{
path: 'hyperlambda-playground',
loadChildren: () => import('../components/protected/manage/hyperlambda-playground/_module/hyperlambda-playground.module').then(m => m.HyperlambdaPlaygroundModule)
loadChildren: () => import('src/app/components/protected/manage/hyperlambda-playground/_module/hyperlambda-playground.module').then(m => m.HyperlambdaPlaygroundModule)
},
{
path: 'hyper-ide',
loadChildren: () => import('../components/protected/create/hyper-ide/module/ide.module').then(m => m.IdeModule)
loadChildren: () => import('src/app/components/protected/create/hyper-ide/module/ide.module').then(m => m.IdeModule)
},
{
path: 'chatbot-wizard',
loadChildren: () => import('../components/protected/create/chatbot-wizard/_module/chatbot-wizard.module').then(m => m.ChatbotWizardModule)
loadChildren: () => import('src/app/components/protected/create/chatbot-wizard/_module/chatbot-wizard.module').then(m => m.ChatbotWizardModule)
},
{
path: 'tasks',
loadChildren: () => import('../components/protected/manage/tasks/_module/task.module').then(m => m.TaskModule)
loadChildren: () => import('src/app/components/protected/manage/tasks/_module/task.module').then(m => m.TaskModule)
},
{
path: 'health-check',
loadChildren: () => import('../components/protected/misc/health-check/_module/health-check.module').then(m => m.HealthCheckModule)
loadChildren: () => import('src/app/components/protected/misc/health-check/_module/health-check.module').then(m => m.HealthCheckModule)
},
{
path: 'configuration',
loadChildren: () => import('../components/protected/misc/configuration/_module/config.module').then(m => m.ConfigModule)
loadChildren: () => import('src/app/components/protected/misc/configuration/_module/config.module').then(m => m.ConfigModule)
},
{
path: 'log',
loadChildren: () => import('../components/protected/misc/log/_module/log.module').then(m => m.LogModule)
loadChildren: () => import('src/app/components/protected/misc/log/_module/log.module').then(m => m.LogModule)
},
{
path: 'user-profile',
loadChildren: () => import('../components/protected/user/profile/_module/profile.module').then(m => m.ProfileModule)
loadChildren: () => import('src/app/components/protected/user/profile/_module/profile.module').then(m => m.ProfileModule)
},
{
path: 'machine-learning',
loadChildren: () => import('../components/protected/manage/machine-learning/_module/machine-learning.module').then(m => m.MachineLearningTrainingModule)
loadChildren: () => import('src/app/components/protected/manage/machine-learning/_module/machine-learning.module').then(m => m.MachineLearningTrainingModule)
},
]
},
{
path: 'authentication',
component: AuthBaseComponent,
loadChildren: () => import('../components/public/authentication/_module/auth.module').then(m => m.AuthModule),
loadChildren: () => import('src/app/components/public/authentication/_module/auth.module').then(m => m.AuthModule),
},
{
path: 'not-found',
loadChildren: () => import('../components/public/not-found/_module/notfound.module').then(m => m.NotfoundModule),
loadChildren: () => import('src/app/components/public/not-found/_module/notfound.module').then(m => m.NotfoundModule),
},
{ path: '**', redirectTo: 'not-found' }
];
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/app/modules/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { RecaptchaV3Module, RecaptchaFormsModule, RecaptchaModule, RECAPTCHA_V3_
import { NgxMatDatetimePickerModule, NgxMatTimepickerModule } from '@angular-material-components/datetime-picker';

// Hyperlambda mode for CodeMirror import.
import '../helpers/hyperlambda.js';
import 'src/app/helpers/hyperlambda.js';

// SQL hints plugin for CodeMirror.
import 'codemirror/addon/hint/sql-hint.js';
Expand All @@ -31,17 +31,17 @@ import { environment } from 'src/environments/environment';
import { ServiceWorkerModule } from '@angular/service-worker';

// Interceptors
import { AuthInterceptor } from '../interceptors/auth.interceptor';
import { AuthInterceptor } from 'src/app/interceptors/auth.interceptor';

// Components
import { MainComponent } from '../components/main/main.component';
import { CoreComponent } from '../components/main/core/core.component';
import { HeaderComponent } from '../components/main/header/header.component';
import { FooterComponent } from '../components/main/footer/footer.component';
import { MainComponent } from 'src/app/components/main/main.component';
import { CoreComponent } from 'src/app/components/main/core/core.component';
import { HeaderComponent } from 'src/app/components/main/header/header.component';
import { FooterComponent } from 'src/app/components/main/footer/footer.component';

// Misc
import { AccessGuard } from '../access.guard';
import { AuthBaseComponent } from '../components/public/authentication/auth-base/auth-base.component';
import { AccessGuard } from 'src/app/access.guard';
import { AuthBaseComponent } from 'src/app/components/public/authentication/auth-base/auth-base.component';
import { SharedModule } from './shared.module';

@NgModule({
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/app/modules/shared.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { DateSincePipe } from "../pipes/date-since.pipe";
import { MarkedPipe } from "../pipes/marked.pipe";
import { DatePipe } from "../pipes/date.pipe";
import { SortByPipe } from "../pipes/sort-by.pipe";
import { DateSincePipe } from "src/app/pipes/date-since.pipe";
import { MarkedPipe } from "src/app/pipes/marked.pipe";
import { DatePipe } from "src/app/pipes/date.pipe";
import { SortByPipe } from "src/app/pipes/sort-by.pipe";
import { MaterialModule } from "./material.module";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { CodemirrorModule } from "@ctrl/ngx-codemirror";
Expand Down

0 comments on commit 8803622

Please sign in to comment.