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

Interface DatabaseDoc

packages/shared-domain/src/databases.ts:205–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203
204/** Fully-hydrated database handed to the renderer (sidecar + rows + identity). */
205export interface DatabaseDoc extends DatabaseSidecar {
206 /** Vault-relative POSIX path of the `data.csv` — identity / cache key. */
207 path: string
208 /** Database name: the `.base` folder name (legacy: the `.csv` basename). */
209 title: string
210 rows: DbRow[]
211 /**
212 * Row id → whether that record's linked page note has body content (beyond
213 * frontmatter + the title heading). Derived on read; not persisted.
214 */
215 pageHasContent?: Record<string, boolean>
216}
217
218/** Lightweight listing entry for database discovery (sidebar / quick-open). */
219export interface DatabaseSummary {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected