- introduce `LyricFlow.Core.Backend` with shared DTOs, rhyme/spellcheck engines, and REST endpoints - wire Python GUI/core to run and call the backend via new bridge/client modules - add backend parity/integration tests and update packaging/ignore settings
48 lines
1.9 KiB
C#
48 lines
1.9 KiB
C#
using System.Text.Json.Serialization;
|
|
using LyricFlow.Backend.Api;
|
|
using LyricFlow.Core.Dtos;
|
|
|
|
namespace LyricFlow.Backend.Api;
|
|
|
|
[JsonSourceGenerationOptions(PropertyNameCaseInsensitive = true)]
|
|
[JsonSerializable(typeof(AnalyzeRequest))]
|
|
[JsonSerializable(typeof(CandidateDto))]
|
|
[JsonSerializable(typeof(CapabilitiesDto))]
|
|
[JsonSerializable(typeof(CountDto))]
|
|
[JsonSerializable(typeof(FileCreateRequest))]
|
|
[JsonSerializable(typeof(FileDeleteRequest))]
|
|
[JsonSerializable(typeof(FileReadRequest))]
|
|
[JsonSerializable(typeof(FileReadResultDto))]
|
|
[JsonSerializable(typeof(FileRenameRequest))]
|
|
[JsonSerializable(typeof(FileWriteRequest))]
|
|
[JsonSerializable(typeof(FileWriteResultDto))]
|
|
[JsonSerializable(typeof(HealthDto))]
|
|
[JsonSerializable(typeof(KnownWordDto))]
|
|
[JsonSerializable(typeof(List<double>))]
|
|
[JsonSerializable(typeof(List<List<string>>))]
|
|
[JsonSerializable(typeof(List<RhymeGroupDto>))]
|
|
[JsonSerializable(typeof(List<SessionTabSnapshotDto>))]
|
|
[JsonSerializable(typeof(List<SnapshotDto>))]
|
|
[JsonSerializable(typeof(List<SpellingIssueDto>))]
|
|
[JsonSerializable(typeof(List<string>))]
|
|
[JsonSerializable(typeof(ProjectReadRequest))]
|
|
[JsonSerializable(typeof(ProjectStateDto))]
|
|
[JsonSerializable(typeof(ProjectWriteRequest))]
|
|
[JsonSerializable(typeof(RhymeGroupDto))]
|
|
[JsonSerializable(typeof(SaveScratchpadRequest))]
|
|
[JsonSerializable(typeof(SaveSnapshotRequest))]
|
|
[JsonSerializable(typeof(ScratchpadContentDto))]
|
|
[JsonSerializable(typeof(SessionClearRequest))]
|
|
[JsonSerializable(typeof(SessionLoadRequest))]
|
|
[JsonSerializable(typeof(SessionSaveRequest))]
|
|
[JsonSerializable(typeof(SessionTabSnapshotDto))]
|
|
[JsonSerializable(typeof(SnapshotDto))]
|
|
[JsonSerializable(typeof(SpellingIssueDto))]
|
|
[JsonSerializable(typeof(SuccessDto))]
|
|
[JsonSerializable(typeof(SuggestionResponseDto))]
|
|
[JsonSerializable(typeof(SynonymResponseDto))]
|
|
[JsonSerializable(typeof(AppCorePreferencesDto))]
|
|
internal partial class ApiJsonSerializerContext : JsonSerializerContext
|
|
{
|
|
}
|