mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
fix lint
This commit is contained in:
parent
af2ad53860
commit
30e0250f2f
@ -22,7 +22,7 @@ import { from, Observable, of, Subject, zip } from 'rxjs';
|
||||
import { AspectListDialogComponentData } from './aspect-list-dialog-data.interface';
|
||||
import { AspectListDialogComponent } from './aspect-list-dialog.component';
|
||||
import { catchError, map } from 'rxjs/operators';
|
||||
import { AspectEntry, AspectPaging, AspectsApi, NodesApi } from '@alfresco/js-api';
|
||||
import { AspectEntry, AspectPaging, AspectsApi } from '@alfresco/js-api';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
@ -25,8 +25,7 @@ import {
|
||||
AuditApp,
|
||||
AuditBodyUpdate,
|
||||
AuditEntryPaging,
|
||||
AuditEntryEntry,
|
||||
AspectsApi
|
||||
AuditEntryEntry
|
||||
} from '@alfresco/js-api';
|
||||
import { catchError } from 'rxjs/operators';
|
||||
|
||||
|
@ -44,7 +44,7 @@ export class NodeSharedDirective implements OnChanges, OnDestroy {
|
||||
|
||||
private onDestroy$ = new Subject<boolean>();
|
||||
|
||||
get nodes(): NodesApi {
|
||||
get nodesApi(): NodesApi {
|
||||
return new NodesApi(this.alfrescoApiService.getInstance());
|
||||
}
|
||||
|
||||
|
@ -343,7 +343,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
||||
private loadingTimeout;
|
||||
private onDestroy$ = new Subject<boolean>();
|
||||
|
||||
get nodes(): NodesApi {
|
||||
get nodesApi(): NodesApi {
|
||||
return new NodesApi(this.alfrescoApiService.getInstance());
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ export class CustomResourcesService {
|
||||
return new FavoritesApi(this.apiService.getInstance());
|
||||
}
|
||||
|
||||
get nodes(): NodesApi {
|
||||
get nodesApi(): NodesApi {
|
||||
return new NodesApi(this.apiService.getInstance());
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
import { ObjectDataTableAdapter, AlfrescoApiService, LogService } from '@alfresco/adf-core';
|
||||
import { Component, EventEmitter, Input, OnChanges, Output } from '@angular/core';
|
||||
import { TaskFormsApi, WebscriptApi } from '@alfresco/js-api';
|
||||
import { WebscriptApi } from '@alfresco/js-api';
|
||||
|
||||
/**
|
||||
* <adf-webscript-get [scriptPath]="string"
|
||||
|
@ -30,7 +30,7 @@ import {
|
||||
import { TaskProcessVariableModel } from '../models/task-process-variable.model';
|
||||
import { WidgetVisibilityModel, WidgetTypeEnum } from '../models/widget-visibility.model';
|
||||
import { map, catchError } from 'rxjs/operators';
|
||||
import { RuntimeAppDefinitionsApi, TaskFormsApi } from '@alfresco/js-api';
|
||||
import { TaskFormsApi } from '@alfresco/js-api';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
@ -28,7 +28,7 @@ import { MultiBarChart } from '../../diagram/models/chart/multi-bar-chart.model'
|
||||
import { PieChart } from '../../diagram/models/chart/pie-chart.model';
|
||||
import { TableChart } from '../../diagram/models/chart/table-chart.model';
|
||||
import { map, catchError } from 'rxjs/operators';
|
||||
import { ActivitiContentApi, ProcessDefinitionsApi, ReportApi } from '@alfresco/js-api';
|
||||
import { ProcessDefinitionsApi, ReportApi } from '@alfresco/js-api';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class AnalyticsService {
|
||||
@ -37,7 +37,7 @@ export class AnalyticsService {
|
||||
return new ReportApi(this.apiService.getInstance());
|
||||
}
|
||||
|
||||
get reportApi(): ProcessDefinitionsApi {
|
||||
get processDefinitionsApi(): ProcessDefinitionsApi {
|
||||
return new ProcessDefinitionsApi(this.apiService.getInstance());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user