2026-09-18 13:47:23 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Sozsoft.Mcp.Dtos;
|
|
|
|
|
using Sozsoft.Platform.DeveloperKit;
|
|
|
|
|
using Sozsoft.Platform.ListForms;
|
|
|
|
|
using Volo.Abp.Application.Services;
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Mcp;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MCP gelistirme yuzeyi: tablo, ekran (wizard) ve custom component uretimi. Her islem uygulamadaki
|
|
|
|
|
/// Wizard ve Custom Components servislerinden gecer; MCP yalnizca kapidir, ekranin
|
|
|
|
|
/// kendi yetkilerini, seed dosyasi yazimini ve bagimlilik kurallarini atlamaz.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IMcpDevelopAppService : IApplicationService
|
|
|
|
|
{
|
|
|
|
|
Task<McpDevGuideDto> GetDevGuideAsync(string? document, string? section);
|
|
|
|
|
|
|
|
|
|
Task<McpCreateTableResultDto> CreateTableAsync(McpCreateTableRequestDto input);
|
|
|
|
|
|
|
|
|
|
Task<List<WizardFileInfoDto>> GetWizardsAsync(string? search);
|
|
|
|
|
|
|
|
|
|
Task<McpWizardFileDto> GetWizardAsync(string fileName);
|
|
|
|
|
|
|
|
|
|
/// <summary>Deploy edilen wizard'in ozeti.</summary>
|
|
|
|
|
Task<WizardFileInfoDto?> DeployWizardAsync(McpWizardDeployRequestDto input);
|
|
|
|
|
|
|
|
|
|
Task<WizardDeleteResultDto> DeleteWizardAsync(string fileName);
|
|
|
|
|
|
2026-09-24 11:58:23 +00:00
|
|
|
/// <summary>Deploy edilmis ekrani veri yazmadan dogrular.</summary>
|
|
|
|
|
Task<McpVerifyResultDto> VerifyWizardAsync(string fileName);
|
|
|
|
|
|
|
|
|
|
/// <summary>Id ya da basliga gore bulunan talebi, yalnizca Ready to Start durumundaysa In Progress'e alir.</summary>
|
|
|
|
|
Task<McpDevRequestDto> StartDevRequestAsync(string request);
|
|
|
|
|
|
|
|
|
|
/// <summary>Talebi durumuna dokunmadan okur; yarim kalan bir talebe donmek icindir.</summary>
|
|
|
|
|
Task<McpDevRequestDto> GetDevRequestAsync(string request);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Aciklamanin sonuna HTML ekler. Aciklama gomulu gorsel tasidigi icin satir guncellemesiyle
|
|
|
|
|
/// yeniden yazilamaz; ekleme sunucuda yapilir.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task AppendDevRequestNoteAsync(string request, string html);
|
|
|
|
|
|
2026-09-18 13:47:23 +00:00
|
|
|
Task<List<McpComponentSummaryDto>> GetComponentsAsync(string? search);
|
|
|
|
|
|
|
|
|
|
Task<CustomComponentDto?> GetComponentAsync(string name);
|
|
|
|
|
|
|
|
|
|
Task<CustomComponentDto> SaveComponentAsync(McpComponentSaveRequestDto input);
|
|
|
|
|
|
|
|
|
|
Task DeleteComponentAsync(string name);
|
|
|
|
|
}
|