summaryrefslogtreecommitdiff
path: root/api.d.ts
blob: 59b4c827778d945e27c65a026e2b1f855af63f17 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export type OrgRoamGraphReponse = {
  nodes: OrgRoamNode[]
  links: OrgRoamLink[]
}

export type OrgRoamNode = {
  id: string
  file: string
  title: string
  level: number
  properties: {
    [key: string]: string | number
  }
}

export type OrgRoamLink = {
  source: string
  target: string
  type: string
}