mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-12 22:14:54 +10:00
@@ -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."),
|
||||
|
||||
Reference in New Issue
Block a user