MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getSettingsByType

Function getSettingsByType

packages/cli/src/utils/settingsUtils.ts:152–158  ·  view source on GitHub ↗
(
  type: SettingDefinition['type'],
)

Source from the content-addressed store, hash-verified

150 * Get settings by type
151 */
152export function getSettingsByType(
153 type: SettingDefinition['type'],
154): Array<SettingDefinition & { key: string }> {
155 return Object.values(FLATTENED_SCHEMA).filter(
156 (definition) => definition.type === type,
157 );
158}
159
160/**
161 * Get settings that require restart

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected