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

Function push

packages/app-core/src/lib/move-note.ts:28–30  ·  view source on GitHub ↗
(value: string, detail?: string)

Source from the content-addressed store, hash-verified

26function buildMoveNoteSuggestions(folders: FolderEntry[]): PromptSuggestion[] {
27 const byValue = new Map<string, PromptSuggestion>()
28 const push = (value: string, detail?: string): void => {
29 if (!byValue.has(value)) byValue.set(value, { value, detail })
30 }
31
32 push('inbox', 'Root')
33 push('archive', 'Root')

Callers 1

buildMoveNoteSuggestionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected