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

Function folder

packages/app-core/src/lib/database-links.test.ts:5–9  ·  view source on GitHub ↗
(f: FolderEntry['folder'], subpath: string)

Source from the content-addressed store, hash-verified

3import { listDatabaseLinkTargets, resolveDatabaseWikilink } from './database-links'
4
5const folder = (f: FolderEntry['folder'], subpath: string): FolderEntry => ({
6 folder: f,
7 subpath,
8 siblingOrder: 0
9})
10
11const rootSettings = { primaryNotesLocation: 'root' } as VaultSettings
12const inboxSettings = { primaryNotesLocation: 'inbox' } as VaultSettings

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected