From 200ed0ef51f18abf713e275af16235c2b25981e7 Mon Sep 17 00:00:00 2001 From: osaton Date: Tue, 17 Mar 2020 15:55:51 +0200 Subject: [PATCH] Update documentation --- README.md | 2 +- StudioHelper.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76e311f..f56288e 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Login Push changes to Studio **Kind**: instance method of [StudioHelper](#StudioHelper) -**Returns**: Array.<Object> - Array of objects with file upload information +**Returns**: Array.<Object> - Array of objects with file upload information. Array has `data` property which contains additional information. | Param | Type | Default | Description | | --- | --- | --- | --- | diff --git a/StudioHelper.js b/StudioHelper.js index dd44a43..eb7b57b 100644 --- a/StudioHelper.js +++ b/StudioHelper.js @@ -810,7 +810,7 @@ class StudioHelper { * @param {boolean} [settings.folders[].includeSubFolders=false] - Create and upload sub folders * @param {Object} [settings.folders[].createdFolderSettings=null] - Object with paths (RegEx pattern) as keys and FolderUpdateSettings object as value. See example. * @param {Object} [settings.folders[].createdFileHeaders=null] - Object with file paths (RegEx pattern) as keys and FileHeaderSettings objcet as value. See example. - * @return {Array} Array of objects with file upload information + * @return {Array} Array of objects with file upload information. Array has `data` property which contains additional information. */ push(settings) { let self = this; @@ -1740,6 +1740,9 @@ class StudioHelper { this.proxy = proxy; } + /** + * @private + */ uploadFilesInFolders(folders) { let self = this, foldersData = [];