11 lines
471 B
C#
11 lines
471 B
C#
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);
|