feature: saved exports view/edit/trigger

This commit is contained in:
Gary Sharp
2025-02-12 18:36:30 +11:00
parent 59dc0b9d5a
commit eec8ba438c
40 changed files with 3042 additions and 1187 deletions
@@ -0,0 +1,6 @@
namespace Disco.Models.UI.Config.Export
{
public interface ConfigExportCreateModel : ConfigExportEditModel
{
}
}
@@ -3,13 +3,14 @@ using System.Collections.Generic;
namespace Disco.Models.UI.Config.Export
{
public interface ConfigExportCreateModel : BaseUIModel
public interface ConfigExportEditModel : BaseUIModel
{
string ExportTypeName { get; set; }
Guid Id { get; set; }
string Name { get; set; }
string Description { get; set; }
bool IsEnabled { get; set; }
string FilePath { get; set; }
bool TimestampSuffix { get; set; }
@@ -0,0 +1,12 @@
using Disco.Models.Services.Exporting;
using System.Collections.Generic;
namespace Disco.Models.UI.Config.Export
{
public interface ConfigExportIndexModel : BaseUIModel
{
List<SavedExport> SavedExports { get; set; }
Dictionary<string, string> ExportTypeNames { get; set; }
Dictionary<string, Repository.User> CreatedUsers { get; set; }
}
}
@@ -0,0 +1,6 @@
namespace Disco.Models.UI.Config.Export
{
public interface ConfigExportShowModel : ConfigExportEditModel
{
}
}