mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix eslint warnigs for core project (#7506)
This commit is contained in:
@@ -27,7 +27,7 @@ import { catchError } from 'rxjs/operators';
|
||||
})
|
||||
export class DownloadZipService {
|
||||
|
||||
_downloadsApi: DownloadsApi;
|
||||
private _downloadsApi: DownloadsApi;
|
||||
get downloadsApi(): DownloadsApi {
|
||||
this._downloadsApi = this._downloadsApi ?? new DownloadsApi(this.apiService.getInstance());
|
||||
return this._downloadsApi;
|
||||
@@ -39,6 +39,7 @@ export class DownloadZipService {
|
||||
|
||||
/**
|
||||
* Creates a new download.
|
||||
*
|
||||
* @param payload Object containing the node IDs of the items to add to the ZIP file
|
||||
* @returns Status object for the download
|
||||
*/
|
||||
@@ -50,6 +51,7 @@ export class DownloadZipService {
|
||||
|
||||
/**
|
||||
* Gets status information for a download node.
|
||||
*
|
||||
* @param downloadId ID of the download node
|
||||
* @returns Status object for the download
|
||||
*/
|
||||
@@ -59,6 +61,7 @@ export class DownloadZipService {
|
||||
|
||||
/**
|
||||
* Cancels a download.
|
||||
*
|
||||
* @param downloadId ID of the target download node
|
||||
*/
|
||||
cancelDownload(downloadId: string) {
|
||||
|
Reference in New Issue
Block a user