-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.d.ts
68 lines (60 loc) · 1015 Bytes
/
types.d.ts
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
type Teams = {
name: string
avatar: string
occupation: string
github?: string
linkedin?: string
}
type BlogPost = {
slug: string
title: string
tags: string
description: string
lang: string
}
type ImageGallery = {
src: string
width: number
height: number
title: string
alt: string
caption: string
tags: stirng[]
date: string
}
type NavItem = {
separator?: boolean
title: string
href: string
disabled?: boolean
external?: boolean
}
type MainNavItem = NavItem
type DashboardConfig = {
mainNav: MainNavItem[]
sidebarNav: SidebarNavItem[]
}
type SidebarNavItem = {
title: string
disabled?: boolean
separator?: boolean
external?: boolean
icon?: keyof typeof Icons
} & (
| {
href: string
items?: never
}
| {
href: string
items?: NavLink[]
}
)
type DocsConfig = {
mainNav: MainNavItem[]
sidebarNav: SidebarNavItem[]
}
declare module "rehype-citation" {
const rehypeCitation: any
export default rehypeCitation
}