feat(core): add shared DTOs, MqttTopics constants, DatabaseBootstrapper, and ManagedMqttClient extensions
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using FinlyticCore.Models.Trades;
|
||||
|
||||
namespace FinlyticCore.Models.Auth;
|
||||
|
||||
/// <summary>
|
||||
/// Strongly typed SignalR client interface for real-time WebSocket/SSE streaming.
|
||||
/// </summary>
|
||||
public interface ITradeClient
|
||||
{
|
||||
Task OnTradeProposed(TradeProposalDto proposal);
|
||||
Task OnTradeUpdated(TradeHourlyUpdateDto update);
|
||||
Task OnTradeClosed(string tradeId, decimal exitPrice, string reason);
|
||||
Task OnNewsReceived(object newsItem);
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
namespace FinlyticCore.Models.Auth;
|
||||
|
||||
/// <summary>
|
||||
/// DTO representing a request for self-registration by a new user.
|
||||
/// </summary>
|
||||
public class RegisterRequestDto
|
||||
{
|
||||
/// <summary>
|
||||
/// User email address.
|
||||
/// </summary>
|
||||
public string Email { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// User plain-text password.
|
||||
/// </summary>
|
||||
public string Password { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// User full name.
|
||||
/// </summary>
|
||||
public string FullName { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user