1
0
Fork 0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2025-03-26 10:32:57 +00:00

MediaBackendInterface: Remove getFileURL

closes 

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-02-26 16:15:46 +01:00 committed by David Mehren
parent 2c7f892069
commit 4ef3fd029d
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -16,14 +16,6 @@ export interface MediaBackend {
*/
saveFile(buffer: Buffer, fileName: string): Promise<[string, BackendData]>;
/**
* Retrieve the URL of a previously saved file.
* @param fileName String to identify the file
* @param backendData Internal backend data
* @throws {MediaBackendError} - there was an error deleting the file
*/
getFileURL(fileName: string, backendData: BackendData): Promise<string>;
/**
* Delete a file from the backend
* @param fileName String to identify the file