Skip to content

Commit c22a5d0

Browse files
committed
Merge branch 'homolog-0.1.3-alpha'
2 parents db8c70c + c049033 commit c22a5d0

13 files changed

Lines changed: 118 additions & 57 deletions

File tree

MapperAI.sln.DotSettings.user

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
22
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AHttpClient_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003F_002E_002E_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FSourcesCache_003Fc439425da351c75ac7d966a1cc8324b51a9c471865af79d2f2f3fcb65e392_003FHttpClient_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
3+
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003APdfDocument_002Ecs_002Fl_003AC_0021_003FUsers_003FDri_003FAppData_003FRoaming_003FJetBrains_003FRider2025_002E1_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fcbf868f2490746fbab2087b4b2ac8198ff600_003F67_003Ff809c9c7_003FPdfDocument_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
34
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=5ca51f47_002De3fa_002D40db_002D8e16_002D940aee47c197/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" Name="Test_Should_Create_4_Files_With_CSharp_Extension" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;&#xD;
45
&lt;TestAncestor&gt;&#xD;
56
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.FileMapperTests.Test_Should_Create_4_Files_With_CSharp_Extension&lt;/TestId&gt;&#xD;
67
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.ClassMapperTests.Test1&lt;/TestId&gt;&#xD;
78
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.PdfMapperTests.Test1&lt;/TestId&gt;&#xD;
89
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.FileMapperTests.Test_Should_Create_4_Files_With_Go_Extension&lt;/TestId&gt;&#xD;
10+
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.PdfMapperTests.TestWeb&lt;/TestId&gt;&#xD;
911
&lt;/TestAncestor&gt;&#xD;
1012
&lt;/SessionState&gt;</s:String>
11-
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=ee3fe810_002Dfb62_002D402b_002Db9c5_002D8dab803c815e/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" IsActive="True" Name="Test1" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;&#xD;
13+
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=7b48511d_002D7b52_002D4ba3_002D89c2_002D2edf68a1cfe5/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" IsActive="True" Name="TestWeb2" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;&#xD;
14+
&lt;TestAncestor&gt;&#xD;
15+
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.PdfMapperIntegrationTests&lt;/TestId&gt;&#xD;
16+
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.DI.DependencyInjectionTests.AddMapperAI_ShouldRegisterServices&lt;/TestId&gt;&#xD;
17+
&lt;/TestAncestor&gt;&#xD;
18+
&lt;/SessionState&gt;</s:String>
19+
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=ee3fe810_002Dfb62_002D402b_002Db9c5_002D8dab803c815e/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" Name="Test1" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;&#xD;
1220
&lt;TestAncestor&gt;&#xD;
1321
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.ClassMapperTests.Test1&lt;/TestId&gt;&#xD;
1422
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.FileMapperTests.Test1&lt;/TestId&gt;&#xD;
@@ -18,5 +26,7 @@
1826
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.FileMapperTests.Test_Should_Create_4_Files_With_CSharp_Extension&lt;/TestId&gt;&#xD;
1927
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.DI.DependencyInjectionTests.AddMapperAI_ShouldRegisterServices&lt;/TestId&gt;&#xD;
2028
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.FileMapperTests&lt;/TestId&gt;&#xD;
29+
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.PdfMapperTests.TestWeb&lt;/TestId&gt;&#xD;
30+
&lt;TestId&gt;xUnit::8B3E109D-96CA-4B6D-B379-6AF70646DC25::net8.0::MapperAI.Test.PdfMapperTests.TestWeb2&lt;/TestId&gt;&#xD;
2131
&lt;/TestAncestor&gt;&#xD;
2232
&lt;/SessionState&gt;</s:String></wpf:ResourceDictionary>

src/MapperAI.Core/Clients/GeminiMapperClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
namespace MapperAI.Core.Clients;
88

9-
public class GeminiMapperClient : MapperClientBase, IMapperClient
9+
internal class GeminiMapperClient : MapperClientBase, IMapperClient
1010
{
1111
private const string EndpointBase = "https://generativelanguage.googleapis.com/v1beta";
1212

1313

14-
public GeminiMapperClient(MapperClientConfiguration mapperClientConfiguration, IMapperSerializer serializer, HttpClient httpClient) : base(mapperClientConfiguration, serializer, httpClient)
14+
internal GeminiMapperClient(MapperClientConfiguration mapperClientConfiguration, IMapperSerializer serializer, HttpClient httpClient) : base(mapperClientConfiguration, serializer, httpClient)
1515
{
1616
}
1717

src/MapperAI.Core/Clients/MapperClientBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace MapperAI.Core.Clients;
88

9-
public abstract class MapperClientBase
9+
internal abstract class MapperClientBase
1010
{
1111
protected MapperClientConfiguration MapperClientConfiguration;
1212
private readonly HttpClient _httpClient;

src/MapperAI.Core/Clients/OllamaMapperClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
namespace MapperAI.Core.Clients;
99

10-
public class OllamaMapperClient : MapperClientBase ,IMapperClient
10+
internal class OllamaMapperClient : MapperClientBase ,IMapperClient
1111
{
1212
private const string Endpoint = "http://localhost:11434/api/generate";
1313

1414

15-
public OllamaMapperClient(MapperClientConfiguration mapperClientConfiguration, IMapperSerializer serializer, HttpClient httpClient) : base(mapperClientConfiguration, serializer, httpClient)
15+
internal OllamaMapperClient(MapperClientConfiguration mapperClientConfiguration, IMapperSerializer serializer, HttpClient httpClient) : base(mapperClientConfiguration, serializer, httpClient)
1616
{
1717
}
1818

src/MapperAI.Core/Enums/MapperType.cs

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/MapperAI.Core/Extensions/Enums/EnumExtension.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace MapperAI.Core.Extensions.Enums;
55

6-
public static class EnumExtension
6+
internal static class EnumExtension
77
{
8-
public static string GetEnumDescriptionValue(this Enum data)
8+
internal static string GetEnumDescriptionValue(this Enum data)
99
{
1010
FieldInfo? field = data.GetType().GetField(data.ToString());
1111
var attribute = field?.GetCustomAttribute<DescriptionAttribute>();

src/MapperAI.Core/Extensions/Initializers/InitializerExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace MapperAI.Core.Extensions.Initializers;
44

5-
public static class InitializerExtension
5+
internal static class InitializerExtension
66
{
77
public static void Initialize(this object obj)
88
{

src/MapperAI.Core/MapperAI.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Title>MapperAI-Alpha</Title>
88
<Authors>Dridev</Authors>
99
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
10-
<Version>0.1.2-alpha</Version>
10+
<Version>0.1.3-alpha</Version>
1111
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1212
<RepositoryUrl>https://github.com/01Dri/MapperAI</RepositoryUrl>
1313
<RootNamespace>MapperAI.Core</RootNamespace>

src/MapperAI.Core/Mappers/Interfaces/IPDFMapper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
public interface IPDFMapper
44
{
5-
Task<T?> MapAsync<T>(string pdfPath, CancellationToken cancellationToken = default)
5+
Task<T?> MapAsync<T>(string pdfPath, CancellationToken cancellationToken = default)
66
where T : class, new();
77

8+
89
}

src/MapperAI.Core/Mappers/Models/MapperClassContent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
namespace MapperAI.Core.Mappers.Models;
33

4-
public class MapperClassContent
4+
internal class MapperClassContent
55
{
66
public string Name { get; set; }
77
public string Content { get; set; }

0 commit comments

Comments
 (0)