Optimise imports using inject function (#8557)

* optimise AuthGuard

* optimise UploadBase

* optimise BaseAuthenticationService

* optimise FormComponent

* optimise BaseCloudService

* optimise card view
This commit is contained in:
Denys Vuika
2023-06-05 17:31:44 +01:00
committed by GitHub
parent 991f11178d
commit f5abce8baa
36 changed files with 99 additions and 330 deletions

View File

@@ -17,20 +17,11 @@
import { Injectable } from '@angular/core';
import { PreferenceCloudServiceInterface } from './preference-cloud.interface';
import { AlfrescoApiService, AppConfigService, LogService } from '@alfresco/adf-core';
import { throwError, Observable } from 'rxjs';
import { BaseCloudService } from './base-cloud.service';
@Injectable({ providedIn: 'root' })
export class UserPreferenceCloudService extends BaseCloudService implements PreferenceCloudServiceInterface {
constructor(
apiService: AlfrescoApiService,
appConfigService: AppConfigService,
private logService: LogService) {
super(apiService, appConfigService);
}
/**
* Gets user preferences
*