feat(core): add shared DTOs, MqttTopics constants, DatabaseBootstrapper, and ManagedMqttClient extensions

This commit is contained in:
2026-08-24 21:35:24 +02:00
parent 6ab84fe1de
commit 44b161d509
39 changed files with 2545 additions and 709 deletions
@@ -1,3 +1,4 @@
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace FinlyticCore.Dtos.Sentiment;
@@ -55,6 +56,18 @@ public record SectorCurrentSummary
[JsonPropertyName("sentimentLabel")]
public string SentimentLabel { get; init; } = "NEUTRAL";
/// <summary>
/// Gets or sets the total number of articles analyzed for this sector.
/// </summary>
[JsonPropertyName("totalArticlesAnalyzed")]
public int TotalArticlesAnalyzed { get; init; }
/// <summary>
/// Gets or sets the total number of distinct companies in this sector.
/// </summary>
[JsonPropertyName("totalCompanies")]
public int TotalCompanies { get; init; }
/// <summary>
/// Gets or sets the list of active asset ISINs influencing the sector.
/// </summary>
@@ -69,7 +82,7 @@ public record SectorCurrentSummary
}
/// <summary>
/// Data transfer object for a Sector sentiment summary file (stored in data/summaries/sectors/SectorName.json).
/// Data transfer object for a Sector sentiment summary file.
/// </summary>
public record SectorSentimentSummaryDto
{