refactor: make exporting consistent
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Disco.Models.Services.Devices.Exporting;
|
||||
using Disco.Models.Services.Devices;
|
||||
using Disco.Models.Services.Exporting;
|
||||
using Disco.Models.UI.Device;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Disco.Web.Models.Device
|
||||
@@ -9,8 +10,8 @@ namespace Disco.Web.Models.Device
|
||||
{
|
||||
public DeviceExportOptions Options { get; set; }
|
||||
|
||||
public string ExportSessionId { get; set; }
|
||||
public ExportResult ExportSessionResult { get; set; }
|
||||
public Guid? ExportId { get; set; }
|
||||
public ExportResult ExportResult { get; set; }
|
||||
|
||||
public IEnumerable<KeyValuePair<int, string>> DeviceBatches { get; set; }
|
||||
public IEnumerable<KeyValuePair<int, string>> DeviceModels { get; set; }
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
using Disco.Models.Repository;
|
||||
using Disco.Models.Services.Exporting;
|
||||
using Disco.Models.Services.Jobs.Exporting;
|
||||
using Disco.Models.Services.Jobs;
|
||||
using Disco.Models.UI.Job;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Disco.Web.Models.Job
|
||||
@@ -10,8 +11,8 @@ namespace Disco.Web.Models.Job
|
||||
{
|
||||
public JobExportOptions Options { get; set; }
|
||||
|
||||
public string ExportSessionId { get; set; }
|
||||
public ExportResult ExportSessionResult { get; set; }
|
||||
public Guid? ExportId { get; set; }
|
||||
public ExportResult ExportResult { get; set; }
|
||||
|
||||
public List<JobQueue> JobQueues { get; set; }
|
||||
public List<KeyValuePair<string, string>> JobStatuses { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user