Reworked the queue items.
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
namespace Models.Model.Backend;
|
||||
|
||||
public enum DbType
|
||||
{
|
||||
Unfiltered,
|
||||
Filtered,
|
||||
}
|
||||
@@ -4,5 +4,4 @@ public enum Operations
|
||||
{
|
||||
Insert,
|
||||
Update,
|
||||
Optimize,
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
namespace Models.Model.Backend;
|
||||
|
||||
public class QueueItem
|
||||
{
|
||||
public Unfiltered Unfiltered { get; init; }
|
||||
public Filtered? Filtered { get; init; }
|
||||
public ScannerResumeObject? ResumeObject { get; init; }
|
||||
public Operations Operations { get; init; }
|
||||
public DbType DbType { get; init; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Models.Model.Backend;
|
||||
|
||||
public struct UnfilteredQueueItem
|
||||
{
|
||||
public Unfiltered Unfiltered { get; init; }
|
||||
public Operations Operations { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user