MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / normalizePrimaryNotesLocation

Function normalizePrimaryNotesLocation

apps/desktop/src/main/vault.ts:859–861  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

857}
858
859function normalizePrimaryNotesLocation(value: unknown): PrimaryNotesLocation {
860 return value === 'root' ? 'root' : 'inbox'
861}
862
863function normalizeVaultSettings(
864 value: unknown,

Callers 1

normalizeVaultSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected