Monorepo with centralized build props, npm workspaces, LlamaSharp AI, SQLite/SQLCipher storage, Svelte frontend, and unified smoke tests. Co-Authored-By: Oz <oz-agent@warp.dev>
22 lines
432 B
C#
22 lines
432 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Journal.Core.Dtos;
|
|
|
|
public record ListDocumentDto(
|
|
Guid Id,
|
|
string Label,
|
|
string Content,
|
|
DateTimeOffset CreatedAt,
|
|
DateTimeOffset UpdatedAt
|
|
);
|
|
|
|
public record CreateListDto(
|
|
[property: Required(AllowEmptyStrings = false)] string Label,
|
|
string? Content = null
|
|
);
|
|
|
|
public record UpdateListDto(
|
|
string? Label = null,
|
|
string? Content = null
|
|
);
|