journal/Journal.Core/Dtos/SpeechDtos.cs
Jacob Schmidt 0d77300c22 feat: Project Journal backend monorepo
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>
2026-03-02 20:56:26 -06:00

38 lines
887 B
C#

namespace Journal.Core.Dtos;
public sealed record SpeechDeviceDto(
int Index,
string Name);
public sealed record SpeechDevicesResultDto(
IReadOnlyList<SpeechDeviceDto> Devices,
string? Warning = null);
public sealed record SpeechTranscribeRequestDto(
string? AudioBase64 = null,
string? Engine = null,
string? WhisperModel = null,
string? Text = null,
int? SimulateDelayMs = null);
public sealed record SpeechTranscribeResultDto(
string Text,
string Engine,
string? Warning = null);
public sealed record S2TStartResultDto(
bool Running,
string Status,
string? Warning = null);
public sealed record S2TStopResultDto(
bool Running,
string Status,
string? Warning = null);
public sealed record S2TPollResultDto(
IReadOnlyList<string> Items,
bool Running,
string Status,
string? Warning = null);