Code/SboxSuperuser/Api/AdminCatalogItem.cs

A data class for one entry in a server-resolved module catalog, holding an ID, display title, icon and blocked flag. The ID is what gets sent to actions.

namespace SboxSuperuser;

/// <summary>One server-resolved resource in a module catalog. The ID, not the display title, is passed to actions.</summary>
public sealed class AdminCatalogItem
{
	public string Id { get; set; } = "";
	public string Title { get; set; } = "";
	public string Icon { get; set; } = "";
	public bool Blocked { get; set; }
}