技能 编程开发 Webiny API构建参数抽象层

Webiny API构建参数抽象层

v20260424
webiny-api-build-params-catalog
本模块提供Webiny API的构建时参数抽象层。它包含`BuildParam`和`BuildParams`两个抽象,用于规范化和类型安全地访问项目所需的构建时间配置参数。这极大地提升了API代码的结构化、可维护性和开发效率。
获取技能
438 次下载
概览

api/build-params

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: BuildParam Import: import { BuildParam } from "webiny/api/build-params" Source: @webiny/api-core/features/buildParams/index.ts Description: A single build-time configuration parameter.


Name: BuildParams Import: import { BuildParams } from "webiny/api/build-params" Source: @webiny/api-core/features/buildParams/index.ts Description: Access build-time configuration parameters.


信息
Category 编程开发
Name webiny-api-build-params-catalog
版本 v20260424
大小 879B
更新时间 2026-04-28
语言