From dcdd62e786836b4f369bc736691b19032189b7d4 Mon Sep 17 00:00:00 2001 From: Thomas Hunter Date: Wed, 28 Apr 2021 10:04:08 +0100 Subject: [PATCH] Update imports to @alfresco/adf-core --- .../components/user-name-column/user-name-column.component.ts | 2 +- .../src/lib/permission-manager/models/member.model.ts | 2 +- .../lib/permission-manager/services/node-permission.service.ts | 2 +- .../components/service-task-list-cloud.component.spec.ts | 2 +- .../task/task-list/components/task-list-cloud.component.spec.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/content-services/src/lib/permission-manager/components/user-name-column/user-name-column.component.ts b/lib/content-services/src/lib/permission-manager/components/user-name-column/user-name-column.component.ts index 2eab424bb17..a6afe01a6b0 100644 --- a/lib/content-services/src/lib/permission-manager/components/user-name-column/user-name-column.component.ts +++ b/lib/content-services/src/lib/permission-manager/components/user-name-column/user-name-column.component.ts @@ -19,7 +19,7 @@ import { Component, Input, OnInit } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { Group, NodeEntry } from '@alfresco/js-api'; import { NodePermissionService } from '../../services/node-permission.service'; -import { EcmUserModel } from '../../../../../../core/models/ecm-user.model'; +import { EcmUserModel } from '@alfresco/adf-core'; @Component({ selector: 'adf-user-name-column', diff --git a/lib/content-services/src/lib/permission-manager/models/member.model.ts b/lib/content-services/src/lib/permission-manager/models/member.model.ts index 1ada16dde0e..bee3d1a9e82 100644 --- a/lib/content-services/src/lib/permission-manager/models/member.model.ts +++ b/lib/content-services/src/lib/permission-manager/models/member.model.ts @@ -18,7 +18,7 @@ import { Group, Node, NodeEntry, PermissionElement } from '@alfresco/js-api'; import { PermissionDisplayModel } from './permission.model'; import { RoleModel } from './role.model'; -import { EcmUserModel } from '../../../../../core/models/ecm-user.model'; +import { EcmUserModel } from '@alfresco/adf-core'; export interface NodePermissionsModel { node: Node; diff --git a/lib/content-services/src/lib/permission-manager/services/node-permission.service.ts b/lib/content-services/src/lib/permission-manager/services/node-permission.service.ts index 8e870cf4573..64b132a7dc4 100644 --- a/lib/content-services/src/lib/permission-manager/services/node-permission.service.ts +++ b/lib/content-services/src/lib/permission-manager/services/node-permission.service.ts @@ -22,7 +22,7 @@ import { forkJoin, from, Observable, of, throwError } from 'rxjs'; import { catchError, map, switchMap } from 'rxjs/operators'; import { PermissionDisplayModel } from '../models/permission.model'; import { RoleModel } from '../models/role.model'; -import { EcmUserModel } from '../../../../../core/models/ecm-user.model'; +import { EcmUserModel } from '@alfresco/adf-core'; @Injectable({ providedIn: 'root' diff --git a/lib/process-services-cloud/src/lib/task/task-list/components/service-task-list-cloud.component.spec.ts b/lib/process-services-cloud/src/lib/task/task-list/components/service-task-list-cloud.component.spec.ts index a6285927b1d..37c31849b4f 100644 --- a/lib/process-services-cloud/src/lib/task/task-list/components/service-task-list-cloud.component.spec.ts +++ b/lib/process-services-cloud/src/lib/task/task-list/components/service-task-list-cloud.component.spec.ts @@ -23,7 +23,7 @@ import { ServiceTaskListCloudComponent } from './service-task-list-cloud.compone import { fakeServiceTask, fakeCustomSchema } from '../mock/fake-task-response.mock'; import { of } from 'rxjs'; import { ProcessServiceCloudTestingModule } from '../../../testing/process-service-cloud.testing.module'; -import { EcmUserModel } from '../../../../../../core/models/ecm-user.model'; +import { EcmUserModel } from '@alfresco/adf-core'; import { TranslateModule } from '@ngx-translate/core'; import { TaskListCloudSortingModel } from '../models/task-list-sorting.model'; import { skip } from 'rxjs/operators'; diff --git a/lib/process-services-cloud/src/lib/task/task-list/components/task-list-cloud.component.spec.ts b/lib/process-services-cloud/src/lib/task/task-list/components/task-list-cloud.component.spec.ts index 9d975cd8afd..e9f5a8856f1 100644 --- a/lib/process-services-cloud/src/lib/task/task-list/components/task-list-cloud.component.spec.ts +++ b/lib/process-services-cloud/src/lib/task/task-list/components/task-list-cloud.component.spec.ts @@ -24,7 +24,7 @@ import { TaskListCloudComponent } from './task-list-cloud.component'; import { fakeGlobalTask, fakeCustomSchema } from '../mock/fake-task-response.mock'; import { of } from 'rxjs'; import { ProcessServiceCloudTestingModule } from '../../../testing/process-service-cloud.testing.module'; -import { EcmUserModel } from '../../../../../../core/models/ecm-user.model'; +import { EcmUserModel } from '@alfresco/adf-core'; import { TranslateModule } from '@ngx-translate/core'; import { TaskListCloudSortingModel } from '../models/task-list-sorting.model'; import { skip } from 'rxjs/operators';