From 880362270e4f8c1def03539593198d15962343df Mon Sep 17 00:00:00 2001 From: Thomas Hansen Date: Mon, 18 Dec 2023 21:39:09 +0200 Subject: [PATCH] b --- .../src/app/modules/app-routing.module.ts | 44 +++++++++---------- frontend/src/app/modules/app.module.ts | 16 +++---- frontend/src/app/modules/shared.module.ts | 8 ++-- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/frontend/src/app/modules/app-routing.module.ts b/frontend/src/app/modules/app-routing.module.ts index c05b9eed12..4e47cf7d8f 100644 --- a/frontend/src/app/modules/app-routing.module.ts +++ b/frontend/src/app/modules/app-routing.module.ts @@ -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 = [ { @@ -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' } ]; diff --git a/frontend/src/app/modules/app.module.ts b/frontend/src/app/modules/app.module.ts index 2d04b86937..d1569de810 100644 --- a/frontend/src/app/modules/app.module.ts +++ b/frontend/src/app/modules/app.module.ts @@ -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'; @@ -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({ diff --git a/frontend/src/app/modules/shared.module.ts b/frontend/src/app/modules/shared.module.ts index 5e309b4ce4..2f635cb5bb 100644 --- a/frontend/src/app/modules/shared.module.ts +++ b/frontend/src/app/modules/shared.module.ts @@ -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";