- fixes #2693, fixes #2716

This commit is contained in:
Amruth Pillai
2026-02-26 22:50:34 +01:00
parent 9d70bc4fd3
commit 28ae7714c8
+4 -4
View File
@@ -6,13 +6,13 @@ import { jsonPatchOperationSchema } from "@/utils/resume/patch";
const resumeSchema = createSelectSchema(schema.resume, {
id: z.string().describe("The ID of the resume."),
name: z.string().min(1).max(64).describe("The name of the resume."),
slug: z.string().min(1).max(64).describe("The slug of the resume."),
name: z.string().min(1).describe("The name of the resume."),
slug: z.string().min(1).describe("The slug of the resume."),
tags: z.array(z.string()).describe("The tags of the resume."),
isPublic: z.boolean().describe("Whether the resume is public."),
isLocked: z.boolean().describe("Whether the resume is locked."),
password: z.string().min(6).max(64).nullable().describe("The password of the resume, if any."),
data: resumeDataSchema,
password: z.string().min(6).nullable().describe("The password of the resume, if any."),
data: resumeDataSchema.loose(),
userId: z.string().describe("The ID of the user who owns the resume."),
createdAt: z.date().describe("The date and time the resume was created."),
updatedAt: z.date().describe("The date and time the resume was last updated."),