Flesh out graph structure some more

This commit is contained in:
Jordan Dominion
2024-11-02 08:52:14 -04:00
parent efd68c2b53
commit af370febca
2 changed files with 17 additions and 1 deletions
@@ -14,5 +14,12 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// <returns>Queryable <see cref="InstancePermissionSet"/>s.</returns>
public IQueryable<InstancePermissionSet> QueryableInstancePermissionSets()
=> throw new NotImplementedException();
/// <summary>
/// Gets the callers effective <see cref="InstancePermissionSet"/> on the <see cref="Instance"/>.
/// </summary>
/// <returns>The callers effective <see cref="InstancePermissionSet"/> if it exists or <see langword="null"/>.</returns>
public InstancePermissionSet? EffectivePermissionSet()
=> throw new NotImplementedException();
}
}
@@ -1,4 +1,6 @@
using Tgstation.Server.Api.Rights;
using System;
using Tgstation.Server.Api.Rights;
namespace Tgstation.Server.Host.GraphQL.Types
{
@@ -7,6 +9,13 @@ namespace Tgstation.Server.Host.GraphQL.Types
/// </summary>
public sealed class InstancePermissionSet
{
/// <summary>
/// Gets the <see cref="Types.PermissionSet"/> the <see cref="InstancePermissionSet"/> belongs to.
/// </summary>
/// <returns>The owning <see cref="Types.PermissionSet"/>.</returns>
public PermissionSet PermissionSet()
=> throw new NotImplementedException();
/// <summary>
/// The <see cref="Api.Rights.InstancePermissionSetRights"/> of the <see cref="InstancePermissionSet"/>.
/// </summary>