- Fragment model with validation, DTOs (immutable records), repository, service - Sidecar stdin/stdout JSON protocol for Tauri integration - DI wiring via ServiceCollectionExtensions - Scaffolded Journal.Api (not yet wired) Co-Authored-By: Warp <agent@warp.dev>
13 lines
284 B
C#
13 lines
284 B
C#
using System.Text.Json;
|
|
|
|
namespace Journal.Core.Models;
|
|
|
|
public class Command
|
|
{
|
|
public string Action { get; set; } = "";
|
|
public string? Id { get; set; }
|
|
public string? Type { get; set; }
|
|
public string? Tag { get; set; }
|
|
public JsonElement? Payload { get; set; }
|
|
}
|