webiny-admin-env-config-catalog
$
npx mdskill add webiny/webiny-js/webiny-admin-env-config-catalogAccess environment configuration types and hooks for managing application settings within the admin context.
- Provides structured access to environment configuration data types and hooks.
- Integrates with the core webiny API for environment settings management.
- Exposes two primary abstractions: a type and a React hook for consumption.
- Delivers configuration instances or types via direct imports into components and logic.
SKILL.md
.github/skills/webiny-admin-env-config-catalogView on GitHub ↗
---
name: webiny-admin-env-config-catalog
context: webiny-api
description: >
admin/env-config — 2 abstractions.
---
# admin/env-config
## How to Use
1. Find the abstraction you need below
2. Read the source file to get the exact interface and types
3. Import: `import { Name } from "<importPath>";`
## Abstractions
---
**Name:** `EnvConfig`
**Import:** `import { EnvConfig } from "webiny/admin/env-config"`
**Source:** `@webiny/app/features/envConfig/index.ts`
---
**Name:** `useEnvConfig`
**Import:** `import { useEnvConfig } from "webiny/admin/env-config"`
**Source:** `@webiny/app/presentation/envConfig/useEnvConfig.ts`
**Description:** Returns the EnvConfig instance from DI.
Useful when you want to access EnvConfig inside components and hooks.
---
More from webiny/webiny-js
- testerUse when running tests. Shows how to run tests for a single package, including OpenSearch (ddb-os) tests when applicable.
- webiny-admin-aco-catalog>
- webiny-admin-architect>
- webiny-admin-build-params-catalog>
- webiny-admin-catalog>
- webiny-admin-cms-catalog>
- webiny-admin-configs-catalog>
- webiny-admin-form-catalog>
- webiny-admin-graphql-client-catalog>
- webiny-admin-lexical-catalog>