Adding creation of data into data handler, marking the way for szdb handling

This commit is contained in:
2026-01-28 21:46:28 -06:00
parent 507e6348f6
commit 97c8128176
9 changed files with 436 additions and 25 deletions

View File

@@ -1,6 +1,15 @@
using SzCore.DataObjects;
namespace SzCore;
public interface ISzDatabaseHandler
{
public bool InternetAllowed { get; set; }
public Dictionary<string, string> SzDbUrls { get; set; }
public Task<SzDataset?> TryRetrieveDatasetAsync(Guid uuid);
public Task<ISzTemplate?> TryRetrieveTemplateAsync(Guid uuid);
public SzDataset? TryRetrieveDataset(Guid uuid);
public ISzTemplate? TryRetrieveTemplate(Guid uuid);
}