mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 09:41:31 +10:00
perf: 🎨 remove fragment imports, optimize templates
This commit is contained in:
@ -2,6 +2,7 @@ import { z } from "zod";
|
||||
|
||||
export const customFieldSchema = z.object({
|
||||
id: z.string().cuid2(),
|
||||
icon: z.string(),
|
||||
name: z.string(),
|
||||
value: z.string(),
|
||||
});
|
||||
|
||||
@ -7,7 +7,7 @@ export const customSectionSchema = itemSchema.extend({
|
||||
name: z.string(),
|
||||
description: z.string(),
|
||||
date: z.string(),
|
||||
level: z.number().min(0).max(5).default(0),
|
||||
location: z.string(),
|
||||
summary: z.string(),
|
||||
keywords: z.array(z.string()).default([]),
|
||||
url: urlSchema,
|
||||
@ -22,7 +22,7 @@ export const defaultCustomSection: CustomSection = {
|
||||
name: "",
|
||||
description: "",
|
||||
date: "",
|
||||
level: 0,
|
||||
location: "",
|
||||
summary: "",
|
||||
keywords: [],
|
||||
url: defaultUrl,
|
||||
|
||||
Reference in New Issue
Block a user