UNPKG

@storm-software/config-tools

Version:

⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.

18 lines (15 loc) 739 B
import { StormWorkspaceConfig } from '@storm-software/config'; /** * 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 setExtensionEnv: <TConfig extends Record<string, any> = Record<string, any>>(extensionName: string, extension: TConfig) => void; /** * Get the config for the current Storm workspace * * @returns The config for the current Storm workspace from environment variables */ declare const setConfigEnv: (config: StormWorkspaceConfig) => void; export { setConfigEnv, setExtensionEnv };