-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
types.ts
55 lines (47 loc) · 906 Bytes
/
types.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
export type Game = {
id: string;
title: string,
developer: string,
releaseDate: string,
url: string,
cover: string,
}
export type WebgalAssets = {
version: string,
releaseTime: string,
releaseNote: string[],
}
export type WebgalTerreAssets = {
version: string,
releaseTime: string,
releaseNote: string[],
downloadUrl: { platform: string, url: string }[],
}
export type Person = {
name: string,
avatarUrl: string,
url: string,
}
export type Sponsors = {
special: Person[] | null,
platinum: Person[] | null,
gold: Person[] | null,
silver: Person[] | null,
sponsors: Person[] | null,
}
export type Contributor = Person
export type PostData = {
title: string,
author: string,
date: string,
tags: string[],
}
export type Post = {
slug: string,
data: PostData,
contentHtml: string,
}
export type PostListItem = {
slug: string,
data: PostData,
}