Skip to content

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.

861 B
Raw Blame
// Shared Prisma `include` for a full resume with relations, as consumed by
// preprocessResume/convertResumeToText. Extracted so both the session-scoped
// getResumeById (profile.actions.ts) and the userId-scoped
// getDefaultResumeForUser (MCP path) stay in sync. profile.actions.ts has
// "use server" at the top, which only allows async-function exports, so this
// object can't live there directly.
export const resumeDetailInclude = {
  ContactInfo: true,
  File: true,
  ResumeSections: {
    include: {
      summary: true,
      workExperiences: {
        include: {
          jobTitle: true,
          Company: true,
          location: true,
        },
      },
      educations: {
        include: {
          location: true,
        },
      },
      licenseOrCertifications: true,
      skills: { include: { Tag: true } },
    },
  },
} as const;