* add jwt expiry * bump api version * start rework permissions * ok so in theory this compiles * update api * update api * update api * update api once more * oh apiii I hate submodules * blabla * we only live to suffer * stop reading my commit messages * nothing to see here move along * update nuget * some rework --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
10 lines
264 B
C#
10 lines
264 B
C#
using MessagePack;
|
|
|
|
namespace MareSynchronos.API.Data;
|
|
|
|
[MessagePackObject(keyAsPropertyName: true)]
|
|
public record GroupData(string GID, string? Alias = null)
|
|
{
|
|
[IgnoreMember]
|
|
public string AliasOrGID => string.IsNullOrWhiteSpace(Alias) ? GID : Alias;
|
|
} |