This commit is contained in:
2023-08-12 15:54:23 +02:00
parent 3dcd5f1ef6
commit b90829a543
18 changed files with 631 additions and 24 deletions

View File

@@ -1,3 +1,5 @@
import type { MarkdownParsedContent, ParsedContent } from '@nuxt/content/dist/runtime/types'
export enum ColorsTheme {
RED = 'red',
ORANGE = 'orange',
@@ -17,3 +19,55 @@ export enum ColorsTheme {
PINK = 'pink',
ROSE = 'rose',
}
export interface JsonParsedContent<T> extends ParsedContent {
body: T
}
export interface Post extends MarkdownParsedContent {
slug: string
title: string
description: string
readingMins: number
publishedAt: string
modifiedAt: string
cover: string
author: string
}
export interface Project extends MarkdownParsedContent {
name: string
description: string
latest: boolean
link: string
icon: string
skills: Skill[]
tags: string[]
}
export interface WorkExperience extends MarkdownParsedContent {
title: string
description: string
company: string
location: string
companyLink: string
startDate: string
endDate: string | 'Today'
}
export interface Education extends MarkdownParsedContent {
title: string
description: string
location: string
startDate: string
endDate: string | 'Today'
}
export interface Skill extends ParsedContent {
name: string
icon: string & {
dark: string
light: string
}
color: string
}