summaryrefslogtreecommitdiff
path: root/api.d.ts
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-17 08:15:42 +0300
committerKirill Rogovoy <[email protected]>2021-07-17 08:15:42 +0300
commitb1882a37430e54fc29d3171b9ba561415fd95682 (patch)
treeada7055ec3aef97ad443fa33d7c38a759c332110 /api.d.ts
parent837d2a358c69d6a728d08a82dc7c4242ef6f21af (diff)
Add initial org-roam-ui.el and api.d.ts
Diffstat (limited to 'api.d.ts')
-rw-r--r--api.d.ts15
1 files changed, 15 insertions, 0 deletions
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
+}