From b1882a37430e54fc29d3171b9ba561415fd95682 Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Sat, 17 Jul 2021 08:15:42 +0300 Subject: Add initial org-roam-ui.el and api.d.ts --- api.d.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 api.d.ts (limited to 'api.d.ts') diff --git a/api.d.ts b/api.d.ts new file mode 100644 index 0000000..3bbea6d --- /dev/null +++ b/api.d.ts @@ -0,0 +1,15 @@ +export type OrgRoamGraphReponse = { + nodes: OrgRoamNode[] + links: OrgRoamLink[] +} + +export type OrgRoamNode = { + id: string + file: string + title: string +} + +export type OrgRoamLink = { + source: string + dest: string +} -- cgit v1.2.3