mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-26 21:04:59 +00:00

* avoid invalid repository setting remains in preference.json * supports to restore tabs that not added to the Welcome page
14 lines
627 B
C#
14 lines
627 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace SourceGit
|
|
{
|
|
[JsonSourceGenerationOptions(WriteIndented = true, IgnoreReadOnlyFields = true, IgnoreReadOnlyProperties = true)]
|
|
[JsonSerializable(typeof(Models.Version))]
|
|
[JsonSerializable(typeof(Models.JetBrainsState))]
|
|
[JsonSerializable(typeof(List<Models.InteractiveRebaseJob>))]
|
|
[JsonSerializable(typeof(Dictionary<string, string>))]
|
|
[JsonSerializable(typeof(ViewModels.Preference))]
|
|
[JsonSerializable(typeof(ViewModels.RepositorySettings))]
|
|
internal partial class JsonCodeGen : JsonSerializerContext { }
|
|
}
|