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

Function note

packages/app-core/src/lib/buffer-navigation.test.ts:6–8  ·  view source on GitHub ↗
(path: string, updatedAt: number, folder: NoteMeta['folder'] = 'inbox')

Source from the content-addressed store, hash-verified

4import { getBufferNavigationTarget } from './buffer-navigation'
5
6function note(path: string, updatedAt: number, folder: NoteMeta['folder'] = 'inbox'): Pick<NoteMeta, 'path' | 'folder' | 'updatedAt'> {
7 return { path, folder, updatedAt }
8}
9
10function leaf(id: string, tabs: string[], activeTab: string | null = tabs[0] ?? null): PaneLayout {
11 return { kind: 'leaf', id, tabs, pinnedTabs: [], activeTab }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected