feat(profile): persist candidate edits and enforce company access

This commit is contained in:
TakuyaYagam1 committed 2026-10-07 14:15:16 +03:00
1 parent 3ab6bd91a3
commit 73c7caa225
67 files changed
+5286 -229

No files matched your search

@@ -0,0 +1,22 @@
/**
* Generated by orval 🍺
* Do not edit manually.
* Lincodex API
* OpenAPI spec version: 0.1.0
*/
import * as zod from 'zod';
export const profileExperienceOverlapFirstIndexMin = 0;
export const profileExperienceOverlapFirstIndexMax = 19;
export const profileExperienceOverlapSecondIndexMax = 19;
export const ProfileExperienceOverlap = zod.object({
"first_index": zod.int().min(profileExperienceOverlapFirstIndexMin).max(profileExperienceOverlapFirstIndexMax),
"second_index": zod.int().min(1).max(profileExperienceOverlapSecondIndexMax),
"status": zod.enum(['needs_confirmation', 'confirmed']).describe('Whether the candidate confirmed that two overlapping periods are genuine parallel work.')
}).describe('One pair of work history entries whose inclusive month ranges overlap. The indices refer to the experience array in this profile version. `confirmed` records an explicit acknowledgement for this pair of dates; otherwise the pair needs confirmation before a changed profile can be saved.')
export type ProfileExperienceOverlap = zod.input<typeof ProfileExperienceOverlap>;
export type ProfileExperienceOverlapOutput = zod.output<typeof ProfileExperienceOverlap>;