Skills Development Admin Tenancy Abstractions Catalog

Admin Tenancy Abstractions Catalog

v20260424
webiny-admin-tenancy-catalog
This catalog provides essential TypeScript abstractions, types, and hooks for implementing robust multi-tenancy features in administrative interfaces. It helps developers manage the current tenant context, check tenant roles (e.g., root vs. non-root), and handle tenant state changes (enable/disable) across various modules. It is crucial for building scalable, secure, and multi-tenant SaaS platforms.
Get Skill
203 downloads
Overview

admin/tenancy

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

Abstractions


Name: IsNotRootTenant Import: import { IsNotRootTenant } from "webiny/admin/tenancy" Source: @webiny/tenant-manager/admin/IsRootTenant.tsx


Name: IsRootTenant Import: import { IsRootTenant } from "webiny/admin/tenancy" Source: @webiny/tenant-manager/admin/IsRootTenant.tsx


Name: IsTenant Import: import { IsTenant } from "webiny/admin/tenancy" Source: @webiny/tenant-manager/admin/IsRootTenant.tsx


Name: TenantContext Import: import { TenantContext } from "webiny/admin/tenancy" Source: @webiny/app-admin/features/tenancy/abstractions.ts


Name: TenantEntry Kind: type Import: import type { TenantEntry } from "webiny/admin/tenancy" Source: @webiny/tenant-manager/admin/types.ts


Name: useCurrentTenant Import: import { useCurrentTenant } from "webiny/admin/tenancy" Source: @webiny/tenant-manager/admin/CurrentTenant/useCurrentTenant.ts


Name: useDisableTenant Import: import { useDisableTenant } from "webiny/admin/tenancy" Source: @webiny/tenant-manager/admin/DisableTenant/index.ts


Name: useEnableTenant Import: import { useEnableTenant } from "webiny/admin/tenancy" Source: @webiny/tenant-manager/admin/EnableTenant/index.ts


Name: useTenantContext Import: import { useTenantContext } from "webiny/admin/tenancy" Source: @webiny/app-admin/presentation/tenancy/useTenantContext.ts


Info
Category Development
Name webiny-admin-tenancy-catalog
Version v20260424
Size 1.79KB
Updated At 2026-04-28
Language