mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Core - Refactored (unused) queued actions system
This commit is contained in:
1 parent
0ed367530f
commit
a6f52ce4a0
9 files changed
+134
-68
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Artemis.Storage.Entities.General
|
||||
{
|
||||
public class QueuedActionEntity
|
||||
{
|
||||
public QueuedActionEntity()
|
||||
{
|
||||
Parameters = new Dictionary<string, object>();
|
||||
}
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public string Type { get; set; }
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
|
||||
public Dictionary<string, object> Parameters { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -13,21 +13,4 @@ namespace Artemis.Storage.Entities.Plugins
|
||||
public string Name { get; set; }
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents a queued action for a plugin
|
||||
/// </summary>
|
||||
public abstract class PluginQueuedActionEntity
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid PluginGuid { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents a queued delete action for a plugin
|
||||
/// </summary>
|
||||
public class PluginQueuedDeleteEntity : PluginQueuedActionEntity
|
||||
{
|
||||
public string Directory { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user