AuthorBuddy/Models/ExportPluginContext.cs

23 lines
619 B
C#
Raw Permalink Normal View History

2026-08-30 08:11:01 +02:00
namespace AuthorBuddy.Web.Models;
public class ExportPluginContext
{
public string Title { get; set; } = string.Empty;
public string Content { get; set; } = string.Empty;
public string? Tags { get; set; }
public string? Status { get; set; } = "draft";
public Dictionary<string, string> Extra { get; set; } = new();
}
public class PluginResult
{
public bool Success { get; set; }
public string Message { get; set; } = string.Empty;
}
public class PluginConfig
{
public string PluginId { get; set; } = string.Empty;
public Dictionary<string, string> Values { get; set; } = new();
}