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

Function getScopeItems

packages/cli/src/utils/dialogScopeUtils.ts:23–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 * Helper function to get scope items for radio button selects
22 */
23export function getScopeItems() {
24 return [
25 { label: SCOPE_LABELS[SettingScope.User], value: SettingScope.User },
26 {
27 label: SCOPE_LABELS[SettingScope.Workspace],
28 value: SettingScope.Workspace,
29 },
30 { label: SCOPE_LABELS[SettingScope.System], value: SettingScope.System },
31 ];
32}
33
34/**
35 * Generate scope message for a specific setting

Callers 2

SettingsDialogFunction · 0.85
ThemeDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected