aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharedfilelist.js
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-10 14:06:28 +0100
committerLouis Chemineau <louis@chmn.me>2022-01-11 17:12:55 +0100
commitd92cbf51493f0aa15745d2f9545cba2372eecec3 (patch)
tree349a555a74c99b40c20fcc470c26b7f7c0029f8d /apps/files_sharing/js/sharedfilelist.js
parent7484abb6c07f2296abc2040ecd747ddf1d65e98e (diff)
downloadnextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.tar.gz
nextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.zip
Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_sharing/js/sharedfilelist.js')
-rw-r--r--apps/files_sharing/js/sharedfilelist.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js
index 4e364f92077..e8420113ad9 100644
--- a/apps/files_sharing/js/sharedfilelist.js
+++ b/apps/files_sharing/js/sharedfilelist.js
@@ -374,7 +374,7 @@
* Converts the OCS API share response data to a file info
* list
* @param {Array} data OCS API share array
- * @param {bool} sharedWithUser
+ * @param {boolean} sharedWithUser
* @returns {Array.<OCA.Sharing.SharedFileInfo>} array of shared file info
*/
_makeFilesFromShares: function(data, sharedWithUser) {
@@ -511,10 +511,10 @@
*
* @typedef {Object} OCA.Sharing.ShareInfo
*
- * @property {int} id share ID
- * @property {int} type share type
+ * @property {number} id share ID
+ * @property {number} type share type
* @property {String} target share target, either user name or group name
- * @property {int} stime share timestamp in milliseconds
+ * @property {number} stime share timestamp in milliseconds
* @property {String} [targetDisplayName] display name of the recipient
* (only when shared with others)
* @property {String} [targetShareWithId] id of the recipient
@@ -536,7 +536,7 @@
*
* @property {Array.<OCA.Sharing.ShareInfo>} shares array of shares for
* this file
- * @property {int} mtime most recent share time (if multiple shares)
+ * @property {number} mtime most recent share time (if multiple shares)
* @property {String} shareOwner name of the share owner
* @property {Array.<String>} recipients name of the first 4 recipients
* (this is mostly for display purposes)