mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 05:31:29 +00:00
Major refactor and reorganization of types (#652)
* Start of reorganization and cleanup * Remove duplicate title id * Refactor types * Fix Release building * Move classes in /Types to a Types namespace * Fix compilation error (RoomVisualizerPage strikes again) * Fix bugs created from auto merge * Fix auto-merge compilation error * Changes from review/fix failed merge
This commit is contained in:
parent
c8120b3388
commit
f1c5ad4002
316 changed files with 1623 additions and 1518 deletions
|
@ -0,0 +1,20 @@
|
|||
#nullable enable
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse.Servers.Website.Types;
|
||||
|
||||
public struct AdminPanelStatistic
|
||||
{
|
||||
public AdminPanelStatistic(string statisticNamePlural, int count, string? viewAllEndpoint = null, int? secondStatistic = null)
|
||||
{
|
||||
this.StatisticNamePlural = statisticNamePlural;
|
||||
this.Count = count;
|
||||
this.SecondStatistic = secondStatistic;
|
||||
this.ViewAllEndpoint = viewAllEndpoint;
|
||||
}
|
||||
|
||||
public readonly string StatisticNamePlural;
|
||||
public readonly int Count;
|
||||
public readonly int? SecondStatistic;
|
||||
|
||||
public readonly string? ViewAllEndpoint;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue