Skip to content

Commit

Permalink
Merge pull request #70 from SSchulze1989/develop
Browse files Browse the repository at this point in the history
v 0.9.2
  • Loading branch information
SSchulze1989 authored Sep 12, 2023
2 parents 7aa2874 + c44171e commit 70bffa8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/iRLeagueApiCore.Common/Enums/ProtestFormAccess.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace iRLeagueApiCore.Common.Enums;

[Flags]
public enum ProtestFormAccess
{
Public = 1,
Participants = 2,
LeagueMembers = 4,
Password = 8,
}
12 changes: 11 additions & 1 deletion src/iRLeagueApiCore.Common/Models/Leagues/PutLeagueModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ public class PutLeagueModel
/// </summary>
[DataMember]
public ProtestPublicSetting ProtestsPublic { get; set; }
/// <summary>
/// Set who can access the protest form and file protests
/// </summary>
[DataMember]
public ProtestFormAccess ProtestFormAccess { get; set; }
[DataMember]
public LeaguePublicSetting LeaguePublic { get; set; }
/// <summary>
/// Enable access to protest form and reviews while race is running and before results have been uploaded
/// </summary>
[DataMember]
public LeaguePublicSetting LeaguePublic { get; set; }
public bool EnableLiveReviews { get; set; }
}
2 changes: 1 addition & 1 deletion src/iRLeagueApiCore.Common/iRLeagueApiCore.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<OutputType>Library</OutputType>
<TargetFramework>net6.0</TargetFramework>
<PackageId>iRLeagueApiCore.Common</PackageId>
<Version>0.9.1</Version>
<Version>0.9.2</Version>
<Authors>Simon Schulze</Authors>
<Company>Simon Schulze</Company>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down

0 comments on commit 70bffa8

Please sign in to comment.