File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
adminforth/types/adapters Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,15 +39,17 @@ export interface StorageAdapter {
3939 * This method should work even if the file does not exist yet (e.g. only presigned URL was generated).
4040 * @param key - The key of the file to be uploaded e.g. "uploads/file.txt"
4141 */
42- markKeyForDeletation ( key : string ) : Promise < void > ;
42+ markKeyForDeletation ( key : string ) : Promise < void > ; //TODO delete after one year
43+ markKeyForDeletion ( key : string ) : Promise < void > ;
4344
4445
4546 /**
4647 * This method should mark the file to not be deleted.
4748 * This method should be used to cancel the deletion of the file if it was marked for deletion.
4849 * @param key - The key of the file to be uploaded e.g. "uploads/file.txt"
4950 */
50- markKeyForNotDeletation ( key : string ) : Promise < void > ;
51+ markKeyForNotDeletation ( key : string ) : Promise < void > ; //TODO delete after one year
52+ markKeyForNotDeletion ( key : string ) : Promise < void > ;
5153
5254
5355 /**
You can’t perform that action at this time.
0 commit comments