aboutsummaryrefslogtreecommitdiffstats
path: root/dist/core-files_fileinfo.js
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-07-12 15:11:10 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-07-12 20:14:30 +0200
commitdf42a10e56d2fd0721c97c8ef4ba4d8eadcea6af (patch)
treece6a076cd90fa3afb0407cf552e7886156324d55 /dist/core-files_fileinfo.js
parent9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369 (diff)
downloadnextcloud-server-df42a10e56d2fd0721c97c8ef4ba4d8eadcea6af.tar.gz
nextcloud-server-df42a10e56d2fd0721c97c8ef4ba4d8eadcea6af.zip
chore(files_sharing): lint & refactor fixes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'dist/core-files_fileinfo.js')
-rw-r--r--dist/core-files_fileinfo.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/core-files_fileinfo.js b/dist/core-files_fileinfo.js
index b75b632759a..8e04d59c306 100644
--- a/dist/core-files_fileinfo.js
+++ b/dist/core-files_fileinfo.js
@@ -1,2 +1,2 @@
-!function(t){const i=function(t){const i=this;_.each(t,(function(t,e){_.isFunction(t)||(i[e]=t)})),_.isUndefined(this.id)||(this.id=parseInt(t.id,10)),this.path=t.path||"","dir"===this.type?this.mimetype="httpd/unix-directory":this.mimetype=this.mimetype||"application/octet-stream",this.type||("httpd/unix-directory"===this.mimetype?this.type="dir":this.type="file")};i.prototype={id:null,name:null,path:null,mimetype:null,icon:null,type:null,permissions:null,mtime:null,etag:null,mountType:null,hasPreview:!0,sharePermissions:null,shareAttributes:[],quotaAvailableBytes:-1,canDownload:function(){for(const t in this.shareAttributes){const i=this.shareAttributes[t];if("permissions"===i.scope&&"download"===i.key)return i.enabled}return!0}},t.Files||(t.Files={}),t.Files.FileInfo=i}(OC);
-//# sourceMappingURL=core-files_fileinfo.js.map?v=80d9cfb2471485e36856 \ No newline at end of file
+!function(t){const i=function(t){const i=this;_.each(t,(function(t,e){_.isFunction(t)||(i[e]=t)})),_.isUndefined(this.id)||(this.id=parseInt(t.id,10)),this.path=t.path||"","dir"===this.type?this.mimetype="httpd/unix-directory":this.mimetype=this.mimetype||"application/octet-stream",this.type||("httpd/unix-directory"===this.mimetype?this.type="dir":this.type="file")};i.prototype={id:null,name:null,path:null,mimetype:null,icon:null,type:null,permissions:null,mtime:null,etag:null,mountType:null,hasPreview:!0,sharePermissions:null,shareAttributes:[],quotaAvailableBytes:-1,canDownload:function(){for(const t in this.shareAttributes){const i=this.shareAttributes[t];if("permissions"===i.scope&&"download"===i.key)return!0===i.value}return!0}},t.Files||(t.Files={}),t.Files.FileInfo=i}(OC);
+//# sourceMappingURL=core-files_fileinfo.js.map?v=16f4586b2c1226dce4bb \ No newline at end of file