Move API specific IAuthorityInvokers out of Core namespace

This commit is contained in:
Jordan Dominion
2024-09-11 23:19:13 -04:00
parent d3168f9a2c
commit 27e668d5f7
8 changed files with 6 additions and 9 deletions
@@ -1,9 +1,10 @@
using System;
using System.Threading.Tasks;
using Tgstation.Server.Host.Authority.Core;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Authority.Core
namespace Tgstation.Server.Host.Authority
{
/// <summary>
/// Invokes <typeparamref name="TAuthority"/>s from GraphQL endpoints.
@@ -2,10 +2,12 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Tgstation.Server.Host.Authority.Core;
using Tgstation.Server.Host.Controllers;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Authority.Core
namespace Tgstation.Server.Host.Authority
{
/// <summary>
/// Invokes <typeparamref name="TAuthority"/> methods and generates <see cref="IActionResult"/> responses.
@@ -15,7 +15,6 @@ using Octokit;
using Tgstation.Server.Api;
using Tgstation.Server.Api.Models.Response;
using Tgstation.Server.Host.Authority;
using Tgstation.Server.Host.Authority.Core;
using Tgstation.Server.Host.Components.Interop;
using Tgstation.Server.Host.Configuration;
using Tgstation.Server.Host.Core;
@@ -15,7 +15,6 @@ using Tgstation.Server.Api.Models.Request;
using Tgstation.Server.Api.Models.Response;
using Tgstation.Server.Api.Rights;
using Tgstation.Server.Host.Authority;
using Tgstation.Server.Host.Authority.Core;
using Tgstation.Server.Host.Configuration;
using Tgstation.Server.Host.Controllers.Results;
using Tgstation.Server.Host.Database;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Threading;
using System.Threading.Tasks;
@@ -7,7 +7,6 @@ using HotChocolate.Types;
using Tgstation.Server.Api.Models.Response;
using Tgstation.Server.Host.Authority;
using Tgstation.Server.Host.Authority.Core;
namespace Tgstation.Server.Host.GraphQL
{
@@ -7,7 +7,6 @@ using HotChocolate;
using HotChocolate.Types.Relay;
using Tgstation.Server.Host.Authority;
using Tgstation.Server.Host.Authority.Core;
using Tgstation.Server.Host.GraphQL.Interfaces;
using Tgstation.Server.Host.Models.Transformers;
@@ -7,7 +7,6 @@ using HotChocolate;
using HotChocolate.Types.Relay;
using Tgstation.Server.Host.Authority;
using Tgstation.Server.Host.Authority.Core;
using Tgstation.Server.Host.GraphQL.Interfaces;
using Tgstation.Server.Host.Models.Transformers;
@@ -9,7 +9,6 @@ using HotChocolate.Types;
using HotChocolate.Types.Relay;
using Tgstation.Server.Host.Authority;
using Tgstation.Server.Host.Authority.Core;
using Tgstation.Server.Host.Models.Transformers;
using Tgstation.Server.Host.Security;