mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Plugins - Implemented features
Core - Removed Stylet dependency for #500
This commit is contained in:
1 parent
b56966c585
commit
e812929215
139 files changed
+1635
-1106
No files matched your search
@@ -10,7 +10,7 @@ namespace Artemis.Storage.Entities.Module
|
||||
}
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public Guid PluginGuid { get; set; }
|
||||
public string ModuleId { get; set; }
|
||||
public int PriorityCategory { get; set; }
|
||||
public int Priority { get; set; }
|
||||
}
|
||||
|
||||
@@ -8,16 +8,21 @@ namespace Artemis.Storage.Entities.Plugins
|
||||
/// </summary>
|
||||
public class PluginEntity
|
||||
{
|
||||
public PluginEntity()
|
||||
{
|
||||
Features = new List<PluginFeatureEntity>();
|
||||
}
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
public List<PluginImplementationEntity> Implementations { get; set; }
|
||||
public List<PluginFeatureEntity> Features { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents the configuration of a plugin implementation, each implementation has one configuration
|
||||
/// Represents the configuration of a plugin feature, each feature has one configuration
|
||||
/// </summary>
|
||||
public class PluginImplementationEntity
|
||||
public class PluginFeatureEntity
|
||||
{
|
||||
public string Type { get; set; }
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Artemis.Storage.Entities.Profile
|
||||
public class DataModelPathEntity
|
||||
{
|
||||
public string Path { get; set; }
|
||||
public Guid? DataModelGuid { get; set; }
|
||||
public string DataModelId { get; set; }
|
||||
|
||||
public PathWrapperType WrapperType { get; set; }
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Artemis.Storage.Entities.Profile
|
||||
public class LayerEffectEntity
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid PluginGuid { get; set; }
|
||||
public string ProviderId { get; set; }
|
||||
public string EffectType { get; set; }
|
||||
public string Name { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Artemis.Storage.Entities.Profile
|
||||
}
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public Guid PluginGuid { get; set; }
|
||||
public string ModuleId { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using Artemis.Storage.Entities.Profile.DataBindings;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
@@ -12,7 +11,7 @@ namespace Artemis.Storage.Entities.Profile
|
||||
DataBindingEntities = new List<DataBindingEntity>();
|
||||
}
|
||||
|
||||
public Guid PluginGuid { get; set; }
|
||||
public string FeatureId { get; set; }
|
||||
public string Path { get; set; }
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
Reference in new issue
Block a user