fix(rd21): guard career and job saves with durable revisions
This commit is contained in:
@@ -79,7 +79,8 @@ namespace JobTrackerApi.Controllers
|
||||
string? TailoredCvText,
|
||||
WorkflowSignalDto WorkflowSignal,
|
||||
string? ShortSummary,
|
||||
string? FullSummary
|
||||
string? FullSummary,
|
||||
int Version = 1
|
||||
);
|
||||
|
||||
public sealed record CreateJobApplicationRequest(
|
||||
@@ -132,7 +133,8 @@ namespace JobTrackerApi.Controllers
|
||||
string? JobUrl,
|
||||
DateTime? DateApplied,
|
||||
DateTime? FeedbackRequestedAt,
|
||||
DateTime? StatusChangedAt
|
||||
DateTime? StatusChangedAt,
|
||||
int? ExpectedVersion = null
|
||||
);
|
||||
|
||||
public sealed record UpdateStatusRequest(string Status);
|
||||
@@ -189,7 +191,7 @@ namespace JobTrackerApi.Controllers
|
||||
CandidateFitChannelGuidanceDto Guidance,
|
||||
string? CoverLetterDraft,
|
||||
string? RecruiterMessageDraft);
|
||||
public sealed record SaveTailoredCvRequest(string? TailoredCvText);
|
||||
public sealed record SaveTailoredCvRequest(string? TailoredCvText, int? ExpectedVersion = null);
|
||||
public sealed record TailoredCvDraftDto(
|
||||
int? Id,
|
||||
int? CanonicalProfileVersion,
|
||||
@@ -206,7 +208,8 @@ namespace JobTrackerApi.Controllers
|
||||
DateTimeOffset? LastEditedAtUtc,
|
||||
string Status,
|
||||
string RenderedText,
|
||||
bool IsLegacyFallback);
|
||||
bool IsLegacyFallback,
|
||||
int Revision = 1);
|
||||
public sealed record SaveTailoredCvDraftRequest(
|
||||
string? TemplateId,
|
||||
string? Headline,
|
||||
@@ -216,13 +219,15 @@ namespace JobTrackerApi.Controllers
|
||||
List<TailoredCvEducationItem>? Education,
|
||||
List<TailoredCvCustomSection>? CustomSections,
|
||||
TailoredCvRenderOptions? RenderOptions,
|
||||
string? Status);
|
||||
string? Status,
|
||||
int? ExpectedVersion = null);
|
||||
public sealed record GenerateApplicationPackageDto(string TailoredCvText, string? CoverLetterDraft, string? ApplicationAnswerDraft, string? RecruiterMessageDraft, List<string> KeyPoints, List<string> AttachmentSignals, List<string> AttachmentFilesUsed, List<string> CoverLetterVariants, List<string> RecruiterMessageVariants);
|
||||
public sealed record SaveApplicationDraftsRequest(
|
||||
string? CoverLetterText,
|
||||
string? Notes,
|
||||
string? RecruiterMessageDraft,
|
||||
string? ApplicationAnswerDraft = null);
|
||||
string? ApplicationAnswerDraft = null,
|
||||
int? ExpectedVersion = null);
|
||||
public sealed record SavedPackageMaterial(string? TailoredCvText, string? CoverLetterText, string? RecruiterMessageDraft, string? Notes);
|
||||
public sealed record InterviewPrepDto(string Summary, List<string> TalkingPoints, List<string> LikelyQuestions, List<string> WeakSpots);
|
||||
public sealed record ReadinessDto(int Score, string Level, List<string> Completed, List<string> Missing, List<string> Reminders, WorkflowSignalDto WorkflowSignal);
|
||||
|
||||
Reference in New Issue
Block a user