Deno is better

This commit is contained in:
Lucàs
2023-05-06 14:01:38 +02:00
parent d8f009ac1e
commit 31f70d319f
35 changed files with 668 additions and 828 deletions
+13
View File
@@ -0,0 +1,13 @@
type BadgeModel = {
label?: string,
message?: string,
color?: string,
logo?: string,
style: "plastic" | "flat" | "flat-square" | "for-the-badge" | "social",
logoColor?: string,
logoWidth?: number,
link?: string,
labelColor?: string,
cacheSeconds?: number,
}
export default BadgeModel;
+9
View File
@@ -0,0 +1,9 @@
type BannerModel = {
text1: string,
text2?: string,
type: "origin" | "textBox" | "glitch" | "luminance" | "typeWriter" | "rainbow",
width: number,
height: number,
}
export default BannerModel;
+20
View File
@@ -0,0 +1,20 @@
import type BannerModel from './BannerModel.ts';
import type LinkModel from './LinkModel.ts';
import type BadgeModel from './BadgeModel.ts';
type ConfigModel = {
file: {
template: string,
output: string
},
view: {
userName: string,
banner: BannerModel,
about: string,
links: LinkModel[],
skills: BadgeModel[],
footer: string[]
}
}
export default ConfigModel;
+8
View File
@@ -0,0 +1,8 @@
import BadgeModel from './BadgeModel.ts';
type LinkModel = {
label: BadgeModel,
url: string
}
export default LinkModel