MCPcopy
hub / github.com/ZenNotes/zennotes / ScalarFieldMap

Interface ScalarFieldMap

apps/desktop/src/main/app-config.ts:33–39  ·  view source on GitHub ↗

How a scalar preference maps onto a TOML `[section]` + key, plus the inline * comment that documents its allowed values / meaning in the file.

Source from the content-addressed store, hash-verified

31/** How a scalar preference maps onto a TOML `[section]` + key, plus the inline
32 * comment that documents its allowed values / meaning in the file. */
33interface ScalarFieldMap {
34 section: string
35 tomlKey: string
36 /** Inline `# comment` shown after the value — lists allowed values or a hint
37 * so the file is self-documenting. */
38 comment: string
39}
40
41// Order sections are emitted in. Keeps the file stable across rewrites.
42const SECTION_ORDER = ['vim', 'search', 'editor', 'appearance', 'typography', 'view'] as const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected