feature: saved exports

initial - not feature complete
This commit is contained in:
Gary Sharp committed 2025-02-09 17:14:04 +11:00
1 parent 2fce645066
commit ac24055365
35 files changed
+2244 -156

No files matched your search

@@ -0,0 +1,18 @@
using Disco.Models.Exporting;
using Disco.Models.Services.Exporting;
using Disco.Services.Exporting;
namespace Disco.Services.Plugins.Features.ExportProvider
{
[PluginFeatureCategory(DisplayName = "Exporter")]
public class ExportProviderFeature : PluginFeature
{
public void RegisterExportType<T, E, R>()
where T : IExport<E, R>, new()
where E : IExportOptions, new()
where R : IExportRecord
{
SavedExports.RegisterExportType<T, E, R>();
}
}
}