Moves Files adapters to external packages

This commit is contained in:
Florent Vilmart
2016-03-23 23:29:16 -04:00
parent ee8f85baef
commit 1e45ac753a
12 changed files with 42 additions and 536 deletions

View File

@@ -13,22 +13,22 @@
export class FilesAdapter {
/* this method is responsible to store the file in order to be retrived later by it's file name
*
*
*
*
* @param config the current config
* @param filename the filename to save
* @param data the buffer of data from the file
* @param contentType the supposed contentType
* @discussion the contentType can be undefined if the controller was not able to determine it
*
* @discussion the contentType can be undefined if the controller was not able to determine it
*
* @return a promise that should fail if the storage didn't succeed
*
*
*/
createFile(config, filename: string, data, contentType: string) { }
createFile(filename: string, data, contentType: string) { }
deleteFile(config, filename) { }
deleteFile(filename) { }
getFileData(config, filename) { }
getFileData(filename) { }
getFileLocation(config, filename) { }
}