技能 编程开发 租户管理API抽象层

租户管理API抽象层

v20260507
webiny-api-tenant-manager-catalog
本模块提供了一套完整的API抽象层和用例模式,用于管理多租户系统(Multi-tenancy)。它涵盖了租户的创建、安装、启用、禁用、获取详情及模型扩展等所有核心业务流程,帮助开发者构建结构化、可维护的租户管理服务。
获取技能
352 次下载
概览

API — Tenant Manager

Tenant management event handlers and use cases.

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns

Abstractions


Name: CreateAndInstallTenantUseCase Import: import { CreateAndInstallTenantUseCase } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/api/features/CreateAndInstallTenant/abstractions.ts


Name: CreateTenantUseCase Import: import { CreateTenantUseCase } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/api/features/CreateTenant/abstractions.ts


Name: DisableTenantUseCase Import: import { DisableTenantUseCase } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/api/features/DisableTenant/abstractions.ts


Name: EnableTenantUseCase Import: import { EnableTenantUseCase } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/api/features/EnableTenant/abstractions.ts


Name: GetCurrentTenantUseCase Import: import { GetCurrentTenantUseCase } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/api/features/GetCurrentTenant/abstractions.ts


Name: GetTenantByIdUseCase Import: import { GetTenantByIdUseCase } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/api/features/GetTenantById/abstractions.ts


Name: TenantExtensions Kind: type Import: import type { TenantExtensions } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/shared/Tenant.ts


Name: TenantModelExtension Import: import { TenantModelExtension } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/api/domain/TenantModelExtension.ts Description: Extend the tenant content model with custom fields.


Name: UpdateTenantUseCase Import: import { UpdateTenantUseCase } from "webiny/api/tenant-manager" Source: @webiny/tenant-manager/api/features/UpdateTenant/abstractions.ts


信息
Category 编程开发
Name webiny-api-tenant-manager-catalog
版本 v20260507
大小 2.35KB
更新时间 2026-05-08
语言