@braindb/core
Version:
markdown-graph-content-layer-database
25 lines (24 loc) • 660 B
TypeScript
import { Db } from "./db.js";
export declare function resolveLinks(db: Db): void;
export declare function unresolvedLinks(db: Db, idPath?: string): {
from: string;
start: number;
}[];
type GetDocumentsProps = {
db: Db;
idPath: string;
selfLinks?: boolean;
};
/**
* Incoming links
*/
export declare function getDocumentsFrom({ db, idPath, selfLinks, }: GetDocumentsProps): string[];
/**
* Outgoing links
*/
export declare function getDocumentsTo({ db, idPath, selfLinks, }: GetDocumentsProps): string[];
/**
* Incoming and Outgoing links
*/
export declare function getConnectedDocuments(props: GetDocumentsProps): string[];
export {};