MCPcopy Create free account
hub / github.com/Noumena-Network/code / getOptionsForSetting

Function getOptionsForSetting

src/tools/ConfigTool/supportedSettings.ts:201–207  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

199}
200
201export function getOptionsForSetting(key: string): string[] | undefined {
202 const config = SUPPORTED_SETTINGS[key]
203 if (!config) return undefined
204 if (config.options) return [...config.options]
205 if (config.getOptions) return config.getOptions()
206 return undefined
207}
208
209export function getPath(key: string): string[] {
210 const config = SUPPORTED_SETTINGS[key]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected