WHAT YOU'LL LEARN
  • What use cases are available in webiny/api/file-manager/file?
  • Which event handlers can you implement?
  • How to import and use each exported item?

Overview
anchor

This page documents everything exported from webiny/api/file-manager/file. Import any of the items below directly from this path in your Webiny extensions.

Use Cases

Event Handlers

Services

Use Cases
anchor

CreateFileRepository
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface CreateFileRepository.Interface:

CreateFile repository interface

Types:

CreateFilesInBatchRepository
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface CreateFilesInBatchRepository.Interface:

CreateFilesInBatch repository interface

Types:

CreateFilesInBatchUseCase
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface CreateFilesInBatchUseCase.Interface:

CreateFilesInBatch use case interface

Types:

CreateFileUseCase
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface CreateFileUseCase.Interface:

CreateFile use case interface

Types:

DeleteFileRepository
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface DeleteFileRepository.Interface:

DeleteFile repository interface

Types:

DeleteFileUseCase
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface DeleteFileUseCase.Interface:

DeleteFile use case interface

Types:

GetFileRepository
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface GetFileRepository.Interface:

GetFile repository interface

Types:

GetFileUseCase
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface GetFileUseCase.Interface:

GetFile use case interface

Types:

ListFilesRepository
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface ListFilesRepository.Interface:

ListFiles repository interface

Types:

ListFilesUseCase
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface ListFilesUseCase.Interface:

ListFiles use case interface

Types:

ListTagsRepository
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface ListTagsRepository.Interface:

ListTags repository interface

Types:

ListTagsUseCase
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface ListTagsUseCase.Interface:

ListTags use case interface

Types:

UpdateFileRepository
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface UpdateFileRepository.Interface:

UpdateFile repository interface

Types:

UpdateFileUseCase
anchor

Use Case Abstraction — imported from webiny/api/file-manager/file

Interface UpdateFileUseCase.Interface:

UpdateFile use case interface

Types:

Event Handlers
anchor

FileAfterBatchCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/file-manager/file

Interface FileAfterBatchCreateEventHandler.Interface:

Event payload FileAfterBatchCreatePayload:

Types:

FileAfterCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/file-manager/file

Interface FileAfterCreateEventHandler.Interface:

Event payload FileAfterCreatePayload:

Types:

FileAfterDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/file-manager/file

Interface FileAfterDeleteEventHandler.Interface:

Event payload FileAfterDeletePayload:

Types:

FileAfterUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/file-manager/file

Interface FileAfterUpdateEventHandler.Interface:

Event payload FileAfterUpdatePayload:

Types:

FileBeforeBatchCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/file-manager/file

Interface FileBeforeBatchCreateEventHandler.Interface:

Event payload FileBeforeBatchCreatePayload:

Types:

FileBeforeCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/file-manager/file

Interface FileBeforeCreateEventHandler.Interface:

Event payload FileBeforeCreatePayload:

Types:

FileBeforeDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/file-manager/file

Interface FileBeforeDeleteEventHandler.Interface:

Event payload FileBeforeDeletePayload:

Types:

FileBeforeUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/file-manager/file

Interface FileBeforeUpdateEventHandler.Interface:

Event payload FileBeforeUpdatePayload:

Types:

Services
anchor

FileUrlGenerator
anchor

Abstraction — imported from webiny/api/file-manager/file

Interface FileUrlGenerator.Interface:

Types: