Skills Development Multi-Tenancy Abstractions for Admin Features

Multi-Tenancy Abstractions for Admin Features

v20260825
webiny-admin-tenancy-catalog
This module provides essential abstractions, types, and custom hooks for implementing robust multi-tenancy logic within an administrative dashboard. It allows developers to easily manage tenant context, determine tenant status (e.g., root tenant checks), and perform critical operations like enabling or disabling tenants, ensuring structured and isolated application development.
Get Skill
500 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 v20260825
Size 1.77KB
Updated At 2026-09-06
Language