mirror of https://github.com/abpframework/abp.git
14 changed files with 263 additions and 12 deletions
@ -0,0 +1,9 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
|
||||
|
namespace Volo.Docs.Documents |
||||
|
{ |
||||
|
public class DocumentPartialTemplatesDto |
||||
|
{ |
||||
|
public List<DocumentTemplateDto> Templates { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,15 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
|
||||
|
namespace Volo.Docs.Documents |
||||
|
{ |
||||
|
public class DocumentTemplateDto |
||||
|
{ |
||||
|
public string Name { get; set; } |
||||
|
|
||||
|
public string Path { get; set; } |
||||
|
|
||||
|
public List<string> SelfParameters { get; set; } |
||||
|
|
||||
|
public List<string> ParentParameters { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,19 @@ |
|||||
|
using System; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Volo.Docs.Language; |
||||
|
using Volo.Docs.Projects; |
||||
|
|
||||
|
namespace Volo.Docs.Documents |
||||
|
{ |
||||
|
public class GetDocumentPartialTemplatesInput |
||||
|
{ |
||||
|
public Guid ProjectId { get; set; } |
||||
|
|
||||
|
[StringLength(ProjectConsts.MaxVersionNameLength)] |
||||
|
public string Version { get; set; } |
||||
|
|
||||
|
[Required] |
||||
|
[StringLength(LanguageConsts.MaxLanguageCodeLength)] |
||||
|
public string LanguageCode { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
|
||||
|
namespace Volo.Docs.HtmlConverting |
||||
|
{ |
||||
|
public class PartialTemplateDto |
||||
|
{ |
||||
|
public string Name { get; set; } |
||||
|
|
||||
|
public Dictionary<string, string> Parameters { get; set; } |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue