Commit 87c88f16 authored by Almouhannad's avatar Almouhannad

(F) Reorder folders

parent 0d73b915
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { HomeComponent } from './components/home/home.component';
import { RoleGuard } from './services/authentication/guards/role-guard';
import { Roles } from './classes/Authentication/roles';
import { ForbiddenComponent } from './components/errors/forbidden/forbidden.component';
import { NotFoundComponent } from './components/errors/not-found/not-found.component';
import { TestSignalRComponent } from './test-signal-r/test-signal-r.component';
import { HomeComponent } from './usecases/shared/components/home/home.component';
import { RoleGuard } from './authentication/services/guards/role-guard';
import { Roles } from './authentication/classes/roles';
import { ForbiddenComponent } from './usecases/shared/components/errors/forbidden/forbidden.component';
import { NotFoundComponent } from './usecases/shared/components/errors/not-found/not-found.component';
import { TestSignalRComponent } from './notifications/components/test-signal-r/test-signal-r.component';
const routes: Routes = [
{
......
......@@ -4,22 +4,22 @@ import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './components/root/app.component';
import { AppComponent } from './usecases/shared/components/root/app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ToastrModule } from 'ngx-toastr';
import { LayoutComponent } from './components/template/layout/layout.component';
import { HeaderComponent } from './components/template/header/header.component';
import { FooterComponent } from './components/template/footer/footer.component';
import { HomeComponent } from './components/home/home.component';
import { LoginFormComponent } from './components/Authentication/login-form/login-form.component';
import { LayoutComponent } from './usecases/shared/components/template/layout/layout.component';
import { HeaderComponent } from './usecases/shared/components/template/header/header.component';
import { FooterComponent } from './usecases/shared/components/template/footer/footer.component';
import { HomeComponent } from './usecases/shared/components/home/home.component';
import { LoginFormComponent } from './authentication/components/login-form/login-form.component';
import { FormsModule } from '@angular/forms';
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
import { AuthenticationService } from './services/authentication/authentication.service';
import { AuthenticationInterceptor } from './services/authentication/interceptor/authentication.interceptor';
import { ForbiddenComponent } from './components/errors/forbidden/forbidden.component';
import { NotFoundComponent } from './components/errors/not-found/not-found.component';
import { TestSignalRComponent } from './test-signal-r/test-signal-r.component';
import { SignalRService } from './notifications/signal-r.service';
import { AuthenticationService } from './authentication/services/authentication.service';
import { AuthenticationInterceptor } from './authentication/services/interceptor/authentication.interceptor';
import { ForbiddenComponent } from './usecases/shared/components/errors/forbidden/forbidden.component';
import { NotFoundComponent } from './usecases/shared/components/errors/not-found/not-found.component';
import { TestSignalRComponent } from './notifications/components/test-signal-r/test-signal-r.component';
import { SignalRService } from './notifications/services/signal-r.service';
@NgModule({
......
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
import { NgForm } from '@angular/forms';
import { LoginCommand } from '../../../classes/Authentication/Login/login-command';
import { AuthenticationService } from '../../../services/authentication/authentication.service';
import { UserData } from '../../../classes/Authentication/user-data';
import { LoginCommand } from '../../classes/Login/login-command';
import { AuthenticationService } from '../../services/authentication.service';
import { UserData } from '../../classes/user-data';
import { ToastrService } from 'ngx-toastr';
@Component({
......
......@@ -2,13 +2,13 @@ import { Injectable } from '@angular/core';
import { AppModule } from '../../app.module';
import { HttpClient, HttpErrorResponse, HttpHeaders, HttpResponse } from '@angular/common/http';
import * as config from "../../../../config";
import { LoginCommand } from '../../classes/Authentication/Login/login-command';
import { LoginResponse } from '../../classes/Authentication/Login/login-response';
import { LoginCommand } from '../classes/Login/login-command';
import { LoginResponse } from '../classes/Login/login-response';
import { catchError, map, Observable, of } from 'rxjs';
import { LoginResult } from '../../classes/Authentication/Login/login-result';
import { LoginResult } from '../classes/Login/login-result';
import { JWTHandler } from './jwtHandler';
import { UserData } from '../../classes/Authentication/user-data';
import { Roles } from '../../classes/Authentication/roles';
import { UserData } from '../classes/user-data';
import { Roles } from '../classes/roles';
@Injectable({
providedIn: AppModule
......
import { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
import { AuthenticationService } from '../authentication.service';
import { Roles } from '../../../classes/Authentication/roles';
import { UserData } from '../../../classes/Authentication/user-data';
import { Roles } from '../../classes/roles';
import { UserData } from '../../classes/user-data';
@Injectable({
providedIn: 'root'
......
import { Component, OnInit } from '@angular/core';
import { SignalRService } from '../notifications/signal-r.service';
import { SignalRService } from '../../services/signal-r.service';
@Component({
selector: 'app-test-signal-r',
......
import { Injectable } from '@angular/core';
import { HubConnectionBuilder } from '@microsoft/signalr';
import * as config from '../../../config'
import * as config from '../../../../config'
@Injectable({
providedIn: 'root'
......
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { UserData } from '../../../classes/Authentication/user-data';
import { AuthenticationService } from '../../../services/authentication/authentication.service';
import { UserData } from '../../../../../authentication/classes/user-data';
import { AuthenticationService } from '../../../../../authentication/services/authentication.service';
import { Router } from '@angular/router';
import { Roles } from '../../../classes/Authentication/roles';
import { Roles } from '../../../../../authentication/classes/roles';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { ToastrService } from 'ngx-toastr';
......
import { Component, OnInit } from '@angular/core';
import { UserData } from '../../../classes/Authentication/user-data';
import { AuthenticationService } from '../../../services/authentication/authentication.service';
import { UserData } from '../../../../../authentication/classes/user-data';
import { AuthenticationService } from '../../../../../authentication/services/authentication.service';
@Component({
selector: 'app-layout',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment