Attempts a file removal from the server with a given filename
name of the file to remove from the system
Attempts a file upload to the server with a given file
Compresses a file
The path where sharp will find the file
The name of the output file after compression
The extention in the input file
Compresses a file (icon)
The path where sharp will find the file
The name of the output file after compression
Generated using TypeDoc
Utils for uploading to the server.
Here are different stub- or helper functions that are used in the system in order to implement the upload feature to the server.
The allowed filetypes for uploading are specified in the
ALLOWED_FILE_EXTS
:jpg
png
jpeg
gif