diff --git a/src/iRLeagueApiCore.Common/Enums/SortOptions.cs b/src/iRLeagueApiCore.Common/Enums/SortOptions.cs index 69d8d18..d6c7754 100644 --- a/src/iRLeagueApiCore.Common/Enums/SortOptions.cs +++ b/src/iRLeagueApiCore.Common/Enums/SortOptions.cs @@ -36,4 +36,22 @@ public enum SortOptions TotalPtsWoBonusDesc, TotalPtsWoPenaltyAsc, TotalPtsWoPenaltyDesc, + LastRaceOrderAsc, + LastRaceOrderDesc, + WinsAsc, + WinsDesc, + Top3Asc, + Top3Desc, + Top5Asc, + Top5Desc, + Top10Asc, + Top10Desc, + RacesAsc, + RacesDesc, + RacesCountedAsc, + RacesCountedDesc, + RacesScoredAsc, + RacesScoredDesc, + RacesInPointsAsc, + RacesInPointsDesc, } diff --git a/src/iRLeagueApiCore.Common/Models/ResultConfigurations/StandingConfigModel.cs b/src/iRLeagueApiCore.Common/Models/ResultConfigurations/StandingConfigModel.cs index ba728aa..9742a04 100644 --- a/src/iRLeagueApiCore.Common/Models/ResultConfigurations/StandingConfigModel.cs +++ b/src/iRLeagueApiCore.Common/Models/ResultConfigurations/StandingConfigModel.cs @@ -13,4 +13,6 @@ public sealed class StandingConfigModel public bool UseCombinedResult { get; set; } [DataMember] public int WeeksCounted { get; set; } + [DataMember] + public ICollection SortOptions { get; set; } = new List(); } diff --git a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj index acb0aa7..d145c73 100644 --- a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj +++ b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj @@ -18,7 +18,7 @@ Library net6.0 iRLeagueApiCore.Common - 0.9.2 + 0.9.3 Simon Schulze Simon Schulze enable