mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 21:59:48 +00:00
64 lines
1.5 KiB
C#
64 lines
1.5 KiB
C#
namespace AIStudio.Tools.PluginSystem;
|
|
|
|
public interface IPluginMetadata
|
|
{
|
|
/// <summary>
|
|
/// The type of this plugin.
|
|
/// </summary>
|
|
public PluginType Type { get; }
|
|
|
|
/// <summary>
|
|
/// The ID of this plugin.
|
|
/// </summary>
|
|
public Guid Id { get; }
|
|
|
|
/// <summary>
|
|
/// The name of this plugin.
|
|
/// </summary>
|
|
public string Name { get; }
|
|
|
|
/// <summary>
|
|
/// The description of this plugin.
|
|
/// </summary>
|
|
public string Description { get; }
|
|
|
|
/// <summary>
|
|
/// The version of this plugin.
|
|
/// </summary>
|
|
public PluginVersion Version { get; }
|
|
|
|
/// <summary>
|
|
/// The authors of this plugin.
|
|
/// </summary>
|
|
public string[] Authors { get; }
|
|
|
|
/// <summary>
|
|
/// The support contact for this plugin.
|
|
/// </summary>
|
|
public string SupportContact { get; }
|
|
|
|
/// <summary>
|
|
/// The source URL of this plugin.
|
|
/// </summary>
|
|
public string SourceURL { get; }
|
|
|
|
/// <summary>
|
|
/// The categories of this plugin.
|
|
/// </summary>
|
|
public PluginCategory[] Categories { get; }
|
|
|
|
/// <summary>
|
|
/// The target groups of this plugin.
|
|
/// </summary>
|
|
public PluginTargetGroup[] TargetGroups { get; }
|
|
|
|
/// <summary>
|
|
/// True, when the plugin is maintained.
|
|
/// </summary>
|
|
public bool IsMaintained { get; }
|
|
|
|
/// <summary>
|
|
/// The message that should be displayed when the plugin is deprecated.
|
|
/// </summary>
|
|
public string? DeprecationMessage { get; }
|
|
} |