Import from internal git

This commit is contained in:
2025-10-11 13:08:09 +02:00
commit 97aaa715dc
175 changed files with 7014 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
using Core.Events;
namespace Core.Interfaces;
public interface IController
{
public DisplayEmitter Emitter { get; set; }
}

View File

@@ -0,0 +1,7 @@
namespace Core.Interfaces;
public interface IDataSourceLoader
{
public void LoadAppsettings();
}

View File

@@ -0,0 +1,6 @@
namespace Core.Interfaces;
public interface IExporter
{
public void Export();
}

View File

@@ -0,0 +1,14 @@
using Core.Settings;
namespace Core.Interfaces;
public interface IGeneratorDirector<T> where T : ISpecFile
{
public Task DotnetServer(T file, DotnetConfig config);
public Task DotnetClient(T file, DotnetConfig config);
public Task Java(T file, JavaConfig config);
public Task Javascript(T file, JavascriptConfig config);
}

View File

@@ -0,0 +1,12 @@
using Core.Dto;
using Core.SpecConfig;
namespace Core.Interfaces;
public interface IRepositoryRequest
{
public Task<List<PackageDataDto>> GetVersions(Language language, string packageName);
public Task<bool> DeleteVersion(string id);
}

14
Core/Interfaces/IView.cs Normal file
View File

@@ -0,0 +1,14 @@
namespace Core.Interfaces;
public interface IView
{
void Exception(string message);
void Warning(string message);
void Info(string message);
void Success(string message);
void Progress(int percentage);
}