mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 15:06:29 +00:00
failsafe load dlls
add user config queue offsets throttle improvements
This commit is contained in:
@@ -1,11 +1,21 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace Azaion.CommonSecurity.DTO;
|
||||
|
||||
[MessagePackObject]
|
||||
public class User
|
||||
{
|
||||
[Key("i")] public string Id { get; set; } = "";
|
||||
[Key("e")] public string Email { get; set; } = "";
|
||||
[Key("r")]public RoleEnum Role { get; set; }
|
||||
public string Id { get; set; } = "";
|
||||
public string Email { get; set; } = "";
|
||||
public RoleEnum Role { get; set; }
|
||||
public UserConfig? UserConfig { get; set; } = null!;
|
||||
}
|
||||
|
||||
public class UserConfig
|
||||
{
|
||||
public UserQueueOffsets? QueueConfig { get; set; } = new();
|
||||
}
|
||||
|
||||
public class UserQueueOffsets
|
||||
{
|
||||
public int AnnotationsOffset { get; set; }
|
||||
public int AnnotationsConfirmOffset { get; set; }
|
||||
public int AnnotationsCommandsOffset { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user