This commit is contained in:
Mario Romano
2017-10-25 01:37:59 +01:00
parent 2351c0acb0
commit 07be61bfa5

View File

@@ -17,7 +17,7 @@
import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core';
import { Router } from '@angular/router';
import { DeletedNodeEntry, PathInfoEntity } from 'alfresco-js-api';
import { DeletedNodeEntry, DeletedNodesPaging, PathInfoEntity } from 'alfresco-js-api';
import { Observable } from 'rxjs/Rx';
import { AlfrescoApiService } from '../services/alfresco-api.service';
import { NotificationService } from '../services/notification.service';
@@ -97,7 +97,7 @@ export class NodeRestoreDirective {
return selection.filter((node) => node.entry.path);
}
private getDeletedNodes(): Observable<DeletedNodeEntry> {
private getDeletedNodes(): Observable<DeletedNodesPaging> {
const promise = this.alfrescoApiService.getInstance()
.core.nodesApi.getDeletedNodes({ include: [ 'path' ] });