-
Notifications
You must be signed in to change notification settings - Fork 9
/
typings.ts
98 lines (87 loc) · 1.49 KB
/
typings.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
export interface IUrl {
url: string;
}
export interface IText {
text: string;
}
export interface ISkills {
id: string;
uniqueId: number;
proficient: boolean;
skill: string;
url: string;
fieldType: string | null;
image: IUrl;
}
export interface IJobs {
id: string;
company: string;
designation: string;
companyLinkedin: string;
companyUrl: string;
from: string;
to: string;
logo: IUrl;
}
export interface IProjects {
id: string;
title: string;
uniqueId: number;
description: string;
demoLink: string;
githubLink: string;
techStack: Array<IText>;
image: IUrl;
}
export interface IFormFields {
value: string;
errorMessage: string;
}
export interface IFormData {
name: IFormFields;
email: IFormFields;
message: IFormFields;
}
export const THEME = {
LIGHT: "light",
DARK: "dark",
};
export type Theme = "light" | "dark";
export enum Months {
Jan = 1,
Feb = 2,
Mar = 3,
Apr = 4,
May = 5,
Jun = 6,
Jul = 7,
Aug = 8,
Sep = 9,
Oct = 10,
Nov = 11,
Dec = 12,
}
export const SKILLSET = {
LANGUAGES: "languages",
FRONTEND: "frontend",
UI_LIBRARIES: "uilibraries",
HEADLESS_CMS: "headless cms",
TESTING: "testing",
TOOLS: "tools",
};
export const TECHSTACK = {
ALL: "all",
CPP: "c++",
PHP: "php",
JAVASCRIPT: "javascript",
TYPESCRIPT: "typescript",
REACT: "react",
NEXTJS: "nextjs",
};
export const SECTION = {
ABOUT: "about",
JOBS: "jobs",
PROJECTS: "projects",
SKILLS: "skills",
CONTACT: "contact",
};