journal/Journal.Core/Dtos/JournalEntryDtos.cs

13 lines
355 B
C#

namespace Journal.Core.Dtos;
public sealed record ParsedSectionDto(
string Title,
IReadOnlyList<string> Content,
IReadOnlyDictionary<string, bool> Checkboxes);
public sealed record JournalEntryDto(
string Date,
IReadOnlyList<FragmentDto> Fragments,
string RawContent,
IReadOnlyDictionary<string, ParsedSectionDto> Sections);