-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
43 lines (37 loc) · 668 Bytes
/
types.ts
File metadata and controls
43 lines (37 loc) · 668 Bytes
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
export interface User {
login: string
id: number
node_id: string
name: string
avatar_url: string
bio: string
location: string
company: string
email: string
blog: string
url: string
html_url: string
public_repos: number
public_gists: number
followers: number
following: number
created_at: string
updated_at: string
}
export interface JsonFile {
_path: string
_draft: boolean
_partial: boolean
_locale: string
_id: string
_type: string
title: string
_source: string
_file: string
_extension: string
[timestamp: string]: string | boolean
}
export interface Moment {
createTime: number
content: string
}