Skip to content

Commit

Permalink
Use core-lib User entity
Browse files Browse the repository at this point in the history
  • Loading branch information
newmanw committed Aug 14, 2024
1 parent 5b467c9 commit 4f896c9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
5 changes: 0 additions & 5 deletions web-app/src/app/entities/user/entities.user.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core'
import { Api, AuthenticationStrategy } from '../../api/api.entity'
import { User } from '../../entities/user/entities.user'
import { User } from 'core-lib-src/user'
import * as _ from 'underscore'

export interface AuthenticationEvent {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Component, EventEmitter, Output } from '@angular/core';
import { FormControl, FormGroup, Validators } from '@angular/forms';
import { PasswordStrength } from '../../../entities/password/entities.password';
import { User } from '../../../entities/user/entities.user';
import { UserService } from '../../../user/user.service';
import { User } from 'core-lib-src/user';

export interface SignupEvent {
reason: 'signup' | 'cancel'
Expand Down
4 changes: 2 additions & 2 deletions web-app/src/app/ingress/ingress.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { ActivatedRoute } from '@angular/router'
import { UserService } from '../user/user.service'
import { AuthorizationEvent } from './authorization/authorization.component'
import { LocalStorageService } from '../http/local-storage.service'
import { User } from '../entities/user/entities.user'
import { DiscalimeCloseEvent, DiscalimerCloseReason } from './disclaimer/disclaimer.component'
import { animate, style, transition, trigger } from '@angular/animations'
import { SignupEvent } from './authentication/local/signup.component'
import { InitializedEvent } from './setup/initialize.component'
import * as _ from 'underscore'
import { User } from 'core-lib-src/user'
import { InitializedEvent } from './intialize/initialize.component'

enum IngressState {
Initialize,
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/app/mage/mage.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FilterService } from '../filter/filter.service';
import { MatSidenav } from '@angular/material/sidenav';
import { LocationService } from '../user/location/location.service';
import { ActivatedRoute } from '@angular/router';
import { User } from '../entities/user/entities.user';
import { User } from 'core-lib-src/user';
import * as _ from 'underscore';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/app/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Router } from '@angular/router'
import { Observable, Subject } from 'rxjs'
import { LocalStorageService } from '../http/local-storage.service'
import { BYPASS_TOKEN } from '../http/token.interceptor'
import { User } from '../entities/user/entities.user'
import { User } from 'core-lib-src/user'

@Injectable({
providedIn: 'root'
Expand Down

0 comments on commit 4f896c9

Please sign in to comment.