From f38a21f42eddd01efb76c0d4df4e57625bc1bba0 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Mon, 23 Sep 2024 21:26:51 -0400 Subject: [PATCH] Move to saner namespace --- src/Tgstation.Server.Host/GraphQL/Subscription.cs | 2 +- .../{Types => Subscriptions}/SessionInvalidationReason.cs | 2 +- .../Security/SessionInvalidationTracker.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/Tgstation.Server.Host/GraphQL/{Types => Subscriptions}/SessionInvalidationReason.cs (91%) diff --git a/src/Tgstation.Server.Host/GraphQL/Subscription.cs b/src/Tgstation.Server.Host/GraphQL/Subscription.cs index ba39c3d13b..d47d83a8d6 100644 --- a/src/Tgstation.Server.Host/GraphQL/Subscription.cs +++ b/src/Tgstation.Server.Host/GraphQL/Subscription.cs @@ -6,7 +6,7 @@ using HotChocolate.Execution; using HotChocolate.Subscriptions; using HotChocolate.Types; -using Tgstation.Server.Host.GraphQL.Types; +using Tgstation.Server.Host.GraphQL.Subscriptions; using Tgstation.Server.Host.Security; namespace Tgstation.Server.Host.GraphQL diff --git a/src/Tgstation.Server.Host/GraphQL/Types/SessionInvalidationReason.cs b/src/Tgstation.Server.Host/GraphQL/Subscriptions/SessionInvalidationReason.cs similarity index 91% rename from src/Tgstation.Server.Host/GraphQL/Types/SessionInvalidationReason.cs rename to src/Tgstation.Server.Host/GraphQL/Subscriptions/SessionInvalidationReason.cs index 1c0e7ebe4a..37e9867813 100644 --- a/src/Tgstation.Server.Host/GraphQL/Types/SessionInvalidationReason.cs +++ b/src/Tgstation.Server.Host/GraphQL/Subscriptions/SessionInvalidationReason.cs @@ -1,4 +1,4 @@ -namespace Tgstation.Server.Host.GraphQL.Types +namespace Tgstation.Server.Host.GraphQL.Subscriptions { /// /// Reasons TGS may invalidate a user's login session. diff --git a/src/Tgstation.Server.Host/Security/SessionInvalidationTracker.cs b/src/Tgstation.Server.Host/Security/SessionInvalidationTracker.cs index e25287210f..5f5157e361 100644 --- a/src/Tgstation.Server.Host/Security/SessionInvalidationTracker.cs +++ b/src/Tgstation.Server.Host/Security/SessionInvalidationTracker.cs @@ -10,7 +10,7 @@ using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Tgstation.Server.Host.GraphQL; -using Tgstation.Server.Host.GraphQL.Types; +using Tgstation.Server.Host.GraphQL.Subscriptions; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Utils;