noz-cli/NozCli.Core/Models/NoteInfo.cs
kryptomrx b76896dc7a refactor(core): Native AOT - JSON source generators, AOT-safe models and API client
- Add NozJsonContext / NozJsonContextPretty source generator contexts
- Replace all reflection-based JSON with source-generated overloads
- Add NotesCacheFile record for persistent note cache
- Add date field to NoteInfo, CancellationToken to all API methods
- LocalConfig uses source-generated serialization (compact + indented)
2026-05-16 23:20:21 +02:00

18 lines
300 B
C#

namespace NozCli.Core.Models;
public record NoteInfo(
string Slug,
string Title,
string Status,
string Topic,
string Lang,
bool Private,
string? Hash,
string? Date = null
);
public record NoteContent(
string Slug,
string Markdown,
string Hash
);