diff --git a/src/Tgstation.Server.Host/GraphQL/Types/GatewayInformation.cs b/src/Tgstation.Server.Host/GraphQL/Types/GatewayInformation.cs
index aefc2562bb..a4fc74bd1d 100644
--- a/src/Tgstation.Server.Host/GraphQL/Types/GatewayInformation.cs
+++ b/src/Tgstation.Server.Host/GraphQL/Types/GatewayInformation.cs
@@ -1,5 +1,6 @@
-using System;
+using System;
using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
using HotChocolate;
@@ -28,7 +29,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// The containing the .
/// A specifying the minimumn valid password length for TGS users.
[TgsGraphQLAuthorize(AdministrationRights.WriteUsers | AdministrationRights.EditOwnPassword)]
- public uint? MinimumPasswordLength(
+ public uint MinimumPasswordLength(
[Service] IOptionsSnapshot generalConfigurationOptions)
{
ArgumentNullException.ThrowIfNull(generalConfigurationOptions);
@@ -41,7 +42,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// The containing the .
/// A specifying the maximum allowed attached instances for the .
[TgsGraphQLAuthorize(InstanceManagerRights.Create)]
- public uint? InstanceLimit(
+ public uint InstanceLimit(
[Service] IOptionsSnapshot generalConfigurationOptions)
{
ArgumentNullException.ThrowIfNull(generalConfigurationOptions);
@@ -55,7 +56,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// A specifying the maximum allowed registered users for the .
/// This limit only applies to user creation attempts made via the current .
[TgsGraphQLAuthorize(AdministrationRights.WriteUsers)]
- public uint? UserLimit(
+ public uint UserLimit(
[Service] IOptionsSnapshot generalConfigurationOptions)
{
ArgumentNullException.ThrowIfNull(generalConfigurationOptions);
@@ -69,7 +70,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// A specifying the maximum allowed registered s for the .
/// This limit only applies to creation attempts made via the current .
[TgsGraphQLAuthorize(AdministrationRights.WriteUsers)]
- public uint? UserGroupLimit(
+ public uint UserGroupLimit(
[Service] IOptionsSnapshot generalConfigurationOptions)
{
ArgumentNullException.ThrowIfNull(generalConfigurationOptions);
@@ -95,7 +96,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// The to use.
/// if the runs on a Windows operating system, otherwise.
[TgsGraphQLAuthorize]
- public bool? WindowsHost(
+ public bool WindowsHost(
[Service] IPlatformIdentifier platformIdentifier)
{
ArgumentNullException.ThrowIfNull(platformIdentifier);
@@ -106,7 +107,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// Gets the swarm protocol .
///
[TgsGraphQLAuthorize]
- public Version? SwarmProtocolVersion => global::System.Version.Parse(MasterVersionsAttribute.Instance.RawSwarmProtocolVersion);
+ public Version SwarmProtocolVersion => global::System.Version.Parse(MasterVersionsAttribute.Instance.RawSwarmProtocolVersion);
///
/// Gets the of tgstation-server the is running.
@@ -114,7 +115,7 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// The to use.
/// The of tgstation-server the is running.
[TgsGraphQLAuthorize]
- public Version? Version(
+ public Version Version(
[Service] IAssemblyInformationProvider assemblyInformationProvider)
{
ArgumentNullException.ThrowIfNull(assemblyInformationProvider);
@@ -130,13 +131,13 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// Gets the HTTP API of the .
///
[TgsGraphQLAuthorize]
- public Version? ApiVersion => ApiHeaders.Version;
+ public Version ApiVersion => ApiHeaders.Version;
///
/// Gets the DMAPI interop the uses.
///
[TgsGraphQLAuthorize]
- public Version? DMApiVersion => DMApiConstants.InteropVersion;
+ public Version DMApiVersion => DMApiConstants.InteropVersion;
///
/// Gets the information needed to perform open authentication with the .