From 0964dc7fd659f6dccc091effd79667941f66eacc Mon Sep 17 00:00:00 2001 From: Simon Schulze Date: Thu, 17 Aug 2023 12:16:53 +0200 Subject: [PATCH 1/2] Add team filter type and iracing team id --- src/iRLeagueApiCore.Common/Enums/FilterType.cs | 1 + src/iRLeagueApiCore.Common/Models/Teams/PostTeamModel.cs | 2 ++ src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/iRLeagueApiCore.Common/Enums/FilterType.cs b/src/iRLeagueApiCore.Common/Enums/FilterType.cs index 051587f..0347533 100644 --- a/src/iRLeagueApiCore.Common/Enums/FilterType.cs +++ b/src/iRLeagueApiCore.Common/Enums/FilterType.cs @@ -4,4 +4,5 @@ public enum FilterType { ColumnProperty, Member, + Team, } diff --git a/src/iRLeagueApiCore.Common/Models/Teams/PostTeamModel.cs b/src/iRLeagueApiCore.Common/Models/Teams/PostTeamModel.cs index cefe2b7..cf99419 100644 --- a/src/iRLeagueApiCore.Common/Models/Teams/PostTeamModel.cs +++ b/src/iRLeagueApiCore.Common/Models/Teams/PostTeamModel.cs @@ -12,5 +12,7 @@ public class PostTeamModel [DataMember] public string TeamHomepage { get; set; } = string.Empty; [DataMember] + public long? IRacingTeamId { get; set; } + [DataMember] public ICollection Members { get; set; } = new List(); } diff --git a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj index 8625e9d..631e163 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.8.0 + 0.8.1-dev.1 Simon Schulze Simon Schulze enable From 52aa839177a597b55c436a162b21290a65f78f43 Mon Sep 17 00:00:00 2001 From: Simon Schulze Date: Thu, 17 Aug 2023 12:22:18 +0200 Subject: [PATCH 2/2] bump version to 0.8.1 --- src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj b/src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj index 631e163..e448a20 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.8.1-dev.1 + 0.8.1 Simon Schulze Simon Schulze enable