技能 编程开发 Web应用抽象工具集

Web应用抽象工具集

v20260424
webiny-admin-catalog
这是一个基础工具模块,提供了构建复杂、可扩展Web应用的必备抽象层、Hooks和组件。它用于管理功能模块、实现全局状态(如React Context Provider)、定义应用路由和配置环境,是构建健壮前端架构的基石。
获取技能
398 次下载
概览

admin

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: AdminConfig Import: import { AdminConfig } from "webiny/admin" Source: @webiny/app-admin/config/AdminConfig.tsx


Name: BaseError Import: import { BaseError } from "webiny/admin" Source: @webiny/feature/admin/index.ts


Name: BuildParam Import: import { BuildParam } from "webiny/admin" Source: @webiny/app-admin/features/buildParams/index.ts


Name: BuildParams Import: import { BuildParams } from "webiny/admin" Source: @webiny/app-admin/features/buildParams/index.ts


Name: createAbstraction Import: import { createAbstraction } from "webiny/admin" Source: @webiny/feature/admin/index.ts


Name: createFeature Import: import { createFeature } from "webiny/admin" Source: @webiny/feature/admin/index.ts


Name: createProvider Import: import { createProvider } from "webiny/admin" Source: @webiny/app/core/createProvider.tsx Description: Creates a Higher Order Component which wraps the entire app content. This is mostly useful for adding React Context providers.


Name: createProviderPlugin Import: import { createProviderPlugin } from "webiny/admin" Source: @webiny/app/core/createProviderPlugin.tsx Description: Creates a component, which, when mounted, will register an app provider. This is particularly useful for wrapping the entire app with custom React Context providers. For more information, visit https://www.webiny.com/docs/admin-area/basics/framework.


Name: DevToolsSection Import: import { DevToolsSection } from "webiny/admin" Source: @webiny/app-admin/components/index.ts Description: Registers a named section in the Webiny DevTools extension. Renders nothing — purely a data registration side-effect.

When the component unmounts (e.g., route change), the section is automatically removed from DevTools.


Name: MainGraphQLClient Import: import { MainGraphQLClient } from "webiny/admin" Source: @webiny/app/features/mainGraphQLClient/index.ts


Name: NetworkErrorEventHandler Import: import { NetworkErrorEventHandler } from "webiny/admin" Source: @webiny/app/errors/index.ts


Name: Plugin Import: import { Plugin } from "webiny/admin" Source: @webiny/app/core/Plugin.tsx


Name: Provider Import: import { Provider } from "webiny/admin" Source: @webiny/app/core/Provider.tsx Description: Register a new React context provider.


Name: RegisterFeature Import: import { RegisterFeature } from "webiny/admin" Source: @webiny/app-admin/components/RegisterFeature.tsx


Name: Routes Import: import { Routes } from "webiny/admin" Source: @webiny/app-admin/routes.ts


Name: useFeature Import: import { useFeature } from "webiny/admin" Source: @webiny/app/shared/di/useFeature.ts


信息
Category 编程开发
Name webiny-admin-catalog
版本 v20260424
大小 12.25KB
更新时间 2026-04-28
语言