feat(cv): redesign document editing with revision-safe letters and writing tools
This commit is contained in:
@@ -17,6 +17,7 @@ public sealed class CoverLetterVersion
|
||||
|
||||
public int Version { get; set; }
|
||||
public string Text { get; set; } = string.Empty;
|
||||
public string? DocumentSettingsJson { get; set; }
|
||||
|
||||
// manual | ai | template | restore — how this text came to exist, so the history list can show
|
||||
// whether the user wrote it or approved it from a suggestion.
|
||||
@@ -35,6 +36,7 @@ public static class CoverLetterSources
|
||||
public const string Ai = "ai";
|
||||
public const string Template = "template";
|
||||
public const string Restore = "restore";
|
||||
public const string Legacy = "legacy";
|
||||
|
||||
public static bool IsValid(string? value) =>
|
||||
value is Manual or Ai or Template or Restore;
|
||||
|
||||
Reference in New Issue
Block a user