Moved to System.Text.Json - Removed all Library dependencies - Implemented DeleteCommand

This commit is contained in:
2025-02-04 13:28:06 +03:30
parent d716133230
commit 83347587e4
10 changed files with 171 additions and 121 deletions
+15
View File
@@ -0,0 +1,15 @@
using System.Text.Json.Serialization;
using TBDel.Models;
// All this just because the binary size was 40MB for this little CLI tool
namespace TBDel.Services
{
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(DatabaseContent))]
[JsonSerializable(typeof(FileEntry))]
[JsonSerializable(typeof(FolderEntry))]
internal partial class JsonContext : JsonSerializerContext
{
}
}