Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
import { z } from "zod";
import { APP_CONSTANTS } from "@/lib/constants";
const SkillCategorySchema = z.object({
label: z.string().trim().max(60).optional(),
tagIds: z
.array(z.string())
.min(1, "Add at least one skill")
.max(APP_CONSTANTS.MAX_SKILLS_PER_CATEGORY),
});
export const AddSkillsFormSchema = z.object({
resumeId: z.string(),
sectionTitle: z.string().trim().min(1, "Section title is required"),
categories: z
.array(SkillCategorySchema)
.min(1, "Add at least one category")
.max(APP_CONSTANTS.MAX_SKILL_CATEGORIES),
});
export const UpdateSkillsFormSchema = AddSkillsFormSchema.extend({
sectionId: z.string(),
});
export type AddSkillsForm = z.infer<typeof AddSkillsFormSchema>;
export type UpdateSkillsForm = z.infer<typeof UpdateSkillsFormSchema>;