22 lines
619 B
C#
22 lines
619 B
C#
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();
|
|
}
|