From 89b82530a5eb97cc308b2f5ebf9c36313b0b4303 Mon Sep 17 00:00:00 2001 From: Simon Schulze Date: Sun, 10 Sep 2023 21:21:28 +0200 Subject: [PATCH] Use champseason to define ResultKind instead of ResultConfiguration --- .../Models/Championships/PutChampSeasonModel.cs | 2 ++ .../Models/ResultConfigurations/PostResultConfigModel.cs | 2 -- src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iRLeagueApiCore.Common/Models/Championships/PutChampSeasonModel.cs b/src/iRLeagueApiCore.Common/Models/Championships/PutChampSeasonModel.cs index 15ec945..3831fbb 100644 --- a/src/iRLeagueApiCore.Common/Models/Championships/PutChampSeasonModel.cs +++ b/src/iRLeagueApiCore.Common/Models/Championships/PutChampSeasonModel.cs @@ -14,5 +14,7 @@ public class PutChampSeasonModel : PostChampSeasonModel [DataMember] public ResultConfigInfoModel? DefaultResultConfig { get; set; } [DataMember] + public ResultKind ResultKind { get; set; } + [DataMember] public ICollection Filters { get; set; } = new List(); } \ No newline at end of file diff --git a/src/iRLeagueApiCore.Common/Models/ResultConfigurations/PostResultConfigModel.cs b/src/iRLeagueApiCore.Common/Models/ResultConfigurations/PostResultConfigModel.cs index 81e84da..ec92f0f 100644 --- a/src/iRLeagueApiCore.Common/Models/ResultConfigurations/PostResultConfigModel.cs +++ b/src/iRLeagueApiCore.Common/Models/ResultConfigurations/PostResultConfigModel.cs @@ -8,8 +8,6 @@ public class PostResultConfigModel [DataMember] public string DisplayName { get; set; } = string.Empty; [DataMember] - public ResultKind ResultKind { get; set; } - [DataMember] public ResultConfigInfoModel? SourceResultConfig { get; set; } [DataMember] public int ResultsPerTeam { get; set; } diff --git a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj index eea1993..3fa6ae1 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.0 + 0.9.1-dev.1 Simon Schulze Simon Schulze enable