Files
website-old/types/types.ts

88 lines
1.3 KiB
TypeScript
Executable File

interface Form {
email: string,
name: string,
content: string,
subject: string
}
interface InfoData {
age: number
hiring: {
status: string,
color: string
}
}
interface Skill {
title: string,
color: string,
cover: string,
slug: string
}
interface Experience {
slug: string,
title: string,
company: string,
location: string,
begin_date: string,
end_date: string
}
interface Formation {
slug: string,
title: string,
description: string,
location: string,
begin_date: string,
end_date: string
}
interface Tag {
slug: string
}
interface Post {
slug: string,
title: string,
description: string,
reading_time: number,
tags: Array<Tag>,
cover: string,
date: string
}
interface Project {
slug: string,
title: string,
description: string,
url: string,
cover: string,
tags: Array<Tag>,
}
interface NewsletterForm {
email: string
}
interface Translation {
code: string,
english: string,
french: string
}
interface State {
opened: boolean,
route: string,
email: string
}
interface Announce {
color: string,
hover_color: string,
translation: Translation
file: null
}
export { Form, InfoData, Skill, Experience, Formation, Post, Tag, Project, NewsletterForm, Translation, State, Announce }