Storage

A file storage implementation.

Available:

  • Disk

  • Amazon S3

  • Fake

Tip:

Pass the respective filename you want to save into your service.

await exampleService.execute(request.file?.filename);

Methods:

SaveFile: Saves a file in its respective implementation.

await this.storageProvider.saveFile(filename);

DeleteFile: Delete a file in its respective implementation.

await this.storageProvider.deleteFile(filename);

Last updated