mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 12:14:42 +01:00
39 lines
535 B
TypeScript
Executable File
39 lines
535 B
TypeScript
Executable File
interface Form {
|
|
email: string,
|
|
name: string,
|
|
content: string,
|
|
subject: string
|
|
}
|
|
|
|
interface Translation {
|
|
code: string
|
|
french: string
|
|
english: string
|
|
}
|
|
|
|
interface Tag {
|
|
slug: string
|
|
}
|
|
|
|
interface Post {
|
|
slug: string,
|
|
title: string,
|
|
description: string,
|
|
reading_time: number,
|
|
tags: Array<Tag>,
|
|
cover: string,
|
|
date: string
|
|
}
|
|
|
|
interface NewsletterForm {
|
|
email: string
|
|
}
|
|
|
|
interface State {
|
|
opened: boolean,
|
|
route: string,
|
|
email: string
|
|
}
|
|
|
|
export { Form, Translation, Post, Tag, NewsletterForm, State }
|