UNPKG

@storm-software/config-tools

Version:

A package containing various utilities to support custom workspace configurations and environment management for Storm Software projects, including configuration file handling, environment variable management, and logging utilities.

19 lines (16 loc) 778 B
import { StormWorkspaceConfig } from '@storm-software/config'; import { DeepPartial } from '../types.js'; /** * Get the config for an extension module of Storm workspace from environment variables * * @param extensionName - The name of the extension module * @returns The config for the specified Storm extension module. If the module does not exist, `undefined` is returned. */ declare const getExtensionEnv: <TConfig extends Record<string, any> = Record<string, any>>(extensionName: string) => TConfig | undefined; /** * Get the config for the current Storm workspace * * @returns The config for the current Storm workspace from environment variables */ declare const getConfigEnv: () => DeepPartial<StormWorkspaceConfig>; export { getConfigEnv, getExtensionEnv };