Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Commit

Permalink
Removed PersonaPage type and PersonaPage fetcher.
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Janssen committed Jun 12, 2023
1 parent c8e3a9c commit 39d1d09
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 96 deletions.
1 change: 0 additions & 1 deletion Epsilon.Abstractions/Component/CompetenceProfile.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using Epsilon.Abstractions.Model;
using Epsilon.Canvas.Abstractions.Model;

namespace Epsilon.Abstractions.Component;

Expand Down
3 changes: 1 addition & 2 deletions Epsilon.Abstractions/Component/Page.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

namespace Epsilon.Abstractions.Component;

[CompetenceComponentName("persona_page")]
public record Page(string Html) : ICompetenceWordComponent
public record Page(string Html) : IWordCompetenceComponent
{
public void AddToWordDocument(MainDocumentPart mainDocumentPart)
{
Expand Down
24 changes: 0 additions & 24 deletions Epsilon.Abstractions/Component/PersonaPage.cs

This file was deleted.

1 change: 0 additions & 1 deletion Epsilon.Abstractions/Service/IFilterService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Epsilon.Abstractions.Component;
using Epsilon.Canvas.Abstractions.Model;

namespace Epsilon.Abstractions.Service;
Expand Down
2 changes: 1 addition & 1 deletion Epsilon.Host.WebApi/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
builder.Services.AddScoped<ICompetenceComponentService, CompetenceComponentService>(static (services) => new CompetenceComponentService(
new Dictionary<string, ICompetenceComponentFetcher>
{
{ "persona_page", services.GetRequiredService<ICompetenceComponentFetcher<PersonaPage>>() },
{ "persona_page", services.GetRequiredService<ICompetenceComponentFetcher<Page>>() },
{ "competence_profile", services.GetRequiredService<ICompetenceComponentFetcher<CompetenceProfile>>() },
{ "kpi_matrix", services.GetRequiredService<ICompetenceComponentFetcher<KpiMatrixCollection>>() },
}
Expand Down
66 changes: 0 additions & 66 deletions Epsilon/Component/PersonaPageComponentFetcher.cs

This file was deleted.

1 change: 0 additions & 1 deletion Epsilon/Service/FilterService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using DocumentFormat.OpenXml;
using Epsilon.Abstractions.Service;
using Epsilon.Canvas.Abstractions.Model;
using Epsilon.Canvas.Abstractions.Model.GraphQl;
Expand Down

0 comments on commit 39d1d09

Please sign in to comment.