mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-07 04:09:40 +00:00
Added provider icons (#934)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
afdcc0455d
commit
e78a0e61b9
74 files changed
+1018
-74
No files matched your search
@@ -3,9 +3,14 @@ namespace AIStudio.Tools.PluginSystem;
|
||||
public interface IPluginMetadata
|
||||
{
|
||||
/// <summary>
|
||||
/// The icon of this plugin.
|
||||
/// The icon of this plugin, as a data URL ready for the src attribute of an image element.
|
||||
/// </summary>
|
||||
public string IconSVG { get; }
|
||||
/// <remarks>
|
||||
/// Deliberately a data URL and not the raw markup: the icon comes from the plugin, so it must
|
||||
/// never be rendered inline into the DOM. Inside an image element the browser treats it as a
|
||||
/// standalone document which runs no script and loads nothing from the network.
|
||||
/// </remarks>
|
||||
public string IconDataUrl { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The type of this plugin.
|
||||
|
||||
Reference in new issue
Block a user