-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.d.ts
58 lines (52 loc) · 988 Bytes
/
settings.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
declare module '*.yml' {
interface General {
url: string;
name: string;
description: string;
logo: string;
hashtag: string;
per_page: number;
pagination: number;
github: string;
company_name: string;
company_logo: string;
company_url: string;
twitter_handle: string;
twitter_site: string;
twitter_cardtype: string;
search_result_title: string;
}
interface Image {
url: string;
width: number;
height: number;
alt: string;
}
interface Authors {
author: string;
}
interface Blog {
url: string;
logo: string;
logo_mini: string;
comments: string;
title_suffix: string;
type: string;
authors: Authors[];
images: Image[];
}
interface RSS {
author: {
name: string;
email: string;
link: string;
};
}
interface RootObject {
general: General;
blogs: Blog;
rss: RSS;
}
const data: RootObject;
export default data;
}