=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -8,6 +8,7 @@ namespace adas_core.Domain.Models.Responses;
/// <remarks>
/// Implements <see cref="IEquatable{T}"/> to enable value-based equality comparison between <see cref="BeaconResponse"/> instances.
/// </remarks>
/// <!-- aidoc:v1 sig=47c826a -->
public class BeaconResponse(string color, ObjectId poc, ObjectId unitId) : IEquatable<BeaconResponse>
{
private string Color { get; } = color;
@@ -20,6 +21,7 @@ public class BeaconResponse(string color, ObjectId poc, ObjectId unitId) : IEqua
/// </summary>
/// <param name="other">The <see cref="BeaconResponse"/> to compare with the current instance.</param>
/// <returns><see langword="true"/> if both <c>PointOfCareId</c> and <c>UnitId</c> match; otherwise, <see langword="false"/>.</returns>
/// <!-- aidoc:v1 sig=dc8b593 body=afe9f08 -->
public bool Equals(BeaconResponse? other)
{
return PointOfCareId == other?.PointOfCareId && UnitId == other.UnitId;
@@ -29,6 +31,7 @@ public class BeaconResponse(string color, ObjectId poc, ObjectId unitId) : IEqua
/// Returns a string representation of the BeaconResponse, including the point of care identifier, unit (bed) identifier, and color.
/// </summary>
/// <returns>A formatted string describing the beacon's point of care, unit, and color.</returns>
/// <!-- aidoc:v1 sig=d27f326 body=c53ecf7 -->
public override string ToString()
{
return "BeaconResponse[pointOfCare: " + PointOfCareId + ", bed: " + UnitId + ", color: " + Color + "]";
@@ -5,6 +5,7 @@ namespace adas_core.Domain.Models.Responses;
/// <summary>
/// Represents a response containing a collection of observations related to a box.
/// </summary>
/// <!-- aidoc:v1 sig=75c632e -->
public class BoxObservationsResponse
{
public List<Medication> Medication = [];
@@ -10,6 +10,7 @@ namespace adas_core.Domain.Models.Responses;
/// <remarks>
/// This class is typically used to convey a lightweight subset of display configuration information in API responses or inter-component communication.
/// </remarks>
/// <!-- aidoc:v1 sig=7a9b7f7 -->
public class DisplayConfigMinimalResponse
{
/// <summary>
@@ -3,6 +3,7 @@
/// <summary>
/// Represents the response data returned from a login operation.
/// </summary>
/// <!-- aidoc:v1 sig=ac3742e -->
public class LoginResponse
{
public string Token { get; set; } = "";
@@ -14,6 +15,7 @@ public class LoginResponse
/// Returns <c>true</c> when the expiration date has passed, or when no expiration date has been set (i.e., <see cref="DateTime.MinValue"/>), treating unset expirations as expired.
/// </summary>
/// <returns><c>true</c> if the item is expired or has no expiration date set; otherwise, <c>false</c>.</returns>
/// <!-- aidoc:v1 sig=f667915 body=3966309 -->
public bool IsExpired()
{
if (Expiration != DateTime.MinValue)
@@ -4,6 +4,7 @@
/// Represents a generic response wrapper for paginated data, typically used to return a subset of items along with associated pagination metadata.
/// </summary>
/// <typeparam name="T">The type of the items contained in the paginated response.</typeparam>
/// <!-- aidoc:v1 sig=3c8b06d -->
public class PaginationResponse<T>
{
/// <summary>
@@ -4,6 +4,7 @@
/// Represents a generic response wrapper that encapsulates a payload of type <typeparamref name="T"/> along with associated response metadata.
/// </summary>
/// <typeparam name="T">The type of the payload contained within the response.</typeparam>
/// <!-- aidoc:v1 sig=1410d00 -->
public class Response<T>
{
/// <summary>