| 203 | |
| 204 | /** Fully-hydrated database handed to the renderer (sidecar + rows + identity). */ |
| 205 | export 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). */ |
| 219 | export interface DatabaseSummary { |
nothing calls this directly
no outgoing calls
no test coverage detected