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; /// /// 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. /// public interface IMcpDevelopAppService : IApplicationService { Task GetDevGuideAsync(string? document, string? section); Task CreateTableAsync(McpCreateTableRequestDto input); Task> GetWizardsAsync(string? search); Task GetWizardAsync(string fileName); /// Deploy edilen wizard'in ozeti. Task DeployWizardAsync(McpWizardDeployRequestDto input); /// Wizard'i siler; acikken ekranin secilebilir tablosunu da dusurur. Task DeleteWizardAsync(string fileName, bool dropTables); /// Deploy edilmis ekrani veri yazmadan dogrular. Task VerifyWizardAsync(string fileName); /// Id ya da basliga gore bulunan talebi, yalnizca Ready to Start durumundaysa In Progress'e alir. Task StartDevRequestAsync(string request); /// Talebi durumuna dokunmadan okur; yarim kalan bir talebe donmek icindir. Task GetDevRequestAsync(string request); /// /// Aciklamanin sonuna HTML ekler. Aciklama gomulu gorsel tasidigi icin satir guncellemesiyle /// yeniden yazilamaz; ekleme sunucuda yapilir. /// Task AppendDevRequestNoteAsync(string request, string html); /// /// Talebin SubTasks listesine tamamlanmis satirlar ekler; atanan kisi cagiran kullanici, /// bitis tarihi bugundur. /// Task AddDevRequestSubTasksAsync(string request, List titles); Task> GetComponentsAsync(string? search); Task GetComponentAsync(string name); Task SaveComponentAsync(McpComponentSaveRequestDto input); Task DeleteComponentAsync(string name); }