MCPcopy Create free account
hub / github.com/andylow92/file-system-like-github / BuildGraphOptions

Interface BuildGraphOptions

packages/shared/src/graph.ts:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72/** Options controlling how {@link buildGraph} derives edges. */
73export interface BuildGraphOptions {
74 /**
75 * Derive typed edges from frontmatter fields whose values contain
76 * `[[wikilinks]]` (the field name becomes the relation type). Defaults to
77 * `true`. Set `false` to fall back to body-only edges (the pre-self-wiring
78 * behaviour), which also treats any frontmatter `[[link]]` as a plain
79 * untyped body edge.
80 */
81 frontmatterRelations?: boolean;
82}
83
84/** A typed relation declared in a note's frontmatter. */
85export interface FrontmatterRelation {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected