first commit

This commit is contained in:
Johan LEROY
2026-04-21 14:14:03 +02:00
commit 9e9bc0f23d
124 changed files with 13294 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import { z } from 'zod';
export const SkillSchema = z.object({
name: z.string(),
icon: z.string(),
level: z.enum(['primary', 'secondary']).default('primary'),
});
export const SkillCategorySchema = z.object({
id: z.string(),
label: z.string(),
items: z.array(SkillSchema),
});
export const SkillsSchema = z.object({
primary: z.array(SkillCategorySchema),
secondary: z.array(SkillCategorySchema),
});
export type Skill = z.infer<typeof SkillSchema>;
export type SkillCategory = z.infer<typeof SkillCategorySchema>;
export type Skills = z.infer<typeof SkillsSchema>;