blob: ddb5e729ef5d8646e92a87b6136163f012335b21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
export type VersionInfo = {
label: string,
path: string,
date: string
}
export type TocNode = {
label: string;
versions: {
[versionKey: string]: VersionInfo,
current: VersionInfo
};
nodes?: TocNodeCollection;
}
export type TocNodeCollection = { [tocNodeKey: string]: TocNode };
export type TocTreeNode = {
id: string;
label: string;
uri: string;
nodes?: TocTreeNode[];
disabled?: boolean;
}
|