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

Interface DatabaseSidecar

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

Source from the content-addressed store, hash-verified

183
184/** The sidecar JSON written to `<Name>.base/schema.json`. */
185export interface DatabaseSidecar {
186 version: 1
187 /** Field whose cells hold the row UUID (its `name` is the CSV header). */
188 idFieldId: string
189 /** Order == on-disk CSV column order. */
190 fields: DbField[]
191 views: DbView[]
192 activeViewId: string
193 /** Row id → vault path of that record's "page" note (created on demand). */
194 pages?: Record<string, string>
195}
196
197/** Cells are raw CSV strings keyed by DbField.id. */
198export interface DbRow {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected