initial commit
This commit is contained in:
10
Lab505.Shared/LockStateDto.cs
Normal file
10
Lab505.Shared/LockStateDto.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Lab505.Shared;
|
||||
|
||||
public record LockStateDto(
|
||||
LockHolderDto? Workflow,
|
||||
IReadOnlyList<WaiterDto> WorkflowQueue,
|
||||
Dictionary<string, LockHolderDto?> Groups,
|
||||
Dictionary<string, IReadOnlyList<WaiterDto>> GroupQueues);
|
||||
|
||||
public record LockHolderDto(string UserId, string Name, long ExpiresMs, long RemainingMs);
|
||||
public record WaiterDto(string UserId, string Name, bool IsPriority);
|
||||
Reference in New Issue
Block a user