This commit is contained in:
Jose Conde
2025-09-29 16:02:00 +02:00
parent dc57da8136
commit 5e16f781b4
74 changed files with 1621 additions and 1856 deletions

View File

@@ -0,0 +1,33 @@
using LiteDB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace ModVersionChecker.model
{
public class Config
{
public string Id { get; set; } = string.Empty;
[JsonPropertyName("intervalMinutes")]
public int IntervalMinutes { get; set; } = 60;
[JsonPropertyName("checkOnStartup")]
public bool CheckOnStartup { get; set; } = true;
[JsonPropertyName("runOnStartup")]
public bool RunOnStartup { get; set; } = false;
[JsonPropertyName("types")]
public List<TypeConfig> Types { get; set; } = new List<TypeConfig>();
[JsonPropertyName("accessToekn")]
public string AccessToken { get; set; } = string.Empty;
[JsonPropertyName("refreshToken")]
public string RefreshToken { get; set; } = string.Empty;
}
}