-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.d.ts
54 lines (51 loc) · 1.07 KB
/
global.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
declare module '*.jpeg';
declare module '*.jpg';
declare module '*.png';
declare type ViewType = 'card' | 'list';
declare interface SideBarItem {
title: string;
permalink: string;
}
declare interface PostItem {
content: {
assets: { authorsImageUrls: string[] };
contentTitle?: string;
frontMatter: {
author: string;
author_image_url: string;
author_title: string;
description: string;
keywords: string[];
tags: string[];
title: string;
};
isMDXComponent: boolean;
metadata: {
authors: {
imageURL: string;
name: string;
title: string;
url: string;
}[];
date: string;
description: string;
editUrl: string;
formattedDate: string;
nextItem: {
permalink: string;
title: string;
};
permalink: string;
prevItem: {
permalink: string;
title: string;
};
readingTime: number;
source: string;
tags: string[];
title: string;
truncated: boolean;
};
toc: string[];
};
}