Functions

f
loadConfig(
runtime: IRuntimeServices,
options?: ConfigPluginOptions
): Promise<IConfig>

Builds an immutable configuration snapshot from the environment.

Interfaces

I
ConfigPluginOptions

Options for ConfigPlugin and loadConfig.

I
StructuralSchema

Minimal structural schema interface compatible with Zod's parse(unknown) API. Consumers supply a Zod schema without config-plugin depending on Zod.

Usage

import * as Configuration_management_plugin_with_env_loading_and_Zod_validation___Provides__ConfigPlugin__which_registers_a_type_safe___linkcode_IConfig__under__CAPABILITIES_CONFIG___Configuration_values_originate_from_environment_variables_and___env__files__validated_at_startup___Every_export_here_is_public_API_and_documented_in_PUBLIC_API_md__AI_GUIDELINES__10__ from "config-plugin/src/index.ts";