-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtype.d.ts
More file actions
79 lines (68 loc) · 1.29 KB
/
Copy pathtype.d.ts
File metadata and controls
79 lines (68 loc) · 1.29 KB
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
type CardHeaderProps = {
title: string;
};
type CardImageProps = {
src: string;
alt: string;
};
type CardDescriptionProps = {
description: string;
};
type CardFooterProps = {
repoLink: string;
demoLink?: string;
};
type CardBodyProps = CardDescriptionProps & {
images: CardImageProps[];
};
type CardProps = CardHeaderProps & CardBodyProps & CardFooterProps;
type TechStack = {
name: string;
url?: string;
};
type Project = {
title: {
en: string;
tr: string;
};
endpoint: string;
images: CardImageProps[];
description: {
en: string;
tr: string;
};
repoLink: string;
demoLink?: string;
techStack: TechStack[];
status: "completed" | "in-progress" | "planned";
contributors?: {
name: string;
github: string;
}[];
};
type ProjectPreview = {
title: string;
src: string;
alt: string;
endpoint: string;
description: string;
};
type Year = {
year?: string;
total?: number;
range?: {
start?: string;
end?: string;
};
};
type contribution = {
date: string;
count: number;
color: string;
intensity: string;
};
type GithubContributionResponse = {
years: Year[];
contributions: contribution[];
};
type TakenCourses = Record<"courseTitle" | "courseLink" | "summarize" | "image" | "tutor", string> & { tags: string[] }