Skip to main content

webiny-admin-tenancy-catalog

admin/tenancy — 9 abstractions.

来源信息

仓库
webiny/webiny-js
最近来源活动
2026年7月24日 12:20
检测到的 SKILL.md 语言
英语
星标
8,045
分支
682

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
webiny-admin-tenancy-catalog
description
admin/tenancy — 9 abstractions.
# 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` ---
在 GitHub 查看