Interface WikiPage

A single wiki page: parsed frontmatter + markdown body.

interface WikiPage {
    id: string;
    type: "entity" | "concept" | "log";
    summary: string;
    updated: string;
    sources: string[];
    body: string;
    links: string[];
}

Properties

id: string

Stable id = path relative to memory/ without extension, with / between folders, e.g. 'entities/johnny'. The store refuses an id without this form (see isWikiPageId) before it reads or writes a file.

type: "entity" | "concept" | "log"
summary: string

One-line catalog summary.

updated: string

ISO8601 last-update timestamp.

sources: string[]

Provenance: ids of memory traces that fed this page.

body: string

Markdown body (frontmatter stripped).

links: string[]

Parsed [[wikilink]] targets found in the body.