-
Notifications
You must be signed in to change notification settings - Fork 6
/
types.ts
110 lines (103 loc) · 1.9 KB
/
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import type { BadgeColor } from '#ui/types'
interface WakatimeData {
name: string
percent: number
}
export interface Stats {
coding: {
data: {
grand_total: {
total_seconds_including_other_language: number
}
range: {
start: string
}
}
}
editors: {
data: Array<WakatimeData>
}
os: {
data: Array<WakatimeData>
}
languages: {
data: Array<WakatimeData>
}
}
interface LanyardActivity {
name: string
state: string
details: string
timestamps: {
start: number
}
}
export interface Activity {
data: {
activities: Array<LanyardActivity>
}
}
export const IDEs = [
{ name: 'Visual Studio Code', icon: 'visual-studio-code' },
{ name: 'IntelliJ IDEA Ultimate', icon: 'intellij-idea' },
{ name: 'WebStorm', icon: 'webstorm' },
]
export interface Tag {
label: string
icon: string
color: BadgeColor
title?: string
translation: string
}
export const TAGS: Array<Tag> = [
{
label: 'Article',
icon: 'i-ph-pencil-line-duotone',
color: 'red',
title: 'Articles',
translation: 'tags.article',
},
{
label: 'Project',
icon: 'i-ph-briefcase-duotone',
color: 'blue',
title: 'Projects',
translation: 'tags.project',
},
{
label: 'R',
icon: 'i-vscode-icons-file-type-r',
color: 'orange',
translation: 'tags.r',
},
{
label: 'AI',
icon: 'i-ph-brain-duotone',
color: 'green',
translation: 'tags.ai',
},
{
label: 'Data',
icon: 'i-ph-database-duotone',
color: 'purple',
translation: 'tags.data',
},
{
label: 'Web',
icon: 'i-ph-globe-duotone',
color: 'cyan',
translation: 'tags.web',
},
{
label: 'Python',
icon: 'i-vscode-icons-file-type-python',
color: 'amber',
translation: 'tags.python',
},
{
label: 'Maths',
icon: 'i-ph-calculator-duotone',
color: 'pink',
translation: 'tags.maths',
},
]