[chore:] initial article store implementation for Settings.cs

This commit is contained in:
2026-01-13 18:30:12 +01:00
parent 3877d91af4
commit e750b4c757

View File

@@ -10,6 +10,7 @@ public class Settings
public static Settings _instance = new(); public static Settings _instance = new();
public AddressSets addressSets = new(); public AddressSets addressSets = new();
public Customers customers = new(); public Customers customers = new();
public ArticleStore articles = new ArticleStore();
public string settingsPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), public string settingsPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
"logofclient", "config.json"); "logofclient", "config.json");
@@ -62,6 +63,7 @@ public class Global
} }
public string config_path { get; set; } = ""; public string config_path { get; set; } = "";
public string wiki_storage_path { get; set; } = "";
public List<Country> countries { get; set; } = new(); public List<Country> countries { get; set; } = new();
public static void Save() public static void Save()
@@ -181,4 +183,10 @@ public class Country
return null; return null;
} }
}
public class ArticleStore
{
// Placeholder for article metadata; actual content is stored as markdown files
public List<string> articles { get; set; } = new List<string>();
} }