©️
Cross api
En-US
En-US
  • Introduction
  • Compatibility
  • Extensions
  • Usage
    • Tools
      • Config
      • ListProvider
      • Language
      • Help
    • Structure
      • MakeApi
      • MakeModule
      • MakeProvider
      • Revert
  • Structure
    • Root
    • Src
    • @Types
    • Assets
    • Config
    • Dtos
    • Jobs
    • Keys
    • Middlewares
    • Modules
    • Routes
    • Shared
    • Utils
  • Services
    • Transactions
    • Exists
    • FindBy
    • FindIn
    • FindLike
    • FindAll
    • Create
    • CreateMany
    • Update
    • UpdateMany
    • Delete
    • DeleteMany
    • SoftDelete
    • SoftDeleteMany
  • Mappers
    • CloneAttribute
    • UpdateAttribute
    • PatchAttribute
    • UpdateString
    • PatchString
    • InsertAttribute
  • Providers
    • Cache
    • Crypto
    • Hash
    • Lead
    • MailTemplate
    • Mail
    • Queue
    • Notification
    • Storage
Powered by GitBook
On this page
  • Available:
  • Tip:
  • Methods:

Was this helpful?

  1. Providers

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);

PreviousNotification

Last updated 6 months ago

Was this helpful?