using CollabDAL.DTO.CollabConfig;
using CollabDAL.DTO.CollabParticipant;
namespace CollabDAL.DTO.CollabSession;
///
/// Everything the Angular client needs after successfully joining a session.
/// Returned by JoinSession and JoinViaToken endpoints.
///
public class CollabJoinResponseDTO
{
public CollabSessionDTO Session { get; set; } = new();
public string YourRole { get; set; } = string.Empty;
public bool YouHaveControl { get; set; }
public string YourCursorColor { get; set; } = string.Empty;
public List Participants { get; set; } = [];
public CollabConfigClientDTO Config { get; set; } = new();
}