summaryrefslogtreecommitdiff
path: root/api.d.ts
diff options
context:
space:
mode:
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
+}