-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Checkpoint for Legend Onboarding implementation
- Loading branch information
Showing
8 changed files
with
103 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
SengokuProvider.Library/Models/Legends/LegendQueryResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace SengokuProvider.Library.Models.Legends | ||
{ | ||
public class LegendQueryResult | ||
{ | ||
|
||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
SengokuProvider.Library/Models/Players/StandingsQueryResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace SengokuProvider.Library.Models.Players | ||
{ | ||
public class StandingsQueryResult | ||
{ | ||
public required int PlayerID { get; set; } | ||
public required List<StandingsResult> StandingData { get; set; } | ||
} | ||
|
||
public class StandingsResult | ||
{ | ||
public required int EntrantID { get; set; } | ||
public required int TournamentLink { get; set; } | ||
public required int Placement { get; set; } | ||
public required int EntrantsNum { get; set; } | ||
public required bool IsActive { get; set; } | ||
} | ||
} |
5 changes: 4 additions & 1 deletion
5
SengokuProvider.Library/Services/Legends/ILegendIntakeService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
namespace SengokuProvider.Library.Services.Legends | ||
using SengokuProvider.Library.Models.Legends; | ||
|
||
namespace SengokuProvider.Library.Services.Legends | ||
{ | ||
public interface ILegendIntakeService | ||
{ | ||
public Task<LegendData?> GenerateNewLegends(int playerId); | ||
} | ||
} |
4 changes: 3 additions & 1 deletion
4
SengokuProvider.Library/Services/Legends/ILegendQueryService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
using SengokuProvider.Library.Models.Legends; | ||
using SengokuProvider.Library.Models.Players; | ||
|
||
namespace SengokuProvider.Library.Services.Legends | ||
{ | ||
public interface ILegendQueryService | ||
{ | ||
public Task<LegendData> GetLegendsByPlayerLink(GetLegendsByPlayerLinkCommand getLegendsByPlayerLinkCommand); | ||
public Task<LegendData?> GetLegendsByPlayerLink(GetLegendsByPlayerLinkCommand getLegendsByPlayerLinkCommand); | ||
public Task<StandingsQueryResult?> QueryStandingsByPlayerId(int playerId); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters