feature: document handlers

This commit is contained in:
Gary Sharp
2022-12-03 14:32:05 +11:00
parent 96cccab958
commit 13e666d95a
26 changed files with 1027 additions and 120 deletions
@@ -0,0 +1,23 @@
using System.Collections.Generic;
namespace Disco.Web.Areas.API.Models.DocumentTemplate
{
public class DocumentHandlersModel
{
public string TemplateId { get; set; }
public string TemplateName { get; set; }
public string TargetId { get; set; }
public string TargetName { get; set; }
public List<DocumentHandlerModel> Handlers { get; set; }
}
public class DocumentHandlerModel
{
public string Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string UiUrl { get; set; }
public string Icon { get; set; }
}
}