cv/src/PersonalDataTypes.ts

41 lines
679 B
TypeScript

export type Contact = {
icon?: string,
text: string
}
export type Job = {
position: string,
company?: string,
timerange?: string,
description: string,
tags?: string[],
}
export type Jobs = {
current?: Job[],
previous?: Job[]
}
export type Education = Jobs;
export type Projects = Jobs
export type Skills = {
primary: string[],
secondary?: string[],
languages?: string[],
others?: string[]
}
export type PersonalData = {
updatedDate: string,
name: string,
brief: string,
contacts: Contact[],
jobs: Jobs,
projects?: Projects,
education?: Education,
skills: Skills,
interests: string[]
}