mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-28 02:40:33 +01:00
Removed nuxt/image
This commit is contained in:
1
src/plugins/main.ts
Normal file
1
src/plugins/main.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
import 'windi.css'
|
||||||
35
types/index.d.ts
vendored
Normal file
35
types/index.d.ts
vendored
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
import { NuxtAxiosInstance } from '@nuxtjs/axios'
|
||||||
|
import VueI18n, {IVueI18n} from "vue-i18n";
|
||||||
|
import {ColorModeInstance} from "@nuxtjs/color-mode/types/color-mode";
|
||||||
|
import {NuxtApp} from "@nuxt/types/app";
|
||||||
|
import {NuxtStorage} from "@nuxtjs/universal-storage";
|
||||||
|
|
||||||
|
declare module 'vue/types/vue' {
|
||||||
|
|
||||||
|
interface Vue {
|
||||||
|
$axios: NuxtAxiosInstance,
|
||||||
|
i18n: VueI18n & IVueI18n
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare module '@nuxt/types' {
|
||||||
|
|
||||||
|
interface NuxtAppOptions {
|
||||||
|
$axios: NuxtAxiosInstance,
|
||||||
|
i18n: VueI18n & IVueI18n
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Context {
|
||||||
|
$axios: NuxtAxiosInstance,
|
||||||
|
i18n: VueI18n & IVueI18n
|
||||||
|
$colorMode: ColorModeInstance,
|
||||||
|
$app: NuxtApp,
|
||||||
|
$storage: NuxtStorage
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
declare module 'vuex/types/index' {
|
||||||
|
interface Store<S> {
|
||||||
|
$axios: NuxtAxiosInstance,
|
||||||
|
i18n: VueI18n & IVueI18n
|
||||||
|
}
|
||||||
|
}
|
||||||
64
types/types.ts
Normal file
64
types/types.ts
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
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>,
|
||||||
|
}
|
||||||
|
|
||||||
|
export { Form, InfoData, Skill, Experience, Formation, Post, Tag, Project }
|
||||||
4
types/vue-shim.d.ts
vendored
Normal file
4
types/vue-shim.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
declare module '*.vue' {
|
||||||
|
import Vue from 'vue'
|
||||||
|
export default Vue
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user