WHAT YOU'LL LEARN
  • What use cases are available in webiny/api/tenancy?
  • How to import and use each exported item?

Overview
anchor

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

Use Cases
anchor

CreateTenantRepository
anchor

Use Case Abstraction — imported from webiny/api/tenancy

Interface CreateTenantRepository.Interface:

Types:

Usage:

extensions/MyImpl.ts

CreateTenantUseCase
anchor

Use Case Abstraction — imported from webiny/api/tenancy

Interface CreateTenantUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

DeleteTenantRepository
anchor

Use Case Abstraction — imported from webiny/api/tenancy

Interface DeleteTenantRepository.Interface:

Types:

Usage:

extensions/MyImpl.ts

DeleteTenantUseCase
anchor

Use Case Abstraction — imported from webiny/api/tenancy

Interface DeleteTenantUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

GetTenantByIdUseCase
anchor

Use Case Abstraction — imported from webiny/api/tenancy

Interface GetTenantByIdUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

InstallTenantUseCase
anchor

Use Case Abstraction — imported from webiny/api/tenancy

Interface InstallTenantUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

UpdateTenantRepository
anchor

Use Case Abstraction — imported from webiny/api/tenancy

Interface UpdateTenantRepository.Interface:

Types:

Usage:

extensions/MyImpl.ts

UpdateTenantUseCase
anchor

Use Case Abstraction — imported from webiny/api/tenancy

Interface UpdateTenantUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

Event Handlers
anchor

TenantAfterCreateHandler
anchor

Event Handler Abstraction — imported from webiny/api/tenancy

Interface TenantAfterCreateHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

TenantAfterDeleteHandler
anchor

Event Handler Abstraction — imported from webiny/api/tenancy

Interface TenantAfterDeleteHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

TenantAfterUpdateHandler
anchor

Event Handler Abstraction — imported from webiny/api/tenancy

Interface TenantAfterUpdateHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

TenantBeforeCreateHandler
anchor

Event Handler Abstraction — imported from webiny/api/tenancy

Interface TenantBeforeCreateHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

TenantBeforeDeleteHandler
anchor

Event Handler Abstraction — imported from webiny/api/tenancy

Interface TenantBeforeDeleteHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

TenantBeforeUpdateHandler
anchor

Event Handler Abstraction — imported from webiny/api/tenancy

Interface TenantBeforeUpdateHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

TenantInstalledHandler
anchor

Event Handler Abstraction — imported from webiny/api/tenancy

Interface TenantInstalledHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

Services
anchor

AppInstaller
anchor

Abstraction — imported from webiny/api/tenancy

Interface AppInstaller.Interface:

Types:

Usage:

extensions/MyImpl.ts

TenantContext
anchor

Abstraction — imported from webiny/api/tenancy

Interface TenantContext.Interface:

Types:

Usage:

extensions/MyImpl.ts