MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / configuration

Function configuration

graph-ui/src/system/IndexesPanel.test.tsx:11–11  ·  view source on GitHub ↗
(value = 'true', effective = value, revision = 'r1')

Source from the content-addressed store, hash-verified

9
10let container: HTMLDivElement, root: Root;
11const configuration = (value = 'true', effective = value, revision = 'r1'): ConfigSnapshot => ({ revision, settings: [{ key: 'watcher_enabled', label: 'Background watcher', description: '', category: 'indexing', type: 'boolean', defaultValue: 'true', value, override: value, effective, source: 'override', applyMode: 'restart', pendingRestart: value !== effective, editable: true }] });
12const healthy = (watchRegistered = true, watcherRunning = true) => readHealth({ status: 'healthy', nodes: 42, edges: 73, indexed_at: '2026-09-30T12:00:00Z', watch_registered: watchRegistered, watcher_running: watcherRunning });
13const source = () => ({ projectHealth: vi.fn<(name: string) => Promise<ProjectHealth>>().mockResolvedValue(healthy()), configuration: vi.fn().mockResolvedValue(configuration()), saveConfiguration: vi.fn<(revision: string, changes: Record<string, string | null>) => Promise<ConfigSnapshot>>() });
14let api: ReturnType<typeof source>;

Callers 3

sourceFunction · 0.85
SystemWorkspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected