summaryrefslogtreecommitdiffstats
path: root/src/ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-21 15:20:17 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-21 15:20:17 +0100
commit926e1df1e9a7de29134293fe2306c9d9ecb594a6 (patch)
treed83550ce445525a3993d2f345cb301be5e7403b3 /src/ts
parentae17973618c5ad5500ae69738da222187a09b019 (diff)
chore: add a table of contents
Diffstat (limited to 'src/ts')
-rw-r--r--src/ts/types/app.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts
index ba28416..e1d8917 100644
--- a/src/ts/types/app.ts
+++ b/src/ts/types/app.ts
@@ -76,6 +76,13 @@ export type Dates = {
update: string;
};
+export type Heading = {
+ depth: number;
+ id: string;
+ children: Heading[];
+ title: string;
+};
+
export type PageInfo = {
endCursor: string;
hasNextPage: boolean;