diff --git a/src/integrations/orpc/dto/resume.ts b/src/integrations/orpc/dto/resume.ts index 4f8bedbca..f666f755f 100644 --- a/src/integrations/orpc/dto/resume.ts +++ b/src/integrations/orpc/dto/resume.ts @@ -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."),