Add type definition for Resume feature

This commit is contained in:
Ariful Alam
2022-10-03 16:05:07 +06:00
parent a60fac9a95
commit a7d7195487
3 changed files with 15 additions and 6 deletions

View File

@@ -144,9 +144,6 @@ export const sanitizeConfig = (config) => {
projects: config?.github?.exclude?.projects || [],
},
},
resume: {
fileUrl: config?.resume?.fileUrl || '',
},
social: {
linkedin: config?.social?.linkedin,
twitter: config?.social?.twitter,
@@ -160,6 +157,9 @@ export const sanitizeConfig = (config) => {
phone: config?.social?.phone,
email: config?.social?.email,
},
resume: {
fileUrl: config?.resume?.fileUrl || '',
},
skills: config?.skills || [],
experiences: config?.experiences || [],
education: config?.education || [],