sozsoft-platform/api/modules/Sozsoft.Mcp/Sozsoft.Mcp.Application.Contracts/IMcpDevelopAppService.cs

38 lines
1.3 KiB
C#
Raw Normal View History

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);
Task<List<McpComponentSummaryDto>> GetComponentsAsync(string? search);
Task<CustomComponentDto?> GetComponentAsync(string name);
Task<CustomComponentDto> SaveComponentAsync(McpComponentSaveRequestDto input);
Task DeleteComponentAsync(string name);
}