Merge Common to Desktop
This commit is contained in:
parent
26915defe1
commit
e9c6e14965
40 changed files with 447 additions and 282 deletions
6
app/InkForge.Desktop/Properties/ApplicationSettings.cs
Normal file
6
app/InkForge.Desktop/Properties/ApplicationSettings.cs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
namespace InkForge.Desktop.Properties;
|
||||
|
||||
public class ApplicationSettings
|
||||
{
|
||||
public List<string> History { get; } = [];
|
||||
}
|
||||
8
app/InkForge.Desktop/Properties/ConfigContext.cs
Normal file
8
app/InkForge.Desktop/Properties/ConfigContext.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace InkForge.Desktop.Properties;
|
||||
|
||||
[JsonSerializable(typeof(ApplicationSettings))]
|
||||
[JsonSerializable(typeof(IDictionary<string, object>))]
|
||||
[JsonSourceGenerationOptions(GenerationMode = JsonSourceGenerationMode.Metadata)]
|
||||
public partial class ConfigContext : JsonSerializerContext;
|
||||
5
app/InkForge.Desktop/Properties/appsettings.json
Normal file
5
app/InkForge.Desktop/Properties/appsettings.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Data Source={WorkspaceFile}"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue