Publisher heatmap

This commit is contained in:
2025-10-12 15:32:49 +08:00
parent 32977d9580
commit 1ded811b36
3 changed files with 69 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
using NodaTime;
namespace DysonNetwork.Shared.Models;
public class ActivityHeatmap
{
public string Unit { get; set; } = "posts";
public Instant PeriodStart { get; set; }
public Instant PeriodEnd { get; set; }
public List<ActivityHeatmapItem> Items { get; set; } = new();
}
public class ActivityHeatmapItem
{
public Instant Date { get; set; }
public int Count { get; set; }
}